mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
92 lines
2.7 KiB
JSON
92 lines
2.7 KiB
JSON
{
|
|
"name": "webclient",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"prebuild": "npm run proto:generate && node prebuild.js",
|
|
"prestart": "npm run proto:generate && node prebuild.js",
|
|
"build": "vite build",
|
|
"start": "vite",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "eslint src/",
|
|
"lint:fix": "eslint src/ --fix",
|
|
"golden": "npm run lint && npm run test",
|
|
"prepare": "cd .. && husky",
|
|
"translate": "node prebuild.js -i18nOnly",
|
|
"proto:generate": "npx buf generate"
|
|
},
|
|
"dependencies": {
|
|
"@bufbuild/protobuf": "^2.11.0",
|
|
"@emotion/react": "^11.8.2",
|
|
"@emotion/styled": "^11.8.1",
|
|
"@mui/icons-material": "^7.3.10",
|
|
"@mui/material": "^7.3.10",
|
|
"@reduxjs/toolkit": "^2.11.2",
|
|
"crypto-js": "^4.2.0",
|
|
"dexie": "^4.4.2",
|
|
"dompurify": "^3.3.3",
|
|
"final-form": "^5.0.0",
|
|
"final-form-set-field-touched": "^1.0.1",
|
|
"i18next": "^26.0.4",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"i18next-icu": "^2.0.3",
|
|
"intl-messageformat": "^11.2.1",
|
|
"lodash": "^4.17.21",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-final-form": "^7.0.0",
|
|
"react-final-form-listeners": "^3.0.0",
|
|
"react-i18next": "^17.0.2",
|
|
"react-redux": "^9.2.0",
|
|
"react-router-dom": "^7.14.1",
|
|
"react-virtualized-auto-sizer": "^2.0.3",
|
|
"react-window": "^2.2.7",
|
|
"rxjs": "^7.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@bufbuild/buf": "^1.67.0",
|
|
"@bufbuild/protoc-gen-es": "^2.11.0",
|
|
"@eslint/js": "^10.0.1",
|
|
"@mui/types": "^7.1.3",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.4.0",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/lodash": "^4.14.179",
|
|
"@types/node": "^22.19.17",
|
|
"@types/prop-types": "^15.7.4",
|
|
"@types/react": "18.0.24",
|
|
"@types/react-dom": "18.0.8",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
"@types/react-window": "^1.8.5",
|
|
"@typescript-eslint/eslint-plugin": "^8.58.2",
|
|
"@typescript-eslint/parser": "^8.58.2",
|
|
"@vitejs/plugin-react": "^5.2.0",
|
|
"@vitest/coverage-v8": "^4.1.4",
|
|
"eslint": "^10.2.0",
|
|
"fs-extra": "^11.3.4",
|
|
"globals": "^17.5.0",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^29.0.2",
|
|
"typescript": "~5.8",
|
|
"typescript-eslint": "^8.58.2",
|
|
"vite": "^6.4.2",
|
|
"vite-tsconfig-paths": "^5.1.4",
|
|
"vitest": "^4.1.4"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|