forked from scalableminds/webknossos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
205 lines (205 loc) · 9.9 KB
/
package.json
File metadata and controls
205 lines (205 loc) · 9.9 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
{
"name": "webknossos",
"license": "AGPL-3.0",
"engines": {
"node": ">=22"
},
"repository": {
"type": "git",
"url": "git://github.com/scalableminds/webknossos.git"
},
"devDependencies": {
"@biomejs/biome": "^2.3.13",
"@redux-saga/testing-utils": "^1.1.5",
"@shaderfrog/glsl-parser": "^0.3.0",
"@types/color-hash": "^1.0.2",
"@types/cwise": "^1.0.4",
"@types/dagre": "^0.7.48",
"@types/file-saver": "^2.0.5",
"@types/hammerjs": "^2.0.46",
"@types/jsdom": "^21.1.7",
"@types/lodash-es": "^4",
"@types/lz-string": "^1.3.34",
"@types/merge-img": "^2.1.1",
"@types/ndarray": "^1.0.14",
"@types/ndarray-ops": "^1.2.7",
"@types/node": "^25.3.0",
"@types/pako": "^2.0.3",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@types/react": "^19.2.0",
"@types/react-command-palette": "^0.18.4",
"@types/react-dom": "^19.2.0",
"@types/shelljs": "^0.8.5",
"@types/three": "^0.169.0",
"@types/url-join": "^4.0.0",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "^4.0.16",
"abort-controller": "^3.0.0",
"babel-plugin-react-compiler": "^1.0.0",
"concurrently": "^9.2.1",
"coveralls": "^3.0.2",
"documentation": "^14.0.2",
"dpdm": "^3.14.0",
"husky": "^9.1.5",
"jsdom": "^26.1.0",
"knip": "^5.82.1",
"less": "^4.0.0",
"lz4-wasm-nodejs": "^0.9.2",
"merge-img": "^2.1.2",
"pg": "^7.4.1",
"pixelmatch": "^5.2.0",
"pngjs": "^3.3.3",
"puppeteer-core": "^19.7.2",
"redux-mock-store": "^1.2.2",
"shelljs": "^0.8.5",
"typescript": "~5.9.0",
"typescript-coverage-report": "^0.8.0",
"vite": "^7.3.1",
"vite-bundle-analyzer": "^1.3.2",
"vite-plugin-svgr": "^4.5.0",
"vite-plugin-wasm": "^3.5.0",
"vite-tsconfig-paths": "^6.0.3",
"vitest": "^4.0.16"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"start": "concurrently \"yarn dev\" \"yarn start-backend\" \"yarn start-fossildb\"",
"start-backend": "sbt \"run 9001\" -jvm-debug 5005 -J-XX:MaxMetaspaceSize=2048m -J-Xmx8g -Dlogger.file=conf/logback-dev.xml",
"start-fossildb": "fossildb/run.sh > fossildb/logs",
"dev-gen-tls": "./tools/gen-ssl-dev-certs.sh",
"@comment build-backend": "Only check for errors in the backend code like done by the CI. This command is not needed to run WEBKNOSSOS",
"build-backend": "yarn build-wk-backend && yarn build-wk-datastore && yarn build-wk-tracingstore && rm webknossos-tracingstore/conf/messages webknossos-datastore/conf/messages",
"build-wk-backend": "sbt -no-colors -DfailOnWarning compile stage",
"build-wk-datastore": "sbt -no-colors -DfailOnWarning \"project webknossosDatastore\" copyMessages compile stage",
"build-wk-tracingstore": "sbt -no-colors -DfailOnWarning \"project webknossosTracingstore\" copyMessages compile stage",
"build-dev": "vite build",
"build-watch": "vite build --watch",
"listening": "lsof -i:5005,7155,9000,9001,9002",
"kill-listeners": "kill -9 $(lsof -t -i:5005,7155,9000,9001,9002)",
"rm-fossil-lock": "rm -f fossildb/data/LOCK",
"test": "vitest --config vitest_spec.config.ts run",
"test-changed": "vitest --config vitest_spec.config.ts changed",
"test-watch": "vitest --config vitest_spec.config.ts watch",
"test-backend": "sbt \"testOnly backend.*\"",
"test-e2e": "vitest --config vitest_e2e.config.ts run --fileParallelism=false",
"test-screenshot": "vitest --config vitest_screenshot.config.ts run --testTimeout=300000 --hookTimeout=20000",
"test-wkorg-screenshot": "vitest --config vitest_wkorg_screenshot.config.ts run --testTimeout=300000 --hookTimeout=20000",
"refresh-screenshots": "tools/refresh-screenshots.sh",
"test-help": "echo For development it is recommended to run yarn test-prepare-watch in one terminal and yarn test-watch in another. This is the fastest way to perform incremental testing. If you are only interested in running test once, use yarn test.",
"remove-e2e-snapshots": "bash -c 'rm -rf frontend/javascripts/test/backend_snapshot_tests/__snapshots__/'",
"remove-all-snapshots": "rm -rf frontend/javascripts/test/snapshots/",
"stash-cmake-cache": "[ -f webknossos-jni/target/native/x86_64-linux/build/CMakeCache.txt ] && mv webknossos-jni/target/native/x86_64-linux/build/CMakeCache.txt webknossos-jni/target/native/x86_64-linux/build/CMakeCache.txt.bak || true",
"stash-pop-cmake-cache": "[ -f webknossos-jni/target/native/x86_64-linux/build/CMakeCache.txt.bak ] && mv webknossos-jni/target/native/x86_64-linux/build/CMakeCache.txt.bak webknossos-jni/target/native/x86_64-linux/build/CMakeCache.txt || true",
"refresh-e2e-snapshots": "yarn remove-e2e-snapshots && mkdir -p frontend/javascripts/test/snapshots/type_check && yarn stash-cmake-cache && ./tools/docker-env.sh sbt -v 'testOnly e2e.* -- -Ddatastore.watchFileSystem.enabled=false' && yarn stash-pop-cmake-cache",
"refresh-all-snapshots": "yarn remove-all-snapshots && yarn test && yarn refresh-e2e-snapshots",
"check-untyped-saga-selects": "./tools/check-no-untyped-select-imports.js",
"check-frontend": "yarn run biome check --diagnostic-level=error --max-diagnostics 50 frontend package.json && tools/assert-no-test-only.sh && yarn check-untyped-saga-selects",
"fix-frontend": "yarn run biome check --diagnostic-level=error --max-diagnostics 50 frontend package.json --write && echo Please proofread the applied suggestions, as they may not be safe.",
"format-backend": "sbt \";scalafmt; util/scalafmt; webknossosTracingstore/scalafmt; webknossosDatastore/scalafmt\"",
"lint-backend": "sbt \";scapegoat\"",
"licenses-backend": "sbt dumpLicenseReport",
"docs": "node_modules/.bin/documentation build --shallow frontend/javascripts/viewer/api/api_loader.ts frontend/javascripts/viewer/api/api_latest.ts --github --project-name \"WEBKNOSSOS Frontend API\" --format html --output public/assets/docs/frontend-api",
"refresh-schema": "./tools/postgres/dbtool.js refresh-schema && rm -f target/scala-2.13/src_managed/schema/com/scalableminds/webknossos/schema/Tables.scala",
"enable-storage-scan": "./tools/postgres/dbtool.js enable-storage-scan",
"enable-jobs": "sed -i -e 's/jobsEnabled = false/jobsEnabled = true/g' ./conf/application.conf; sed -i -e 's/voxelyticsEnabled = false/voxelyticsEnabled = true/g' ./conf/application.conf; ./tools/postgres/dbtool.js enable-jobs",
"disable-jobs": "sed -i -e 's/jobsEnabled = true/jobsEnabled = false/g' ./conf/application.conf; sed -i -e 's/voxelyticsEnabled = true/voxelyticsEnabled = false/g' ./conf/application.conf; ./tools/postgres/dbtool.js disable-jobs",
"insert-local-datastore": "./tools/postgres/dbtool.js insert-local-datastore",
"apply-evolutions": "tools/postgres/dbtool.js apply-evolutions",
"postinstall": "cd tools/postgres && yarn install",
"typecheck": "yarn tsc",
"ts": "yarn tsc",
"ts-watch": "yarn tsc --watch",
"ts-coverage": "typescript-coverage-report",
"find-cyclic-dependencies": "yarn run dpdm -T --tree false --warning false --extensions .ts,.tsx frontend/javascripts/main.tsx",
"check-cyclic-dependencies": "node ./tools/check-cyclic-dependencies.js",
"startf": "yarn rm-fossil-lock; yarn kill-listeners; rm -r webknossos-jni/target; yarn start",
"beautify-front": "yarn fix-frontend && yarn typecheck",
"beautify": "yarn format-backend && yarn beautify-front",
"knip": "knip"
},
"dependencies": {
"@airbrake/browser": "^2.1.7",
"@ant-design/colors": "^8.0.1",
"@ant-design/icons": "^6.1.0",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@github/webauthn-json": "^2.1.1",
"@scalableminds/prop-types": "^15.8.1",
"@tanstack/query-async-storage-persister": "^5.83.0",
"@tanstack/react-query": "^5.83.0",
"@tanstack/react-query-persist-client": "^5.83.0",
"@zip.js/zip.js": "^2.7.32",
"ansi-to-react": "^6.1.6",
"antd": "^6.1.4",
"ball-morphology": "^0.1.0",
"base64-js": "^1.2.1",
"beautiful-react-hooks": "^5.0.3",
"chalk": "^5.0.1",
"classnames": "^2.2.5",
"color-hash": "^2.0.1",
"comlink": "^4.3.0",
"cwise": "^1.0.10",
"dagre": "^0.8.5",
"dayjs": "^1.11.13",
"deep-for-each": "^2.0.3",
"deep-freeze": "0.0.1",
"dice-coefficient": "^2.1.0",
"distance-transform": "https://github.com/scalableminds/distance-transform",
"dompurify": "^3.3.0",
"file-saver": "^2.0.1",
"flexlayout-react": "0.7.15",
"hammerjs": "^2.0.8",
"html2canvas": "^1.4.1",
"immutability-helper": "^3.1.1",
"javascript-natural-sort": "^0.7.1",
"js-priority-queue": "^0.1.5",
"jsonschema": "^1.2.4",
"keyboardjs": "^2.7.0",
"lodash-es": "^4.17.23",
"lz-string": "^1.4.4",
"lz4-wasm": "^0.9.2",
"memoize-one": "^6.0.0",
"minisearch": "^5.0.0",
"mjs": "^1.0.0",
"ml-matrix": "^6.10.4",
"nanoevents": "^5.1.8",
"ndarray": "^1.0.19",
"ndarray-moments": "^1.0.0",
"ndarray-ops": "^1.2.2",
"pako": "^2.1.0",
"pretty-bytes": "^5.1.0",
"process": "^0.11.10",
"protobufjs": "^6.11.4",
"react": "^19.2.0",
"react-colorful": "^5.6.1",
"react-command-palette": "^0.22.1",
"react-dnd": "^16.0.0",
"react-dnd-html5-backend": "^16.0.0",
"react-dom": "^19.2.0",
"react-dropzone": "^11.3.1",
"react-flow-renderer": "^10.3.16",
"react-json-tree": "0.19.0",
"react-markdown": "^8.0.7",
"react-redux": "^9.2.0",
"react-router-dom": "^6.30.1",
"react-tooltip": "^5.27.1",
"react-virtualized-auto-sizer": "^1.0.24",
"redux": "5.0.1",
"redux-batched-actions": "^0.5.0",
"redux-saga": "^1.3.0",
"resumablejs": "^1.1.0",
"sax-ts": "^1.2.13",
"three": "^0.169.0",
"three-mesh-bvh": "^0.9.5",
"tween.js": "^16.3.1",
"typed-redux-saga": "^1.4.0",
"url": "^0.11.0",
"url-join": "^4.0.0"
},
"packageManager": "yarn@4.9.2",
"resolutions": {
"distance-transform": "https://github.com/scalableminds/distance-transform"
}
}