-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
230 lines (230 loc) · 11 KB
/
Copy pathpackage.json
File metadata and controls
230 lines (230 loc) · 11 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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
{
"name": "worldscript-studio",
"private": true,
"version": "1.28.6",
"description": "WorldScript Studio — offline-first, AI-powered creative writing application.",
"author": "QNBS",
"keywords": [
"worldscript",
"worldscript-studio",
"creative-writing",
"ai-writing",
"pwa",
"tauri"
],
"type": "module",
"packageManager": "pnpm@11.22.0",
"engines": {
"node": ">=22.0.0",
"pnpm": "11.22.0"
},
"scripts": {
"hooks:install": "simple-git-hooks",
"signing:doctor": "node scripts/signing/doctor.mjs",
"signing:check-range": "node scripts/signing/check-range.mjs",
"signing:verify-remote": "node scripts/signing/verify-remote.mjs",
"toolchain:check": "node scripts/check-pnpm-toolchain.mjs",
"deps:verify": "node scripts/dependency-state.mjs verify",
"deps:reconcile": "node scripts/dependency-state.mjs reconcile",
"ci:prepush": "node scripts/ci-prepush-lowend.mjs",
"ci:local:full": "pnpm run lint && pnpm run typecheck && pnpm run i18n:check && pnpm run guardrail:desktop-imports && pnpm run native-readiness:check && pnpm run tauri-plugins:check",
"predev": "node scripts/sync-csp.mjs && node scripts/sync-sw-version.mjs && node scripts/sync-tauri-version.mjs && node scripts/sync-readme-metrics.mjs && node scripts/build-i18n.mjs && node scripts/copy-duckdb-assets.mjs",
"dev": "vite",
"dev:turbo": "turbo run dev --parallel",
"prebuild": "node scripts/sync-csp.mjs && node scripts/sync-sw-version.mjs && node scripts/sync-tauri-version.mjs && node scripts/sync-readme-metrics.mjs && node scripts/build-i18n.mjs && node scripts/copy-duckdb-assets.mjs",
"smoke:prod": "node scripts/smoke-prod-build.mjs",
"i18n:bundle": "node scripts/build-i18n.mjs",
"i18n:check": "node scripts/check-i18n-keys.mjs && node scripts/build-i18n.mjs && node scripts/content-guard.mjs",
"i18n:report": "node scripts/i18n-quality-report.mjs",
"i18n:quality": "node scripts/i18n-quality-report.mjs --strict --min-coverage 75 --max-length-outliers 8",
"verify:vendor": "node scripts/verify-vendor-fork.mjs",
"i18n:status": "tsx scripts/i18n-status-dashboard.ts",
"content:guard": "node scripts/content-guard.mjs",
"parity:check": "tsx scripts/audit-feature-parity.ts",
"docs:check": "node scripts/check-doc-metrics.mjs",
"csp:sync": "node scripts/sync-csp.mjs",
"csp:check": "node scripts/check-csp-policy.mjs",
"csp:verify": "node scripts/sync-csp.mjs && git diff --exit-code -- index.html nginx.conf public/_headers vercel.json src-tauri/tauri.conf.json && node scripts/check-csp-policy.mjs",
"native-readiness:check": "node scripts/check-native-readiness.mjs",
"tauri-plugins:check": "node scripts/check-tauri-plugin-versions.mjs",
"workflow-policy:check": "node scripts/workflow-policy-check.mjs",
"pr-size:check": "node scripts/check-pr-size.mjs",
"suppressions:check": "node scripts/check-suppressions.mjs",
"token:audit": "node scripts/audit-tokens.mjs",
"guardrail:desktop-imports": "node scripts/check-tauri-import-boundary.mjs",
"sync:readme": "node scripts/sync-readme-metrics.mjs",
"graphify": "node scripts/graphs-cli.mjs graphify",
"graphify:install": "node scripts/graphs-cli.mjs graphify install",
"graphify:update": "node scripts/graphs-cli.mjs graphify update .",
"graphify:bootstrap": "node scripts/graphify-bootstrap.mjs",
"graphify:hooks": "node scripts/graphs-cli.mjs graphify hook install",
"graphify:status": "node scripts/graphs-cli.mjs graphify hook status",
"codegraph:bootstrap": "node scripts/codegraph-bootstrap.mjs",
"codegraph:init": "node scripts/graphs-cli.mjs codegraph init",
"codegraph:status": "node scripts/graphs-cli.mjs codegraph status",
"codegraph:update": "node scripts/graphs-cli.mjs codegraph index --force",
"codegraph:sync": "node scripts/graphs-cli.mjs codegraph sync",
"codegraph:report": "node scripts/codegraph-report.mjs",
"codegraph:affected": "git diff --name-only HEAD | node scripts/graphs-cli.mjs codegraph affected --stdin",
"graphs:bootstrap": "node scripts/graphs-cli.mjs bootstrap",
"graphs:doctor": "node scripts/graphs-cli.mjs doctor",
"graphs:status": "node scripts/graphs-cli.mjs status",
"graphs:update": "node scripts/graphs-cli.mjs update",
"graphs:report": "node scripts/graphs-cli.mjs report",
"graphs:refresh": "node scripts/graphs-cli.mjs refresh",
"build": "vite build",
"build:edge": "node scripts/build-edge.mjs",
"build:pages": "vite build",
"build:turbo": "turbo run build",
"preview": "vite preview",
"typecheck": "tsgo --project tsconfig.tsgo.json --noEmit --checkers 4",
"typecheck:single": "tsgo --project tsconfig.tsgo.json --noEmit",
"typecheck:parallel": "tsgo --project tsconfig.tsgo.json --noEmit --checkers 4",
"typecheck:turbo": "turbo run typecheck",
"lhci:assert": "lhci autorun --upload.target=temporary-public-storage",
"tauri": "tauri",
"tauri:dev": "tauri dev",
"tauri:build": "tauri build",
"lint": "biome lint --max-diagnostics=200 --error-on-warnings",
"mutation": "node scripts/assert-ci-only.mjs mutation testing && stryker run stryker.config.mjs --incremental",
"mutation:force": "node scripts/assert-ci-only.mjs mutation testing && stryker run stryker.config.mjs --incremental --force",
"mutation:report": "node scripts/aggregate-stryker-reports.mjs all-reports",
"lint:turbo": "turbo run lint",
"lint:fix": "biome check --write",
"format": "biome format --write .",
"test": "vitest",
"test:turbo": "turbo run test",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"bench": "vitest bench --run tests/bench",
"test:e2e": "node -e \"if (process.env.CI !== 'true') { console.error('E2E tests are CI-only. Set CI=true or run via GitHub Actions.'); process.exit(1); }\" && playwright test",
"test:e2e:ui": "node -e \"if (process.env.CI !== 'true') { console.error('E2E tests are CI-only. Set CI=true or run via GitHub Actions.'); process.exit(1); }\" && playwright test --ui",
"test:e2e:deep": "node -e \"if (process.env.CI !== 'true') { console.error('E2E deep tests are CI-only. Set CI=true or run via GitHub Actions.'); process.exit(1); }\" && RUN_DEEP_E2E=1 playwright test tests/e2e/deep/ --project=chromium",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test:storybook": "test-storybook",
"test:vrt": "PLAYWRIGHT_REUSE_SERVER=true playwright test tests/e2e/visual-regression.spec.ts --project=chromium",
"analyze": "ANALYZE=true vite build",
"bundle:budget": "node scripts/check-bundle-budget.mjs",
"bundle:report": "node scripts/bundle-report.mjs",
"dev:tauri": "tauri dev",
"ci:quick": "bash infra/low-end-ci/scripts/ci-quick.sh",
"ci:quick:unit": "bash infra/low-end-ci/scripts/ci-quick.sh --unit",
"ci:quick:coverage": "bash infra/low-end-ci/scripts/ci-quick.sh --unit --coverage",
"ci:act": "bash infra/low-end-ci/scripts/ci-act-sequential.sh pull_request",
"ci:act:full": "bash infra/low-end-ci/scripts/ci-act-sequential.sh pull_request --with-storybook --e2e-chromium-only",
"deploy:cloudflare": "node scripts/cf-pages-deploy.mjs"
},
"dependencies": {
"@ai-sdk/google": "^4.0.59",
"@ai-sdk/openai": "^4.0.53",
"@ai-sdk/react": "^4.0.67",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@domain/ai-core": "workspace:*",
"@domain/collab-transport": "workspace:*",
"@domain/ui": "workspace:*",
"@domain/worker-bus": "workspace:*",
"@duckdb/duckdb-wasm": "^1.32.0",
"@fontsource/inter": "^5.2.8",
"@fontsource/jetbrains-mono": "^5.3.0",
"@fontsource/merriweather": "^5.3.0",
"@fontsource/noto-naskh-arabic": "^5.3.0",
"@fontsource/noto-sans": "^5.3.0",
"@fontsource/noto-sans-arabic": "^5.2.10",
"@fontsource/noto-sans-hebrew": "^5.3.0",
"@fontsource/noto-sans-jp": "^5.3.0",
"@fontsource/noto-sans-kr": "^5.3.0",
"@fontsource/noto-sans-sc": "^5.3.0",
"@google/genai": "^2.15.0",
"@reduxjs/toolkit": "^2.12.0",
"@tanstack/react-virtual": "^3.14.9",
"@tauri-apps/api": "^2.11.1",
"@tauri-apps/plugin-dialog": "^2.7.1",
"@tauri-apps/plugin-fs": "^2.5.1",
"@tauri-apps/plugin-http": "^2.6.0",
"@tauri-apps/plugin-notification": "^2.4.0",
"@tauri-apps/plugin-process": "^2.3.1",
"@tauri-apps/plugin-shell": "^2.3.5",
"@tauri-apps/plugin-updater": "^2.11.0",
"@xstate/react": "^6.1.0",
"ai": "^7.0.64",
"diff-match-patch": "^1.0.5",
"docx": "^9.7.1",
"dompurify": "^3.4.14",
"driver.js": "^1.8.0",
"jspdf": "^4.2.1",
"jszip": "^3.10.1",
"lz-string": "^1.5.0",
"mammoth": "^1.12.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-force-graph-2d": "^1.29.1",
"react-redux": "^9.3.0",
"recharts": "^3.10.1",
"redux-undo": "^1.1.0",
"uuid": "14",
"xstate": "^5.32.5",
"y-indexeddb": "^9.0.12",
"yjs": "^13.6.32",
"zod": "^4.1.5",
"zustand": "^5.0.15"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@biomejs/biome": "^2.5.8",
"@codecov/vite-plugin": "2.0.1",
"@lhci/cli": "^0.15.1",
"@playwright/test": "^1.62.1",
"@storybook/addon-a11y": "^10.5.10",
"@storybook/builder-vite": "^10.5.10",
"@storybook/react": "^10.5.10",
"@storybook/react-vite": "^10.5.10",
"@storybook/test-runner": "^0.24.4",
"@stryker-mutator/api": "9.6.1",
"@stryker-mutator/core": "9.6.1",
"@stryker-mutator/vitest-runner": "9.6.1",
"@tailwindcss/vite": "^4.3.3",
"@tauri-apps/cli": "^2.11.4",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.3",
"@types/node": "^25.9.2",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.5",
"@typescript/native-preview": "beta",
"@typescript/typescript6": "npm:typescript@~6.0.3",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/coverage-v8": "^4.1.11",
"fake-indexeddb": "^6.2.5",
"http-server": "^14.1.1",
"jsdom": "^29.1.1",
"lint-staged": "^17.4.1",
"rollup-plugin-visualizer": "^7.0.1",
"simple-git-hooks": "^2.13.1",
"storybook": "^10.5.10",
"tailwindcss": "^4.3.3",
"tsx": "^4.23.12",
"turbo": "^2.10.12",
"vite": "^8.2.1",
"vite-plugin-pwa": "^1.3.0",
"vitest": "^4.1.11",
"wait-on": "^9.1.0",
"wrangler": "^4.127.1",
"y-protocols": "^1.0.7",
"yaml": "^2.9.0"
},
"simple-git-hooks": {
"pre-commit": "node scripts/hooks/pre-commit.mjs",
"commit-msg": "node scripts/hooks/commit-msg.mjs \"$1\"",
"pre-push": "node scripts/hooks/pre-push.mjs \"$@\""
},
"lint-staged": {
"*.{ts,tsx,js,mjs,css,md,json}": "biome check --write --error-on-warnings --no-errors-on-unmatched --files-ignore-unknown=true",
"public/locales/**/bundle.json": "node -e \"process.exit(0)\"",
"graphify-out/**": "node -e \"process.exit(0)\"",
".codegraph/**": "node -e \"process.exit(0)\""
}
}