-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.22 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 3.22 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
{
"name": "documentcloud-frontend",
"version": "3.0.0",
"type": "module",
"private": true,
"dependencies": {
"@cfworker/json-schema": "^4.1.1",
"@floating-ui/dom": "^1.6.11",
"@plausible-analytics/tracker": "^0.4.4",
"@sveltejs/adapter-cloudflare": "^7.2.8",
"@sveltejs/kit": "^2.55.0",
"@sveltejs/vite-plugin-svelte": "^6.0.0",
"autoprefixer": "^10.4.23",
"driver.js": "^1.3.6",
"esbuild": "^0.25.12",
"fast-deep-equal": "^3.1.3",
"filesize": "^10.1.1",
"lodash-es": "^4.17.21",
"lucene": "^2.1.1",
"marked": "^7.0.5",
"marked-gfm-heading-id": "^3.0.6",
"pdfjs-dist": "^4.6.82",
"postcss": "^8.5.3",
"prosemirror-commands": "^1.7.0",
"prosemirror-history": "^1.4.1",
"prosemirror-keymap": "^1.2.2",
"prosemirror-model": "^1.24.1",
"prosemirror-state": "^1.4.3",
"prosemirror-view": "^1.38.1",
"sanitize-html": "^2.17.0",
"svelecte": "^5.3.0",
"svelte": "^5.55.0",
"svelte-i18n": "^4.0.1",
"svelte-octicons": "^18.20.0",
"svelte-preprocess": "^6.0.3",
"sveltekit-flash-message": "^2.4.6",
"vite": "^6.0.0"
},
"devDependencies": {
"@storybook/addon-actions": "^8.6.14",
"@storybook/addon-essentials": "^8.6.15",
"@storybook/addon-interactions": "^8.6.15",
"@storybook/addon-links": "^8.6.14",
"@storybook/addon-svelte-csf": "^5.0.10",
"@storybook/svelte": "^8.6.15",
"@storybook/sveltekit": "^8.6.15",
"@storybook/test": "^8.6.15",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/svelte": "^5.0.0",
"@testing-library/user-event": "^14.6.1",
"@types/lodash-es": "^4.17.12",
"@types/lucene": "^2.1.7",
"@types/node": "^24.1.0",
"@types/sanitize-html": "^2.16.0",
"@vitest/coverage-v8": "^4.0.16",
"chromatic": "^13.3.4",
"jsdom": "^26.1.0",
"knip": "^5.62.0",
"msw": "^2.7.0",
"msw-storybook-addon": "^2.0.6",
"prettier": "^3.7.4",
"prettier-plugin-svelte": "^3.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"resize-observer-polyfill": "^1.5.1",
"storybook": "^8.6.14",
"storybook-addon-cookie": "^4.0.1",
"svelte-check": "^4.3.4",
"typescript": "^5.8.3",
"vitest": "^4.0.16",
"wrangler": "^4.81.1"
},
"scripts": {
"dev": "NODE_ENV=development vite dev",
"dev:remote": "NODE_ENV=remote PUBLIC_ENV=remote vite dev --host local.staging.documentcloud.org",
"build": "vite build && node embeds.js",
"build:staging": "NODE_ENV=staging vite build && node embeds.js",
"preview": "vite preview",
"sync": "svelte-kit sync",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
"test": "TZ=UTC vitest run",
"test:unit": "TZ=UTC vitest run",
"test:watch": " TZ=UTC vitest watch",
"test:coverage": "TZ=UTC vitest run --coverage",
"test:dev": "TZ=UTC vitest watch --coverage",
"format": "prettier --write .",
"format:check": "prettier --check src",
"build-storybook": "storybook build",
"storybook": "storybook dev -p 6006",
"knip": "knip"
},
"engine": 22,
"browserslist": "> 0.25%, not dead",
"msw": {
"workerDirectory": "./public"
}
}