forked from google/neuroglancer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
403 lines (403 loc) · 20.6 KB
/
package.json
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
{
"name": "neuroglancer",
"description": "Visualization tool for 3-D volumetric data.",
"license": "Apache-2.0",
"version": "2.40.1",
"repository": {
"type": "git",
"url": "git+https://github.com/google/neuroglancer.git"
},
"engines": {
"node": ">=20.10 <21 || >=21.2"
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions"
],
"scripts": {
"generate-code": "tsx ./config/generate_code.ts",
"update-conditions": "tsx ./build_tools/update-conditions.ts",
"prepare": "tsx ./build_tools/build-package.ts --inplace --if-not-toplevel",
"prepack": "tsx ./build_tools/build-package.ts --inplace",
"postpack": "tsx ./build_tools/postpack.ts",
"build": "tsx ./build_tools/cli.ts build",
"build:watch": "tsx ./build_tools/cli.ts build --watch",
"dev-server": "tsx ./build_tools/cli.ts serve",
"dev-server-python": "tsx ./build_tools/cli.ts --python serve",
"build-package": "tsx ./build_tools/build-package.ts",
"build-python": "tsx ./build_tools/cli.ts --python build",
"build-python:watch": "tsx ./build_tools/cli.ts --python build --watch",
"test": "vitest --run",
"test:watch": "vitest watch",
"benchmark": "vitest bench --run",
"benchmark:watch": "vitest bench",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"format:check": "prettier --cache . -c",
"format:fix": "prettier --cache -w -l .",
"typecheck": "tsc --noEmit",
"version": "tsx ./build_tools/after-version-change.ts"
},
"devDependencies": {
"@types/codemirror": "5.60.15",
"@types/gl-matrix": "^2.4.5",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.14.12",
"@types/pako": "^2.0.3",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"@vitest/browser": "^2.0.4",
"@vitest/ui": "^2.0.4",
"css-loader": "^7.1.2",
"esbuild": "^0.23.0",
"esbuild-loader": "^4.2.2",
"eslint": "^8.56.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-interactive": "^10.8.0",
"eslint-plugin-import": "^2.29.1",
"eslint-webpack-plugin": "^4.0.1",
"fork-ts-checker-webpack-plugin": "^6.5.3",
"glob": "^11.0.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
"prettier": "3.3.3",
"style-loader": "^4.0.0",
"svg-inline-loader": "^0.8.2",
"tsx": "^4.16.2",
"typescript": "^5.5.4",
"vitest": "^2.0.4",
"webdriverio": "^8.39.1",
"webpack": "^5.93.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^6.0.1"
},
"dependencies": {
"codemirror": "^5.61.1",
"gl-matrix": "3.1.0",
"glsl-editor": "^1.0.0",
"ikonate": "github:mikolajdobrucki/ikonate#a86b4107c6ec717e7877f880a930d1ccf0b59d89",
"lodash-es": "^4.17.21",
"nifti-reader-js": "^0.6.8",
"numcodecs": "^0.3.2",
"pako": "^2.1.0"
},
"overrides": {
"@puppeteer/browsers": ">=2"
},
"files": [
"lib/**/*"
],
"private": true,
"type": "module",
"exports": {
".": "./src/main_module.ts",
"./unstable/*.js": "./src/*.ts",
"./unstable/*": "./src/*"
},
"imports": {
"#src/third_party/jpgjs/jpg.js": "./src/third_party/jpgjs/jpg.js",
"#src/*.js": "./src/*.ts",
"#src/*": "./src/*",
"#testdata/*": "./testdata/*",
"#datasource/boss/backend": {
"neuroglancer/datasource/boss:enabled": "./src/datasource/boss/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/boss:disabled": "./src/datasource/boss/backend.ts",
"default": "./src/datasource/boss/backend.ts"
},
"#datasource/boss/async_computation": {
"neuroglancer/datasource/boss:enabled": "./src/datasource/boss/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/boss:disabled": "./src/datasource/boss/async_computation.ts",
"default": "./src/datasource/boss/async_computation.ts"
},
"#datasource/boss/register_default": {
"neuroglancer/datasource/boss:enabled": "./src/datasource/boss/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/boss:disabled": "./src/datasource/boss/register_default.ts",
"default": "./src/datasource/boss/register_default.ts"
},
"#datasource/boss/register_credentials_provider": {
"neuroglancer/python": "./src/util/false.ts",
"neuroglancer/datasource/boss:enabled": "./src/datasource/boss/register_credentials_provider.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/boss:disabled": "./src/datasource/boss/register_credentials_provider.ts",
"default": "./src/datasource/boss/register_credentials_provider.ts"
},
"#datasource/brainmaps/backend": {
"neuroglancer/datasource/brainmaps:enabled": "./src/datasource/brainmaps/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/brainmaps:disabled": "./src/datasource/brainmaps/backend.ts",
"default": "./src/datasource/brainmaps/backend.ts"
},
"#datasource/brainmaps/async_computation": {
"neuroglancer/datasource/brainmaps:enabled": "./src/datasource/brainmaps/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/brainmaps:disabled": "./src/datasource/brainmaps/async_computation.ts",
"default": "./src/datasource/brainmaps/async_computation.ts"
},
"#datasource/brainmaps/register_default": {
"neuroglancer/datasource/brainmaps:enabled": "./src/datasource/brainmaps/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/brainmaps:disabled": "./src/datasource/brainmaps/register_default.ts",
"default": "./src/datasource/brainmaps/register_default.ts"
},
"#datasource/brainmaps/register_credentials_provider": {
"neuroglancer/python": "./src/util/false.ts",
"neuroglancer/datasource/brainmaps:enabled": "./src/datasource/brainmaps/register_credentials_provider.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/brainmaps:disabled": "./src/datasource/brainmaps/register_credentials_provider.ts",
"default": "./src/datasource/brainmaps/register_credentials_provider.ts"
},
"#datasource/deepzoom/backend": {
"neuroglancer/datasource/deepzoom:enabled": "./src/datasource/deepzoom/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/deepzoom:disabled": "./src/datasource/deepzoom/backend.ts",
"default": "./src/datasource/deepzoom/backend.ts"
},
"#datasource/deepzoom/async_computation": {
"neuroglancer/datasource/deepzoom:enabled": "./src/datasource/deepzoom/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/deepzoom:disabled": "./src/datasource/deepzoom/async_computation.ts",
"default": "./src/datasource/deepzoom/async_computation.ts"
},
"#datasource/deepzoom/register_default": {
"neuroglancer/datasource/deepzoom:enabled": "./src/datasource/deepzoom/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/deepzoom:disabled": "./src/datasource/deepzoom/register_default.ts",
"default": "./src/datasource/deepzoom/register_default.ts"
},
"#datasource/dvid/backend": {
"neuroglancer/datasource/dvid:enabled": "./src/datasource/dvid/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/dvid:disabled": "./src/datasource/dvid/backend.ts",
"default": "./src/datasource/dvid/backend.ts"
},
"#datasource/dvid/async_computation": {
"neuroglancer/datasource/dvid:enabled": "./src/datasource/dvid/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/dvid:disabled": "./src/datasource/dvid/async_computation.ts",
"default": "./src/datasource/dvid/async_computation.ts"
},
"#datasource/dvid/register_default": {
"neuroglancer/datasource/dvid:enabled": "./src/datasource/dvid/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/dvid:disabled": "./src/datasource/dvid/register_default.ts",
"default": "./src/datasource/dvid/register_default.ts"
},
"#datasource/dvid/register_credentials_provider": {
"neuroglancer/python": "./src/util/false.ts",
"neuroglancer/datasource/dvid:enabled": "./src/datasource/dvid/register_credentials_provider.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/dvid:disabled": "./src/datasource/dvid/register_credentials_provider.ts",
"default": "./src/datasource/dvid/register_credentials_provider.ts"
},
"#datasource/graphene/backend": {
"neuroglancer/datasource/graphene:enabled": "./src/datasource/graphene/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/graphene:disabled": "./src/datasource/graphene/backend.ts",
"default": "./src/datasource/graphene/backend.ts"
},
"#datasource/graphene/async_computation": {
"neuroglancer/datasource/graphene:enabled": "./src/datasource/graphene/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/graphene:disabled": "./src/datasource/graphene/async_computation.ts",
"default": "./src/datasource/graphene/async_computation.ts"
},
"#datasource/graphene/register_default": {
"neuroglancer/datasource/graphene:enabled": "./src/datasource/graphene/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/graphene:disabled": "./src/datasource/graphene/register_default.ts",
"default": "./src/datasource/graphene/register_default.ts"
},
"#datasource/middleauth/register_credentials_provider": {
"neuroglancer/python": "./src/util/false.ts",
"neuroglancer/datasource/middleauth:enabled": "./src/datasource/middleauth/register_credentials_provider.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/middleauth:disabled": "./src/datasource/middleauth/register_credentials_provider.ts",
"default": "./src/datasource/middleauth/register_credentials_provider.ts"
},
"#datasource/n5/backend": {
"neuroglancer/datasource/n5:enabled": "./src/datasource/n5/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/n5:disabled": "./src/datasource/n5/backend.ts",
"default": "./src/datasource/n5/backend.ts"
},
"#datasource/n5/async_computation": {
"neuroglancer/datasource/n5:enabled": "./src/datasource/n5/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/n5:disabled": "./src/datasource/n5/async_computation.ts",
"default": "./src/datasource/n5/async_computation.ts"
},
"#datasource/n5/register_default": {
"neuroglancer/datasource/n5:enabled": "./src/datasource/n5/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/n5:disabled": "./src/datasource/n5/register_default.ts",
"default": "./src/datasource/n5/register_default.ts"
},
"#datasource/ngauth/register_credentials_provider": {
"neuroglancer/python": "./src/util/false.ts",
"neuroglancer/datasource/ngauth:enabled": "./src/datasource/ngauth/register_credentials_provider.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/ngauth:disabled": "./src/datasource/ngauth/register_credentials_provider.ts",
"default": "./src/datasource/ngauth/register_credentials_provider.ts"
},
"#datasource/nggraph/backend": {
"neuroglancer/datasource/nggraph:enabled": "./src/datasource/nggraph/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/nggraph:disabled": "./src/datasource/nggraph/backend.ts",
"default": "./src/datasource/nggraph/backend.ts"
},
"#datasource/nggraph/register_default": {
"neuroglancer/datasource/nggraph:enabled": "./src/datasource/nggraph/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/nggraph:disabled": "./src/datasource/nggraph/register_default.ts",
"default": "./src/datasource/nggraph/register_default.ts"
},
"#datasource/nifti/backend": {
"neuroglancer/datasource/nifti:enabled": "./src/datasource/nifti/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/nifti:disabled": "./src/datasource/nifti/backend.ts",
"default": "./src/datasource/nifti/backend.ts"
},
"#datasource/nifti/async_computation": {
"neuroglancer/datasource/nifti:enabled": "./src/datasource/nifti/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/nifti:disabled": "./src/datasource/nifti/async_computation.ts",
"default": "./src/datasource/nifti/async_computation.ts"
},
"#datasource/nifti/register_default": {
"neuroglancer/datasource/nifti:enabled": "./src/datasource/nifti/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/nifti:disabled": "./src/datasource/nifti/register_default.ts",
"default": "./src/datasource/nifti/register_default.ts"
},
"#datasource/obj/backend": {
"neuroglancer/datasource/obj:enabled": "./src/datasource/obj/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/obj:disabled": "./src/datasource/obj/backend.ts",
"default": "./src/datasource/obj/backend.ts"
},
"#datasource/obj/async_computation": {
"neuroglancer/datasource/obj:enabled": "./src/datasource/obj/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/obj:disabled": "./src/datasource/obj/async_computation.ts",
"default": "./src/datasource/obj/async_computation.ts"
},
"#datasource/obj/register_default": {
"neuroglancer/datasource/obj:enabled": "./src/datasource/obj/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/obj:disabled": "./src/datasource/obj/register_default.ts",
"default": "./src/datasource/obj/register_default.ts"
},
"#datasource/precomputed/backend": {
"neuroglancer/datasource/precomputed:enabled": "./src/datasource/precomputed/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/precomputed:disabled": "./src/datasource/precomputed/backend.ts",
"default": "./src/datasource/precomputed/backend.ts"
},
"#datasource/precomputed/async_computation": {
"neuroglancer/datasource/precomputed:enabled": "./src/datasource/precomputed/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/precomputed:disabled": "./src/datasource/precomputed/async_computation.ts",
"default": "./src/datasource/precomputed/async_computation.ts"
},
"#datasource/precomputed/register_default": {
"neuroglancer/datasource/precomputed:enabled": "./src/datasource/precomputed/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/precomputed:disabled": "./src/datasource/precomputed/register_default.ts",
"default": "./src/datasource/precomputed/register_default.ts"
},
"#datasource/python/backend": {
"neuroglancer/python": "./src/datasource/python/backend.ts",
"default": "./src/util/false.ts"
},
"#datasource/render/backend": {
"neuroglancer/datasource/render:enabled": "./src/datasource/render/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/render:disabled": "./src/datasource/render/backend.ts",
"default": "./src/datasource/render/backend.ts"
},
"#datasource/render/async_computation": {
"neuroglancer/datasource/render:enabled": "./src/datasource/render/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/render:disabled": "./src/datasource/render/async_computation.ts",
"default": "./src/datasource/render/async_computation.ts"
},
"#datasource/render/register_default": {
"neuroglancer/datasource/render:enabled": "./src/datasource/render/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/render:disabled": "./src/datasource/render/register_default.ts",
"default": "./src/datasource/render/register_default.ts"
},
"#datasource/vtk/backend": {
"neuroglancer/datasource/vtk:enabled": "./src/datasource/vtk/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/vtk:disabled": "./src/datasource/vtk/backend.ts",
"default": "./src/datasource/vtk/backend.ts"
},
"#datasource/vtk/async_computation": {
"neuroglancer/datasource/vtk:enabled": "./src/datasource/vtk/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/vtk:disabled": "./src/datasource/vtk/async_computation.ts",
"default": "./src/datasource/vtk/async_computation.ts"
},
"#datasource/vtk/register_default": {
"neuroglancer/datasource/vtk:enabled": "./src/datasource/vtk/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/vtk:disabled": "./src/datasource/vtk/register_default.ts",
"default": "./src/datasource/vtk/register_default.ts"
},
"#datasource/zarr/backend": {
"neuroglancer/datasource/zarr:enabled": "./src/datasource/zarr/backend.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/zarr:disabled": "./src/datasource/zarr/backend.ts",
"default": "./src/datasource/zarr/backend.ts"
},
"#datasource/zarr/async_computation": {
"neuroglancer/datasource/zarr:enabled": "./src/datasource/zarr/async_computation.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/zarr:disabled": "./src/datasource/zarr/async_computation.ts",
"default": "./src/datasource/zarr/async_computation.ts"
},
"#datasource/zarr/register_default": {
"neuroglancer/datasource/zarr:enabled": "./src/datasource/zarr/register_default.ts",
"neuroglancer/datasource:none_by_default": "./src/util/false.ts",
"neuroglancer/datasource/zarr:disabled": "./src/datasource/zarr/register_default.ts",
"default": "./src/datasource/zarr/register_default.ts"
},
"#layer/annotation": {
"neuroglancer/layer/annotation:enabled": "./src/layer/annotation/index.ts",
"neuroglancer/layer:none_by_default": "./src/util/false.ts",
"default": "./src/layer/annotation/index.ts"
},
"#layer/image": {
"neuroglancer/layer/image:enabled": "./src/layer/image/index.ts",
"neuroglancer/layer:none_by_default": "./src/util/false.ts",
"default": "./src/layer/image/index.ts"
},
"#layer/segmentation": {
"neuroglancer/layer/segmentation:enabled": "./src/layer/segmentation/index.ts",
"neuroglancer/layer:none_by_default": "./src/util/false.ts",
"default": "./src/layer/segmentation/index.ts"
},
"#layer/single_mesh": {
"neuroglancer/layer/single_mesh:enabled": "./src/layer/single_mesh/index.ts",
"neuroglancer/layer:none_by_default": "./src/util/false.ts",
"default": "./src/layer/single_mesh/index.ts"
},
"#main": {
"neuroglancer/python": "./src/main_python.ts",
"default": "./src/main.ts"
},
"#python_integration_build": {
"neuroglancer/python": "./src/util/true.ts",
"default": "./src/util/false.ts"
}
}
}