newsnow/package.json
2025-01-19 18:46:43 +08:00

124 lines
3.7 KiB
JSON

{
"name": "newsnow",
"type": "module",
"version": "0.0.21",
"private": true,
"packageManager": "pnpm@9.15.4",
"author": {
"url": "https://github.com/ourongxing/",
"email": "orongxing@gmail.com",
"name": "ourongxing"
},
"homepage": "https://github.com/ourongxing/newsnow",
"scripts": {
"dev": "npm run presource && vite dev",
"build": "npm run presource && vite build",
"lint": "eslint",
"presource": "tsx ./scripts/favicon.ts && tsx ./scripts/source.ts",
"start": "node --env-file .env.server dist/output/server/index.mjs",
"preview": "cross-env CF_PAGES=1 npm run build && wrangler pages dev dist/output/public",
"deploy": "cross-env CF_PAGES=1 npm run build && wrangler pages deploy dist/output/public",
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.app.json",
"release": "bumpp",
"prepare": "simple-git-hooks",
"log": "wrangler pages deployment tail --project-name newsnow",
"test": "vitest -c vitest.config.ts"
},
"dependencies": {
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
"@formkit/auto-animate": "^0.8.2",
"@iconify-json/si": "^1.2.3",
"@tanstack/react-query-devtools": "^5.64.1",
"@tanstack/react-router": "^1.97.3",
"@unocss/reset": "^65.4.2",
"ahooks": "^3.8.4",
"better-sqlite3": "^11.8.1",
"cheerio": "^1.0.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.4",
"consola": "^3.4.0",
"cookie-es": "^1.2.2",
"dayjs": "1.11.13",
"db0": "^0.2.1",
"defu": "^6.1.4",
"fast-xml-parser": "^4.5.1",
"framer-motion": "^11.18.1",
"h3": "^1.13.1",
"iconv-lite": "^0.6.3",
"jose": "^5.9.6",
"jotai": "^2.11.0",
"md5": "^2.3.0",
"ofetch": "^1.4.1",
"overlayscrollbars": "^2.10.1",
"pnpm": "^9.15.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-use": "^17.6.0",
"uncrypto": "^0.1.3",
"zod": "^3.24.1"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^1.23.2",
"@iconify-json/ph": "^1.2.2",
"@napi-rs/pinyin": "^1.7.5",
"@ourongxing/eslint-config": "3.2.3-beta.6",
"@ourongxing/tsconfig": "^0.0.4",
"@rollup/pluginutils": "^5.1.4",
"@tanstack/react-query": "^5.64.1",
"@tanstack/router-devtools": "^1.97.3",
"@tanstack/router-plugin": "^1.97.3",
"@types/md5": "^2.3.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@unocss/rule-utils": "^65.4.2",
"@vitejs/plugin-react-swc": "^3.7.2",
"bumpp": "^9.10.1",
"cross-env": "^7.0.3",
"dotenv": "^16.4.7",
"eslint": "^9.18.0",
"eslint-plugin-react-hooks": "^5.1.0-rc-ca587425-20241211",
"eslint-plugin-react-refresh": "^0.4.18",
"fast-glob": "^3.3.3",
"favicons-scraper": "^1.3.2",
"lint-staged": "^15.4.1",
"mlly": "^1.7.4",
"mockdate": "^3.0.5",
"pnpm-patch-i": "^0.4.1",
"rollup": "^4.30.1",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1",
"unimport": "^3.14.6",
"unocss": "^65.4.2",
"vite": "^5.4.8",
"vite-plugin-pwa": "^0.21.1",
"vite-plugin-with-nitro": "0.0.3",
"vitest": "^3.0.2",
"workbox-build": "^7.3.0",
"workbox-window": "^7.3.0",
"wrangler": "^3.103.2"
},
"pnpm": {
"patchedDependencies": {
"dayjs": "patches/dayjs.patch"
}
},
"resolutions": {
"cross-spawn": ">=7.0.6",
"dayjs": "1.11.13",
"picomatch": "^4.0.2"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
},
"volta": {
"node": "22.12.0"
}
}