2024-09-26 11:30:21 +08:00
|
|
|
{
|
2024-09-29 20:57:24 +08:00
|
|
|
"name": "newsnow",
|
2024-09-26 11:30:21 +08:00
|
|
|
"type": "module",
|
2024-11-22 02:01:20 +08:00
|
|
|
"version": "0.0.18",
|
2024-09-26 11:30:21 +08:00
|
|
|
"private": true,
|
2024-10-11 20:50:09 +08:00
|
|
|
"packageManager": "pnpm@9.12.1",
|
2024-10-11 01:45:42 +08:00
|
|
|
"author": {
|
|
|
|
"url": "https://github.com/ourongxing/",
|
|
|
|
"email": "orongxing@gmail.com",
|
2024-10-19 16:34:58 +08:00
|
|
|
"name": "ourongxing"
|
2024-10-11 01:45:42 +08:00
|
|
|
},
|
|
|
|
"homepage": "https://github.com/ourongxing/newsnow",
|
2024-09-26 11:30:21 +08:00
|
|
|
"scripts": {
|
|
|
|
"dev": "vite dev",
|
2024-10-21 01:41:32 +08:00
|
|
|
"build": "vite build",
|
2024-10-08 21:11:06 +08:00
|
|
|
"lint": "eslint",
|
2024-10-28 21:28:13 +08:00
|
|
|
"source": "tsx ./scripts/favicon.ts && tsx ./scripts/pinyin.ts",
|
2024-10-24 02:17:47 +08:00
|
|
|
"start": "node --env-file .env.server dist/output/server/index.mjs",
|
2024-10-03 23:11:10 +08:00
|
|
|
"preview": "CF_PAGES=1 pnpm run build && wrangler pages dev",
|
|
|
|
"deploy": "CF_PAGES=1 pnpm run build && wrangler pages deploy",
|
2024-10-20 20:29:08 +08:00
|
|
|
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.app.json",
|
2024-10-08 21:11:06 +08:00
|
|
|
"release": "bumpp",
|
|
|
|
"prepare": "simple-git-hooks",
|
2024-10-14 17:18:57 +08:00
|
|
|
"log": "wrangler pages deployment tail --project-name newsnow",
|
2024-10-09 02:54:11 +08:00
|
|
|
"test": "vitest -c vitest.config.ts"
|
2024-09-26 11:30:21 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-11-10 22:36:27 +08:00
|
|
|
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
|
|
|
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.4.0",
|
|
|
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
|
2024-11-10 23:26:02 +08:00
|
|
|
"@formkit/auto-animate": "^0.8.2",
|
2024-10-19 13:15:48 +08:00
|
|
|
"@iconify-json/si": "^1.2.1",
|
2024-10-11 20:50:09 +08:00
|
|
|
"@tanstack/react-query-devtools": "^5.59.9",
|
|
|
|
"@tanstack/react-router": "^1.64.0",
|
|
|
|
"@unocss/reset": "^0.63.4",
|
2024-11-10 22:36:27 +08:00
|
|
|
"ahooks": "^3.8.1",
|
2024-10-17 04:33:52 +08:00
|
|
|
"better-sqlite3": "^11.3.0",
|
2024-10-03 13:16:14 +08:00
|
|
|
"cheerio": "^1.0.0",
|
2024-09-29 20:57:24 +08:00
|
|
|
"clsx": "^2.1.1",
|
2024-10-28 21:28:13 +08:00
|
|
|
"cmdk": "^1.0.0",
|
2024-10-05 23:56:10 +08:00
|
|
|
"consola": "^3.2.3",
|
2024-10-14 17:18:57 +08:00
|
|
|
"cookie-es": "^1.2.2",
|
2024-10-09 15:29:39 +08:00
|
|
|
"dayjs": "1.11.13",
|
2024-10-17 04:33:52 +08:00
|
|
|
"db0": "^0.2.1",
|
2024-10-10 21:32:13 +08:00
|
|
|
"defu": "^6.1.4",
|
2024-10-03 13:16:14 +08:00
|
|
|
"fast-xml-parser": "^4.5.0",
|
2024-10-11 20:50:09 +08:00
|
|
|
"framer-motion": "^11.11.8",
|
2024-10-09 02:54:11 +08:00
|
|
|
"h3": "^1.13.0",
|
2024-10-03 13:16:14 +08:00
|
|
|
"iconv-lite": "^0.6.3",
|
2024-10-14 01:20:43 +08:00
|
|
|
"jose": "^5.9.4",
|
2024-09-26 11:30:21 +08:00
|
|
|
"jotai": "^2.10.0",
|
2024-10-09 02:54:11 +08:00
|
|
|
"md5": "^2.3.0",
|
2024-10-11 20:50:09 +08:00
|
|
|
"ofetch": "^1.4.1",
|
2024-10-02 11:01:02 +08:00
|
|
|
"overlayscrollbars": "^2.10.0",
|
2024-09-26 11:30:21 +08:00
|
|
|
"react": "^18.3.1",
|
|
|
|
"react-dom": "^18.3.1",
|
2024-10-15 12:05:03 +08:00
|
|
|
"react-use": "^17.5.1",
|
2024-10-21 01:38:58 +08:00
|
|
|
"uncrypto": "^0.1.3",
|
2024-10-15 12:05:03 +08:00
|
|
|
"zod": "^3.23.8"
|
2024-09-26 11:30:21 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-10-11 20:50:09 +08:00
|
|
|
"@eslint-react/eslint-plugin": "^1.14.3",
|
|
|
|
"@iconify-json/ph": "^1.2.1",
|
2024-10-28 21:28:13 +08:00
|
|
|
"@napi-rs/pinyin": "^1.7.5",
|
2024-10-15 17:57:22 +08:00
|
|
|
"@ourongxing/eslint-config": "3.2.3-beta.6",
|
2024-09-26 19:16:42 +08:00
|
|
|
"@ourongxing/tsconfig": "^0.0.4",
|
2024-10-25 03:06:03 +08:00
|
|
|
"@rollup/pluginutils": "^5.1.3",
|
2024-10-11 20:50:09 +08:00
|
|
|
"@tanstack/react-query": "^5.59.9",
|
|
|
|
"@tanstack/router-devtools": "^1.64.0",
|
|
|
|
"@tanstack/router-plugin": "^1.64.0",
|
2024-10-09 02:54:11 +08:00
|
|
|
"@types/md5": "^2.3.5",
|
2024-10-11 20:50:09 +08:00
|
|
|
"@types/react": "^18.3.11",
|
2024-09-26 11:30:21 +08:00
|
|
|
"@types/react-dom": "^18.3.0",
|
2024-10-12 21:31:33 +08:00
|
|
|
"@unocss/rule-utils": "^0.63.4",
|
2024-10-11 20:50:09 +08:00
|
|
|
"@vitejs/plugin-react-swc": "^3.7.1",
|
|
|
|
"bumpp": "^9.7.1",
|
2024-10-14 00:02:58 +08:00
|
|
|
"dotenv": "^16.4.5",
|
2024-10-11 20:50:09 +08:00
|
|
|
"eslint": "^9.12.0",
|
|
|
|
"eslint-plugin-react-hooks": "^5.1.0-rc-77f43893-20241010",
|
2024-09-26 11:30:21 +08:00
|
|
|
"eslint-plugin-react-refresh": "^0.4.12",
|
2024-10-25 03:06:03 +08:00
|
|
|
"fast-glob": "^3.3.2",
|
2024-10-11 18:47:27 +08:00
|
|
|
"favicons-scraper": "^1.3.2",
|
2024-10-08 21:11:06 +08:00
|
|
|
"lint-staged": "^15.2.10",
|
2024-10-09 02:54:11 +08:00
|
|
|
"mlly": "^1.7.2",
|
2024-10-09 15:29:39 +08:00
|
|
|
"mockdate": "^3.0.5",
|
2024-10-24 18:13:30 +08:00
|
|
|
"pnpm-patch-i": "^0.4.1",
|
2024-10-25 03:06:03 +08:00
|
|
|
"rollup": "^4.24.0",
|
2024-10-08 21:11:06 +08:00
|
|
|
"simple-git-hooks": "^2.11.1",
|
2024-10-01 00:08:07 +08:00
|
|
|
"tsx": "^4.19.1",
|
2024-10-11 20:50:09 +08:00
|
|
|
"typescript": "^5.6.3",
|
|
|
|
"typescript-eslint": "^8.8.1",
|
2024-10-31 01:12:44 +08:00
|
|
|
"unimport": "^3.13.1",
|
2024-10-11 20:50:09 +08:00
|
|
|
"unocss": "^0.63.4",
|
2024-09-26 11:30:21 +08:00
|
|
|
"vite": "^5.4.8",
|
2024-10-20 01:30:10 +08:00
|
|
|
"vite-plugin-pwa": "^0.20.5",
|
2024-10-20 01:58:14 +08:00
|
|
|
"vite-plugin-with-nitro": "0.0.3",
|
2024-10-11 20:50:09 +08:00
|
|
|
"vitest": "^2.1.2",
|
2024-10-20 01:30:10 +08:00
|
|
|
"workbox-window": "^7.1.0",
|
2024-10-11 20:50:09 +08:00
|
|
|
"wrangler": "^3.80.3"
|
2024-10-03 23:11:10 +08:00
|
|
|
},
|
2024-10-09 15:29:39 +08:00
|
|
|
"pnpm": {
|
|
|
|
"patchedDependencies": {
|
|
|
|
"dayjs": "patches/dayjs.patch"
|
|
|
|
}
|
|
|
|
},
|
2024-10-08 21:11:06 +08:00
|
|
|
"resolutions": {
|
2024-10-09 15:29:39 +08:00
|
|
|
"dayjs": "1.11.13",
|
2024-10-17 04:33:52 +08:00
|
|
|
"picomatch": "^4.0.0"
|
2024-10-08 21:11:06 +08:00
|
|
|
},
|
|
|
|
"simple-git-hooks": {
|
|
|
|
"pre-commit": "npx lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*": "eslint --fix"
|
2024-09-26 11:30:21 +08:00
|
|
|
}
|
|
|
|
}
|