newsnow/package.json
2024-10-15 12:05:03 +08:00

112 lines
3.2 KiB
JSON

{
"name": "newsnow",
"type": "module",
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@9.12.1",
"author": {
"url": "https://github.com/ourongxing/",
"email": "orongxing@gmail.com",
"name": "Ou"
},
"homepage": "https://github.com/ourongxing/newsnow",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"lint": "eslint",
"favicon": "tsx ./scripts/favicon.ts",
"start": "PORT=4444 node --env-file .env.server dist/output/server/index.mjs",
"preview": "CF_PAGES=1 pnpm run build && wrangler pages dev",
"deploy": "CF_PAGES=1 pnpm run build && wrangler pages deploy",
"release": "bumpp",
"prepare": "simple-git-hooks",
"log": "wrangler pages deployment tail --project-name newsnow",
"test": "vitest -c vitest.config.ts"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@oslojs/jwt": "^0.2.0",
"@tanstack/react-query-devtools": "^5.59.9",
"@tanstack/react-router": "^1.64.0",
"@tsndr/cloudflare-worker-jwt": "^3.1.2",
"@unocss/reset": "^0.63.4",
"cheerio": "^1.0.0",
"clsx": "^2.1.1",
"consola": "^3.2.3",
"cookie-es": "^1.2.2",
"dayjs": "1.11.13",
"db0": "npm:@ourongxing/db0@0.1.6",
"defu": "^6.1.4",
"fast-xml-parser": "^4.5.0",
"framer-motion": "^11.11.8",
"h3": "^1.13.0",
"iconv-lite": "^0.6.3",
"jose": "^5.9.4",
"jotai": "^2.10.0",
"jsonwebtoken": "^9.0.2",
"libsql": "^0.4.6",
"md5": "^2.3.0",
"ofetch": "^1.4.1",
"overlayscrollbars": "^2.10.0",
"overlayscrollbars-react": "^0.5.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-use": "^17.5.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^1.14.3",
"@iconify-json/ph": "^1.2.1",
"@ourongxing/eslint-config": "3.2.3-beta.4",
"@ourongxing/tsconfig": "^0.0.4",
"@tanstack/react-query": "^5.59.9",
"@tanstack/router-devtools": "^1.64.0",
"@tanstack/router-plugin": "^1.64.0",
"@types/jsonwebtoken": "^9.0.7",
"@types/md5": "^2.3.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@unocss/rule-utils": "^0.63.4",
"@vitejs/plugin-react-swc": "^3.7.1",
"bumpp": "^9.7.1",
"dotenv": "^16.4.5",
"eslint": "^9.12.0",
"eslint-plugin-react-hooks": "^5.1.0-rc-77f43893-20241010",
"eslint-plugin-react-refresh": "^0.4.12",
"favicons-scraper": "^1.3.2",
"lint-staged": "^15.2.10",
"mlly": "^1.7.2",
"mockdate": "^3.0.5",
"nitropack": "^2.9.7",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1",
"unocss": "^0.63.4",
"unplugin-auto-import": "^0.18.3",
"vite": "^5.4.8",
"vite-plugin-with-nitro": "0.0.0-beta.4",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.2",
"wrangler": "^3.80.3"
},
"pnpm": {
"patchedDependencies": {
"dayjs": "patches/dayjs.patch"
}
},
"resolutions": {
"dayjs": "1.11.13",
"db0": "npm:@ourongxing/db0@0.1.6",
"nitropack": "^2.9.7"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}