- firebase.contract.test.js: run storage contract against createFirebaseStorage via SDK mock. Currently 12 fail (firebase diverges from contract: no norm(), injects id). Failures real — firebase copied from main, memory/ws invented new requirements. Contract under review vs main prod truth. - storage.factory.test.js: getStorage() routing per REACT_APP_STORAGE env, singleton cache, getStorageMode() reporting. - Combat.scenario.test.js: remove console.log (test noise). - package.json: test:all now runs App + shared + server suites (was missing App).
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "ttrpg-initiative-tracker",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"workspaces": [
|
|
"server",
|
|
"shared"
|
|
],
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^5.17.0",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"firebase": "^10.12.2",
|
|
"lucide-react": "^0.395.0",
|
|
"postcss": "^8.4.38",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-scripts": "5.0.1",
|
|
"tailwindcss": "^3.4.3",
|
|
"web-vitals": "^2.1.4"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"server:dev": "npm run dev --workspace server",
|
|
"server:test": "npm test --workspace server",
|
|
"shared:test": "npm test --workspace shared",
|
|
"test:all": "CI=true react-scripts test --watchAll=false && npm run shared:test && npm run server:test"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^14.3.1"
|
|
}
|
|
}
|