YesPlayMusic/packages/web/package.json

80 lines
2.3 KiB
JSON
Raw Normal View History

2022-05-12 02:45:43 +08:00
{
"name": "web",
"private": true,
"version": "2.0.0",
"scripts": {
"dev": "vite dev --host",
2022-05-12 23:16:25 +08:00
"build": "vite build",
2022-06-08 11:48:22 +08:00
"preview": "vite build && vite preview --host",
2022-05-12 02:45:43 +08:00
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
2022-07-11 11:06:41 +08:00
"test:types": "tsc --noEmit --project ./tsconfig.json",
2022-05-12 02:45:43 +08:00
"analyze:css": "npx windicss-analysis",
2022-05-13 23:33:11 +08:00
"analyze:js": "npm run build && open-cli bundle-stats-renderer.html",
2022-05-29 17:53:27 +08:00
"generate:accent-color-css": "node ./scripts/generate.accent.color.css.js",
2023-03-26 02:16:01 +08:00
"api:netease": "PORT=30001 npx NeteaseCloudMusicApi@latest"
2022-05-12 02:45:43 +08:00
},
"engines": {
2023-03-03 03:12:27 +08:00
"node": ">=16.0.0"
2022-05-12 02:45:43 +08:00
},
"dependencies": {
2023-01-07 14:39:03 +08:00
"@emotion/css": "^11.10.5",
"@sentry/react": "^7.29.0",
"@sentry/tracing": "^7.29.0",
2023-02-05 03:36:33 +08:00
"@tailwindcss/container-queries": "^0.1.0",
2023-03-26 02:16:01 +08:00
"@tanstack/react-query": "^4.26.1",
"@tanstack/react-query-devtools": "^4.26.1",
2023-01-07 14:39:03 +08:00
"ahooks": "^3.7.4",
"axios": "^1.2.2",
2022-05-12 02:45:43 +08:00
"color.js": "^1.2.0",
2023-01-07 14:39:03 +08:00
"colord": "^2.9.3",
"dayjs": "^1.11.7",
"framer-motion": "^8.1.7",
2023-03-26 02:16:01 +08:00
"hls.js": "^1.3.5",
2022-05-12 02:45:43 +08:00
"howler": "^2.2.3",
2023-03-03 03:12:27 +08:00
"i18next": "^22.4.9",
2022-05-12 02:45:43 +08:00
"js-cookie": "^3.0.1",
"lodash-es": "^4.17.21",
"md5": "^2.3.0",
2022-08-22 16:51:23 +08:00
"qrcode": "^1.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
2023-09-04 12:51:56 +08:00
"react-ga4": "^2.1.0",
2023-01-07 14:39:03 +08:00
"react-hot-toast": "^2.4.0",
2023-03-03 03:12:27 +08:00
"react-i18next": "^12.1.5",
2023-01-07 14:39:03 +08:00
"react-router-dom": "^6.6.1",
2022-05-29 17:53:27 +08:00
"react-use": "^17.4.0",
2022-08-22 16:51:23 +08:00
"react-use-measure": "^2.1.1",
"react-virtuoso": "^2.16.6",
2023-09-04 12:51:56 +08:00
"valtio": "^1.10.4"
2022-05-12 02:45:43 +08:00
},
"devDependencies": {
2022-05-29 17:53:27 +08:00
"@testing-library/react": "^13.3.0",
2022-05-12 02:45:43 +08:00
"@types/howler": "^2.2.7",
"@types/js-cookie": "^3.0.2",
"@types/lodash-es": "^4.17.6",
"@types/md5": "^2.3.2",
"@types/qrcode": "^1.4.2",
2022-08-22 16:51:23 +08:00
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
2023-09-04 12:51:56 +08:00
"@vitejs/plugin-react-swc": "^3.3.0",
2023-01-07 14:39:03 +08:00
"@vitest/ui": "^0.26.3",
"autoprefixer": "^10.4.13",
2022-08-22 16:51:23 +08:00
"c8": "^7.12.0",
2023-01-07 14:39:03 +08:00
"dotenv": "^16.0.3",
"jsdom": "^20.0.3",
2022-05-12 02:45:43 +08:00
"open-cli": "^7.0.1",
2023-01-07 14:39:03 +08:00
"postcss": "^8.4.20",
2022-05-12 02:45:43 +08:00
"prettier": "*",
2023-01-07 14:39:03 +08:00
"prettier-plugin-tailwindcss": "*",
"rollup-plugin-visualizer": "^5.9.0",
2023-09-04 12:51:56 +08:00
"tailwindcss": "^3.3.2",
2022-05-12 02:45:43 +08:00
"typescript": "*",
2023-09-04 12:51:56 +08:00
"vite": "^4.3.3",
"vite-plugin-pwa": "^0.14.7",
2022-05-12 02:45:43 +08:00
"vite-plugin-svg-icons": "^2.0.1",
2023-01-07 14:39:03 +08:00
"vitest": "^0.26.3"
2022-05-12 02:45:43 +08:00
}
}