mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
94 lines
2.7 KiB
JSON
94 lines
2.7 KiB
JSON
{
|
|
"name": "webclient",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"prebuild": "node prebuild.js",
|
|
"prestart": "node prebuild.js",
|
|
"build": "vite build",
|
|
"start": "vite",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "eslint src/**/*.{ts,tsx}",
|
|
"lint:fix": "eslint src/**/*.{ts,tsx} --fix",
|
|
"golden": "npm run lint && npm run test",
|
|
"prepare": "cd .. && husky install",
|
|
"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": "^5.5.1",
|
|
"@mui/material": "^5.5.1",
|
|
"crypto-js": "^4.2.0",
|
|
"dexie": "^3.2.2",
|
|
"dompurify": "^3.3.3",
|
|
"final-form": "^4.20.6",
|
|
"final-form-set-field-touched": "^1.0.1",
|
|
"i18next": "^22.0.4",
|
|
"i18next-browser-languagedetector": "^7.0.0",
|
|
"i18next-icu": "^2.0.3",
|
|
"intl-messageformat": "^10.2.1",
|
|
"lodash": "^4.17.21",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-final-form": "^6.5.8",
|
|
"react-final-form-listeners": "^1.0.3",
|
|
"react-i18next": "^12.0.0",
|
|
"react-redux": "^8.0.4",
|
|
"react-router-dom": "^6.2.2",
|
|
"react-virtualized-auto-sizer": "^1.0.6",
|
|
"react-window": "^1.8.6",
|
|
"redux": "^4.1.2",
|
|
"redux-form": "^8.3.8",
|
|
"redux-thunk": "^2.4.1",
|
|
"rxjs": "^7.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@bufbuild/buf": "^1.67.0",
|
|
"@bufbuild/protoc-gen-es": "^2.11.0",
|
|
"@mui/types": "^7.1.3",
|
|
"@testing-library/jest-dom": "^6.4.0",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/jquery": "^3.5.14",
|
|
"@types/lodash": "^4.14.179",
|
|
"@types/node": "18.11.7",
|
|
"@types/prop-types": "^15.7.4",
|
|
"@types/react": "18.0.24",
|
|
"@types/react-dom": "18.0.8",
|
|
"@types/react-redux": "^7.1.23",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
"@types/react-window": "^1.8.5",
|
|
"@types/redux-form": "^8.3.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.14.0",
|
|
"@typescript-eslint/parser": "^5.14.0",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"@vitest/coverage-v8": "^1.3.0",
|
|
"eslint": "^8.0.0",
|
|
"fs-extra": "^10.0.1",
|
|
"husky": "^8.0.1",
|
|
"jsdom": "^24.0.0",
|
|
"typescript": "^4.6.2",
|
|
"vite": "^5.1.0",
|
|
"vite-tsconfig-paths": "^4.3.1",
|
|
"vitest": "^1.3.0"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|