-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
215 lines (215 loc) · 10.8 KB
/
Copy pathpackage.json
File metadata and controls
215 lines (215 loc) · 10.8 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"name": "openinspection",
"version": "1.0.0",
"private": false,
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/InspectorHub/OpenInspection.git"
},
"homepage": "https://inspectorhub.io",
"bugs": {
"url": "https://github.com/InspectorHub/OpenInspection/issues"
},
"cloudflare": {
"label": "OpenInspection",
"products": [
"Workers"
],
"categories": [
"starter"
],
"docs_url": "https://github.com/InspectorHub/OpenInspection#readme",
"publish": true
},
"scripts": {
"dev": "npm run build && wrangler dev -c build/server/wrangler.json --persist-to .wrangler/state",
"dev:hmr": "npm run vendor:copy && react-router dev",
"dev:tunnel": "npm run build && wrangler dev -c build/server/wrangler.json --persist-to .wrangler/state --tunnel",
"build": "npm run vendor:copy && node scripts/gen-version.js && react-router build",
"preview": "npm run build && wrangler dev -c build/server/wrangler.json --persist-to .wrangler/state",
"deploy": "npm run build && npm run db:migrate:remote && wrangler deploy -c build/server/wrangler.json && npm run jwt:ensure && npm run setup-code:ensure",
"deploy:saas": "cross-env WRANGLER_CONFIG=wrangler.saas.jsonc npm run build && npm run db:migrate:saas:remote && wrangler deploy -c build/server/wrangler.json && cross-env WRANGLER_CONFIG=wrangler.saas.jsonc npm run jwt:ensure",
"jwt:ensure": "node scripts/ensure-jwt-secrets.mjs",
"setup-code:ensure": "node scripts/ensure-setup-code.mjs",
"vendor:copy": "node scripts/vendor-copy.js",
"gen-version": "node scripts/gen-version.js",
"i18n:compile": "paraglide-js compile --project ./project.inlang --outdir ./app/paraglide --strategy cookie baseLocale --output-structure locale-modules --emit-ts-declarations",
"type-check": "npm run i18n:compile && react-router typegen && npm run type-check:app && npm run type-check:api",
"type-check:app": "node --max-old-space-size=12288 ./node_modules/typescript/bin/tsc -p tsconfig.json --noEmit --incremental --tsBuildInfoFile ./.tsbuildinfo.app",
"type-check:api": "node --max-old-space-size=8192 ./node_modules/typescript/bin/tsc -p tsconfig.api.json --noEmit --incremental --tsBuildInfoFile ./.tsbuildinfo.api",
"lint": "cross-env NODE_OPTIONS=--max-old-space-size=12288 eslint . --cache --cache-strategy content && npm run lint:ds && npm run lint:svg && npm run lint:erasure && npm run lint:migrefs && npm run lint:migchain && npm run lint:english && npm run lint:filesize && npm run lint:dup && npm run lint:tenant-scope && npm run lint:status-literals && npm run lint:capability-decl && npm run lint:provider-helpers && npm run lint:notification-dispatch && npm run lint:tests && npm run lint:deadcode && npm run lint:timestamps && npm run lint:tz && npm run lint:idempotency && npm run lint:i18n && npm run lint:i18n-catalog && npm run lint:i18n-glossary && npm run lint:naming && npm run lint:agent-routes",
"lint:ds": "node scripts/check-ds-tokens.mjs",
"lint:agent-routes": "node scripts/check-agent-routes.mjs",
"lint:naming": "node scripts/check-naming.mjs",
"lint:svg": "node scripts/check-svg-dimensions.mjs",
"lint:erasure": "node scripts/check-erasure-manifest.mjs",
"lint:migrefs": "node scripts/check-migration-refs.mjs",
"lint:migchain": "node scripts/check-migration-chain.mjs",
"lint:filesize": "node scripts/check-file-size.mjs",
"lint:dup": "jscpd server app packages",
"lint:gates": "node scripts/run-gates.mjs",
"lint:tenant-scope": "node scripts/check-tenant-scoping.mjs",
"lint:status-literals": "node scripts/check-status-literals.mjs",
"lint:capability-decl": "node scripts/check-capability-declarations.mjs",
"lint:provider-helpers": "node scripts/check-provider-helpers.mjs",
"lint:notification-dispatch": "node scripts/check-notification-dispatch.mjs",
"lint:tests": "node scripts/check-test-layout.mjs",
"lint:deadcode": "node scripts/check-deadcode.mjs",
"lint:timestamps": "node scripts/check-timestamps.mjs",
"lint:tz": "node scripts/check-tz-safety.mjs",
"lint:idempotency": "node scripts/check-idempotency-coverage.mjs",
"lint:i18n": "node scripts/check-i18n.mjs",
"lint:i18n-catalog": "node scripts/check-i18n-catalog.mjs",
"lint:i18n-glossary": "node scripts/check-i18n-glossary.mjs",
"check:ts-range": "node scripts/check-ts-range.mjs",
"lint:fix": "eslint . --fix --cache",
"security-scan": "npm audit --audit-level=high",
"test:unit": "vitest run --config vitest.api.config.ts",
"test:unit:changed": "vitest run --changed --config vitest.api.config.ts",
"test:web": "vitest run --config vitest.config.ts",
"test:web:changed": "vitest run --changed --config vitest.config.ts",
"test:workers": "vitest run --config vitest.workers.config.ts",
"test:types": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vitest run --typecheck --config vitest.typecheck.config.ts",
"test:e2e": "playwright test",
"test:e2e:seeded": "playwright test -c playwright.seeded.config.ts",
"db:migrate": "node scripts/wrangler.mjs d1 migrations apply DB --local",
"seed:local": "node scripts/seed-local-e2e.mjs",
"db:migrate:remote": "node scripts/wrangler.mjs d1 migrations apply DB --remote",
"db:migrate:saas:remote": "cross-env WRANGLER_CONFIG=wrangler.saas.jsonc node scripts/wrangler.mjs d1 migrations apply DB --remote",
"db:check": "node scripts/verify-migration-equivalence.mjs",
"db:generate": "drizzle-kit generate",
"wipe:d1:local": "node scripts/wipe-d1.mjs --local",
"wipe:d1:remote": "node scripts/wipe-d1.mjs --remote",
"wipe:d1:saas:remote": "cross-env WRANGLER_CONFIG=wrangler.saas.jsonc node scripts/wipe-d1.mjs --remote",
"seed:test-user": "node scripts/seed-test-user.mjs",
"setup:cloudflare": "node scripts/setup-cloudflare.js",
"setup:local": "node scripts/setup-cloudflare.js --local",
"teardown:cloudflare": "node scripts/teardown-cloudflare.js",
"teardown:local": "node scripts/teardown-cloudflare.js --local --force",
"backup": "node scripts/backup.js",
"restore": "node scripts/restore.js",
"rotate:jwt": "node scripts/rotate-jwt-keys.js",
"bootstrap": "node scripts/gen-version.js && npm run vendor:copy",
"prepare": "node -e \"const{execSync}=require('child_process');try{execSync('git config core.hooksPath .githooks',{stdio:'ignore'})}catch(e){};try{execSync('node scripts/gen-version.js',{stdio:'ignore'})}catch(e){};try{execSync('npm run i18n:compile',{stdio:'ignore'})}catch(e){}\"",
"check:bundle": "node scripts/check-bundle-size.mjs",
"mcp:snapshot": "node scripts/snapshot-openapi.mjs",
"lint:english": "node scripts/check-english-only.mjs",
"lint:eslint": "cross-env NODE_OPTIONS=--max-old-space-size=12288 eslint . --cache --cache-strategy content",
"lint:gates-full": "npm run lint:ds && npm run lint:svg && npm run lint:erasure && npm run lint:migrefs && npm run lint:migchain && npm run lint:english && npm run lint:filesize && npm run lint:dup && npm run lint:tenant-scope && npm run lint:status-literals && npm run lint:capability-decl && npm run lint:provider-helpers && npm run lint:notification-dispatch && npm run lint:tests && npm run lint:deadcode && npm run lint:timestamps && npm run lint:tz && npm run lint:idempotency && npm run lint:i18n && npm run lint:i18n-catalog && npm run lint:i18n-glossary && npm run lint:naming && npm run lint:agent-routes",
"i18n:compile:cached": "node scripts/i18n-compile-if-changed.mjs"
},
"dependencies": {
"@cloudflare/workers-oauth-provider": "^0.8.1",
"@conform-to/react": "^1.19.4",
"@conform-to/zod": "^1.19.4",
"@googlemaps/js-api-loader": "^1.16.10",
"@inlang/paraglide-js": "2.22.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@stripe/react-stripe-js": "^6.5.0",
"@stripe/stripe-js": "^9.7.0",
"@types/sortablejs": "^1.15.9",
"agents": "^0.17.1",
"docx": "^9.7.1",
"dompurify": "^3.4.9",
"drizzle-orm": "^0.45.2",
"exceljs": "^4.4.0",
"fflate": "^0.8.3",
"hono": "^4.12.34",
"isbot": "^5.1.0",
"lib0": "^0.2.117",
"nanoid": "^5.1.5",
"otpauth": "^9.5.1",
"pdf-lib": "^1.17.1",
"qrcode": "^1.5.4",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-easy-crop": "^6.0.2",
"react-konva": "^19.2.5",
"react-photo-album": "^3.6.0",
"react-router": "^8.3.0",
"sortablejs": "^1.15.7",
"stripe": "^22.2.0",
"tailwind-merge": "^2.6.1",
"write-excel-file": "^4.1.1",
"y-indexeddb": "^9.0.12",
"y-protocols": "^1.0.7",
"yet-another-react-lightbox": "^3.32.0",
"yjs": "^13.6.31",
"zod": "^4.4.3"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.0.0",
"@cloudflare/vitest-pool-workers": "^0.14.2",
"@cloudflare/workers-types": "^4.20260629.1",
"@eslint/js": "^9.39.4",
"@fontsource/bricolage-grotesque": "^5.2.10",
"@fontsource/dm-sans": "^5.2.8",
"@fontsource/fraunces": "^5.2.9",
"@fontsource/instrument-serif": "^5.2.8",
"@fontsource/inter": "^5.2.8",
"@fontsource/jetbrains-mono": "^5.2.8",
"@fontsource/source-serif-4": "^5.2.9",
"@hono/zod-openapi": "^1.2.4",
"@inlang/plugin-message-format": "4.4.0",
"@playwright/test": "^1.58.2",
"@react-router/dev": "^8.3.0",
"@tailwindcss/vite": "^4.1.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/react": "^16.3.2",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^24.10.1",
"@types/qrcode": "^1.5.6",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"better-sqlite3": "^12.8.0",
"cross-env": "^7.0.3",
"drizzle-kit": "^0.31.7",
"eslint": "^10.0.2",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"fake-indexeddb": "^6.0.0",
"happy-dom": "^20.9.0",
"jscpd": "^5.0.11",
"knip": "^6.24.0",
"konva": "^10.2.5",
"lint-staged": "^16.4.0",
"miniflare": "^4.20260405.0",
"swagger-ui-dist": "^5.32.5",
"tailwindcss": "^4.1.0",
"ts-morph": "^28.0.0",
"tsx": "^4.22.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"vite": "^8.0.16",
"vitest": "^4.1.3",
"wrangler": "^4.102.0"
},
"overrides": {
"esbuild": "^0.28.1",
"uuid": "^11.1.1",
"undici": "^7.29.0",
"ws": "^8.21.0",
"sharp": ">=0.35.0",
"@hono/node-server": ">=2.0.5",
"brace-expansion": "^5.0.9",
"ip-address": ">=10.2.2",
"fast-uri": "^3.1.5",
"postcss": ">=8.5.18",
"valibot": ">=1.4.2"
},
"optionalDependencies": {
"@rolldown/binding-linux-x64-gnu": "1.0.3",
"lightningcss-linux-x64-gnu": "1.32.0"
},
"engines": {
"node": ">=22.22.0"
},
"lint-staged": {
"*.{ts,tsx,js,mjs}": []
}
}