Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
183 lines (183 loc) · 8.74 KB
/
Copy pathpackage.json
File metadata and controls
183 lines (183 loc) · 8.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "food-order-v1",
"version": "1.11.0",
"private": true,
"type": "module",
"description": "A mobile-first group food ordering app for shared menus, collaborative choices, and fair receipt splitting.",
"packageManager": "npm@11.6.0",
"engines": {
"node": ">=24.x",
"npm": ">=11.0.0"
},
"scripts": {
"ai:check": "node scripts/knowledge/build-executive-function.mjs --check",
"ai:context": "node scripts/knowledge/cli.mjs context",
"ai:doctor": "node scripts/ai.mjs doctor",
"build": "node node_modules/typescript7/bin/tsc -b && vite build",
"build:ai": "node scripts/ai.mjs build",
"build:web": "npm run build && npm run public:generate && npm run public:validate",
"cap:add:android": "cap add android",
"cap:add:ios": "cap add ios",
"cap:open:android": "cap open android",
"cap:open:ios": "cap open ios",
"cap:run:android": "npm run cap:sync && cap run android",
"cap:run:ios": "npm run cap:sync && cap run ios",
"cap:sync": "npm run build && cap sync",
"deps:check": "npm outdated || true",
"dev": "vite",
"format": "node scripts/check-format.mjs --write",
"format:check": "node scripts/check-format.mjs",
"functions:build": "npm --prefix functions run build",
"functions:deploy:batched": "node scripts/deploy-functions-batched.mjs",
"functions:test": "npm --prefix functions run test",
"functions:typecheck": "npm --prefix functions run typecheck",
"functions:validate": "npm run functions:typecheck && npm run functions:build && npm run functions:test",
"i18n:check": "node scripts/i18n/check-translations.mjs",
"icons": "npm run icons:prepare && npx --yes @capacitor/assets generate --ios --android --iconBackgroundColor \"#020d0b\" --iconBackgroundColorDark \"#020d0b\" --splashBackgroundColor \"#020d0b\" --splashBackgroundColorDark \"#020d0b\"",
"icons:prepare": "node scripts/icons/prepare-sources.mjs",
"knowledge:benchmark": "node scripts/knowledge/cli.mjs benchmark",
"knowledge:build": "node scripts/knowledge/cli.mjs build && node scripts/knowledge/build-executive-function.mjs",
"knowledge:build:incremental": "node scripts/knowledge/cli.mjs build --incremental && node scripts/knowledge/build-executive-function.mjs",
"knowledge:classify": "node scripts/knowledge/cli.mjs classify",
"knowledge:context": "node scripts/knowledge/cli.mjs context",
"knowledge:contradictions": "node scripts/knowledge/cli.mjs contradictions",
"knowledge:duplicates": "node scripts/knowledge/cli.mjs duplicates",
"knowledge:graphs": "node scripts/knowledge/cli.mjs build --graphs-only",
"knowledge:links": "node scripts/knowledge/cli.mjs validate --links-only",
"knowledge:orphans": "node scripts/knowledge/cli.mjs orphans",
"knowledge:packs": "node scripts/knowledge/cli.mjs build --packs-only",
"knowledge:refresh": "npm run knowledge:build && npm run knowledge:validate",
"knowledge:report": "node scripts/knowledge/cli.mjs report",
"knowledge:stale": "node scripts/knowledge/cli.mjs stale",
"knowledge:validate": "node scripts/knowledge/cli.mjs validate && node scripts/knowledge/build-executive-function.mjs --check",
"lint": "eslint . --max-warnings 0",
"lint:ai": "node scripts/ai.mjs lint",
"lint:fix": "eslint . --fix --max-warnings 0",
"migrate:legacy": "node scripts/migrate-legacy-data.mjs",
"migrate:member-privacy": "node scripts/migrate-member-privacy.mjs",
"prepare": "husky",
"preview": "vite preview",
"public:generate": "node scripts/public-content/generate-public-content.mjs",
"public:validate": "node scripts/public-content/validate-public-content.mjs",
"quality": "npm run lint && npm run typecheck && npm run quality:circular && npm run quality:release && npm run quality:agent-docs",
"quality:agent-docs": "node scripts/check-agent-docs.mjs",
"quality:circular": "madge src --circular --extensions ts,tsx",
"quality:dead-code": "knip",
"quality:release": "node scripts/check-release-version.mjs",
"release:branch-check": "node tools/release/ensure-branch-version.mjs --check",
"release:major": "node tools/release/bump-version.mjs major",
"release:minor": "node tools/release/bump-version.mjs minor",
"release:patch": "node tools/release/bump-version.mjs patch",
"release:start": "node tools/release/ensure-branch-version.mjs --apply",
"security:audit": "node scripts/check-npm-audit.mjs",
"security:scan": "trivy fs --scanners vuln,secret,misconfig --severity HIGH,CRITICAL --ignore-unfixed --ignorefile .trivyignore.yaml --skip-files .env,.env.*.local --skip-dirs node_modules,dist,coverage,android,ios,.git,ui-shots,.worktrees --exit-code 1 .",
"test": "vitest run",
"test:ai": "node scripts/ai.mjs test",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test --project=chromium --project=mobile-chrome --project=tablet-chrome",
"test:e2e:all": "npm run test:e2e && npm run test:e2e:cross-browser",
"test:e2e:critical": "playwright test tests/e2e/group-order.spec.ts tests/e2e/order-lifecycle.spec.ts tests/e2e/bucket-pricing.spec.ts --project=chromium",
"test:e2e:cross-browser": "playwright test tests/e2e/smoke.spec.ts tests/e2e/ui.spec.ts tests/e2e/responsive-overlays.spec.ts tests/e2e/ux-polish.spec.ts --project=firefox --project=webkit --project=mobile-safari --workers=2",
"test:e2e:social": "playwright test tests/e2e/social-sharing.spec.ts tests/e2e/social-management.spec.ts --project=chromium",
"test:rules": "firebase emulators:exec --project food-order-v1-rules-test --only firestore \"vitest run --config vitest.rules.config.ts\"",
"test:tooling": "node --test \"tests/tooling/*.test.mjs\"",
"test:watch": "vitest",
"typecheck": "node node_modules/typescript7/bin/tsc -b --pretty false",
"typecheck:ai": "node scripts/ai.mjs typecheck",
"typecheck:tsc": "tsc -b --pretty false",
"validate": "npm run knowledge:validate && npm run i18n:check && npm run typecheck && npm run lint && npm run test && npm run build"
},
"dependencies": {
"@capacitor/app": "^8.1.1",
"@capacitor/core": "^8.5.1",
"@capacitor/haptics": "^8.0.2",
"@capacitor/keyboard": "^8.0.5",
"@capacitor/local-notifications": "^8.3.1",
"@capacitor/network": "^8.0.1",
"@capacitor/preferences": "^8.0.1",
"@capacitor/push-notifications": "^8.1.2",
"@capacitor/status-bar": "^8.0.3",
"@vercel/analytics": "^2.0.1",
"@vercel/speed-insights": "^2.0.0",
"firebase": "^12.19.0",
"lucide-react": "^1.24.0",
"nodemailer": "^10.0.3",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-router-dom": "7.18.1",
"react-virtuoso": "4.18.11"
},
"devDependencies": {
"@capacitor/android": "^8.5.1",
"@capacitor/cli": "^8.5.1",
"@capacitor/ios": "^8.5.1",
"@commitlint/cli": "^21.2.2",
"@commitlint/config-conventional": "^21.2.0",
"@eslint/js": "^10.0.1",
"@firebase/rules-unit-testing": "5.0.1",
"@playwright/test": "^1.63.0",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.7",
"@types/node": "26.5.1",
"@types/nodemailer": "^8.0.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"@vitest/coverage-v8": "^5.0.0",
"@vitest/eslint-plugin": "^1.6.27",
"eslint": "^10.9.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-playwright": "^2.11.0",
"eslint-plugin-promise": "^7.3.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.6",
"eslint-plugin-regexp": "^3.1.1",
"eslint-plugin-security": "^4.0.1",
"eslint-plugin-simple-import-sort": "^14.0.0",
"eslint-plugin-sonarjs": "^4.2.0",
"eslint-plugin-testing-library": "^7.16.2",
"eslint-plugin-unicorn": "^65.0.0",
"eslint-plugin-unused-imports": "^4.4.1",
"firebase-admin": "^14.4.0",
"firebase-tools": "15.25.0",
"globals": "^17.9.0",
"husky": "^9.1.7",
"jsdom": "^30.0.1",
"knip": "^6.26.0",
"lint-staged": "^17.4.1",
"madge": "^8.0.0",
"sharp": "^0.35.3",
"typescript": "5.9.3",
"typescript-eslint": "8.63.0",
"typescript7": "npm:typescript@7.0.2",
"vite": "^8.2.1",
"vitest": "^5.0.0"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix --max-warnings 0"
},
"overrides": {
"teeny-request": {
"uuid": "^11.1.1"
},
"gaxios": {
"uuid": "^11.1.1"
},
"@opentelemetry/core": "^2.8.0",
"@hono/node-server": "^2.0.5",
"react-router": "8.3.0",
"js-yaml": "4.3.1",
"postcss": "8.5.23",
"hono": "4.13.2",
"nanoid": "3.3.18",
"tar": "7.5.21",
"xcode": {
"uuid": "11.1.1"
},
"eslint-plugin-jsx-a11y": {
"eslint": "$eslint"
}
}
}