forked from niivue/niivue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 3.53 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
{
"name": "@niivue/niivue",
"version": "0.43.3",
"description": "minimal webgl2 nifti image viewer",
"types": "./build/index.d.ts",
"main": "./build/index.js",
"type": "module",
"unpkg": "./dist/index.min.js",
"module": "./build/index.js",
"exports": {
".": {
"import": "./build/index.js"
},
"./min": {
"import": "./build/index.min.js"
}
},
"scripts": {
"dev": "vite",
"build:umd": "vite build --config vite.config.js --base=./ && vite build --config vite.config_inject.js --base=./",
"build": "tsup --config tsup.config.ts && npm run build:forTests && npm run build:min && npm run build:umd",
"build:forTests": "tsup --config tsup.config.tests.ts && npm run build:mindemos",
"build:min": "node bundle.js",
"build:mindemos": "node bundleForDemos.js",
"demo": "npm run build:forTests && rm -rf demos/dist && cp -r dist demos/dist && npx http-server demos/ --cors",
"demo-win": "npm run build && npx http-server demos/",
"test": "npm run build:forTests && npm run test:unit && jest --maxWorkers=1",
"test-win": "npm run build-win && jest",
"test-playwright": "npx playwright test --grep-invert \"niivue demo file:\"",
"test-demos": "npx playwright test playwright/e2e/test.demos.spec.ts",
"docs": "typedoc",
"test:unit": "vitest --run --coverage",
"serve-docs": "npx http-server devdocs",
"pub": "npm run build && npm publish --access public",
"lint": "eslint .",
"lint:ts": "tsc --noEmit",
"lint:fix": "eslint --fix .",
"lint:debug": "DEBUG=eslint:cli-engine eslint .",
"pretest-playwright": "npm run build:forTests && node preplaywrighttest.cjs && tsc --incremental -p playwright/e2e/tsconfig.json",
"pretest-demos": "npm run build:forTests && node preplaywrighttest.cjs && tsc --incremental -p playwright/e2e/tsconfig.json"
},
"files": [
"src",
"build",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/niivue/niivue.git"
},
"keywords": [
"niivue",
"webgl2",
"nifti",
"image",
"viewer"
],
"author": "niivue authors",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/niivue/niivue/issues"
},
"homepage": "https://github.com/niivue/niivue#readme",
"dependencies": {
"@lukeed/uuid": "^2.0.1",
"@ungap/structured-clone": "^1.2.0",
"array-equal": "^1.0.2",
"daikon": "^1.2.46",
"fflate": "^0.8.2",
"gl-matrix": "^3.4.3",
"nifti-reader-js": "^0.6.8",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@playwright/test": "^1.42.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@types/array-equal": "^1.0.2",
"@types/node": "^20.12.2",
"@types/ungap__structured-clone": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-tsdoc": "^0.2.17",
"express": "^4.19.2",
"happy-dom": "^14.3.10",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"jest-image-snapshot": "^6.4.0",
"jest-puppeteer": "^10.0.1",
"prettier": "^3.2.5",
"puppeteer": "^22.6.2",
"puppeteer-core": "^22.6.2",
"puppeteer-utilz": "^4.0.8",
"regenerator-runtime": "^0.14.1",
"tsup": "^8.0.2",
"typedoc": "^0.25.12",
"typescript": "^5.4.3",
"vite": "^5.2.7",
"vitest": "^1.4.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.13.2"
}
}