Files
voiceon-character-admin/package.json

58 lines
1.9 KiB
JSON

{
"name": "ai-character-admin-web",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "VITE_API_MODE=server vite --host 127.0.0.1 --port 8888 --strictPort",
"dev:mock": "VITE_API_MODE=mock vite --host 127.0.0.1 --port 8889 --strictPort",
"build": "npm run build:prod",
"build:dev": "tsc -b && vite build --mode development",
"build:prod": "tsc -b && vite build --mode production",
"typecheck": "tsc -b --pretty false",
"lint": "eslint .",
"test": "vitest",
"test:run": "vitest run",
"e2e": "VITE_API_MODE=server playwright test",
"e2e:mock": "sh -c 'if [ \"$#\" -gt 0 ]; then VITE_API_MODE=mock playwright test \"$@\"; else npm run e2e:mock:chromium && npm run e2e:mock:mobile-chrome; fi' --",
"e2e:mock:raw": "VITE_API_MODE=mock playwright test",
"e2e:mock:chromium": "VITE_API_MODE=mock playwright test --project=chromium --workers=1",
"e2e:mock:mobile-chrome": "VITE_API_MODE=mock playwright test --project=mobile-chrome --workers=1"
},
"dependencies": {
"@tanstack/react-query": "^5.101.4",
"react": "19.2.8",
"react-dom": "19.2.8",
"zod": "^4.4.3"
},
"devDependencies": {
"@axe-core/playwright": "^4.12.1",
"@eslint/js": "10.0.1",
"@playwright/test": "1.61.1",
"@tailwindcss/vite": "4.3.3",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "7.0.0",
"@testing-library/react": "16.3.2",
"@types/node": "26.1.1",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "6.0.4",
"eslint": "10.8.0",
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-react-refresh": "0.5.3",
"globals": "17.7.0",
"jsdom": "29.1.1",
"msw": "^2.15.0",
"tailwindcss": "4.3.3",
"typescript": "6.0.3",
"typescript-eslint": "8.65.0",
"vite": "8.1.5",
"vitest": "4.1.10"
},
"msw": {
"workerDirectory": [
"public"
]
}
}