66 lines
2.7 KiB
JSON
66 lines
2.7 KiB
JSON
{
|
|
"name": "huakui-drama-web",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "tsx scripts/next-env.ts development dev",
|
|
"dev:charles": "bash scripts/dev-charles.sh",
|
|
"dev:test": "tsx scripts/next-env.ts test dev",
|
|
"build": "tsx scripts/next-env.ts production build",
|
|
"build:dev": "tsx scripts/next-env.ts development build",
|
|
"build:test": "tsx scripts/next-env.ts test build",
|
|
"start": "tsx scripts/next-env.ts production start",
|
|
"start:dev": "tsx scripts/next-env.ts development start",
|
|
"start:test": "tsx scripts/next-env.ts test start",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "tsx --test tests/*.test.ts tests/*.test.tsx",
|
|
"check": "npm run typecheck && npm test",
|
|
"test:browser": "tsx scripts/browser-smoke.ts",
|
|
"test:ui": "tsx scripts/ui-check.ts",
|
|
"test:actions": "tsx scripts/catalog-react-smoke.ts",
|
|
"test:popups": "tsx scripts/native-site-smoke.ts",
|
|
"test:install": "tsx scripts/native-site-smoke.ts",
|
|
"assets:sync": "tsx scripts/sync-figma-assets.ts && tsx scripts/sync-figma-icons.ts && tsx scripts/compose-placeholder.ts",
|
|
"assets:check": "tsx scripts/sync-figma-assets.ts --check && tsx scripts/sync-figma-icons.ts --check && tsx scripts/compose-placeholder.ts --check",
|
|
"assets:pwa": "tsx scripts/compose-pwa-icons.ts && tsx scripts/build-pwa.ts",
|
|
"assets:pwa:check": "tsx scripts/compose-pwa-icons.ts --check && tsx scripts/build-pwa.ts --check",
|
|
"bundle": "tsx scripts/package-standalone.ts production",
|
|
"bundle:test": "tsx scripts/package-standalone.ts test",
|
|
"bundle:linux": "tsx scripts/prepare-production-runtime.ts",
|
|
"deploy:test": "bash deploy_test.sh",
|
|
"deploy:prod": "bash deploy_prod.sh",
|
|
"test:catalog": "tsx scripts/catalog-react-smoke.ts",
|
|
"test:playback": "tsx scripts/playback-smoke.ts",
|
|
"test:pwa": "tsx scripts/pwa-smoke.ts",
|
|
"test:presentation": "tsx scripts/page-presentation-smoke.ts",
|
|
"test:ssr": "tsx scripts/native-ssr-smoke.ts",
|
|
"sitemap:sync": "tsx scripts/sync-sitemap.ts",
|
|
"routes:export": "tsx scripts/export-page-routes.ts",
|
|
"routes:check": "tsx scripts/export-page-routes.ts --check"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "^17.2.3",
|
|
"next": "16.4.2",
|
|
"qrcode": "^1.5.4",
|
|
"react": "19.3.0",
|
|
"react-dom": "19.3.0",
|
|
"xgplayer": "3.0.26",
|
|
"xgplayer-hls": "3.0.26"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.56.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"esbuild": "0.28.2",
|
|
"sharp": "0.35.5",
|
|
"tsx": "^4.20.0",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.9.0"
|
|
},
|
|
"type": "module"
|
|
}
|