forked from cornerstonejs/cornerstone3D
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
198 lines (198 loc) · 6.89 KB
/
package.json
File metadata and controls
198 lines (198 loc) · 6.89 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
{
"name": "root",
"description": "Cornerstone.js Monorepo Root",
"private": true,
"workspaces": [
"packages/adapters",
"packages/core",
"packages/dicomImageLoader",
"packages/nifti-volume-loader",
"packages/polymorphic-segmentation",
"packages/tools",
"packages/ai",
"packages/labelmap-interpolation",
"addOns/externals/*",
"addOns/local/*"
],
"repository": "https://github.com/cornerstonejs/cornerstone3D",
"sideEffects": false,
"engines": {
"node": ">=20",
"yarn": ">=1.19.1"
},
"scripts": {
"api-check": "npx lerna run api-check",
"format-check": "cross-env NODE_OPTIONS=--max_old_space_size=32896 npx lerna run format-check",
"build": "npx lerna run build --stream && npx lerna run build:loader",
"build:esm": "npx lerna run build:esm --stream",
"watch": "npx lerna watch -- lerna run build --scope=$LERNA_PACKAGE_NAME --include-dependents",
"build:update-api": "echo not needed anymore",
"clean": "npx lerna run clean --stream",
"clean:deep": "npx lerna run clean:deep --stream",
"example": "node ./utils/ExampleRunner/example-runner-cli.js",
"all-examples": "node ./utils/ExampleRunner/build-all-examples-cli.js --fromRoot",
"build-all-examples": "cross-env NODE_OPTIONS=--max_old_space_size=32896 node ./utils/ExampleRunner/build-all-examples-cli.js --build --fromRoot || (echo 'Build failed - likely due to memory constraints' && exit 1)",
"serve-static-examples": "npx serve .static-examples --listen 3333",
"build-and-serve-static-examples": "cross-env NODE_OPTIONS=--max_old_space_size=32896 yarn run build-all-examples && yarn run serve-static-examples",
"build:all": "npx lerna run build:all",
"dev": "yarn run all-examples",
"docs": "npx lerna run docs",
"docs:watch": "npx lerna run docs:watch",
"preinstall": "node preinstall.js",
"prepare": "husky",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"commit:prepare": "yarn test:ci && yarn test:unit",
"start": "yarn run dev",
"test:e2e:coverage": "nyc --reporter=html yarn run test:e2e:ci",
"test:e2e:ci": "npx playwright test",
"test:e2e:update": "npx playwright test --update-snapshots -g shouldUpdateThis",
"test:e2e:ui": "npx playwright test --ui",
"test:e2e:headed": "npx playwright test --headed",
"test:firefox": "karma start ./karma.conf.js --browsers Firefox",
"test:chrome": "karma start ./karma.conf.js --browsers Chrome",
"test:dev": "karma start",
"test:ci": "karma start --single-run",
"test:unit:ci": "yarn test:unit && yarn test:ci",
"test": "karma start",
"test:unit": "jest --collectCoverage",
"test:unit:no-coverage": "jest",
"test:debug": "karma start ./karma.conf.js --browsers Chrome --no-single-run",
"lint-staged": "lint-staged",
"lint": "oxlint packages/**/src --quiet",
"webpack:watch": "npx lerna run webpack:watch"
},
"devDependencies": {
"@babel/core": "7.26.10",
"@babel/plugin-external-helpers": "7.25.9",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-transform-class-static-block": "7.26.0",
"@babel/plugin-transform-runtime": "7.26.10",
"@babel/preset-env": "7.26.9",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.26.0",
"@babel/runtime": "7.26.10",
"@babel/runtime-corejs3": "7.26.10",
"@cornerstonejs/calculate-suv": "1.0.3",
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@microsoft/api-extractor": "7.49.2",
"@microsoft/tsdoc": "0.15.1",
"@playwright/test": "1.51.1",
"@prettier/plugin-oxc": "0.0.4",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.3.1",
"@rollup/plugin-typescript": "11.1.6",
"@rspack/cli": "1.2.8",
"@rspack/core": "1.2.8",
"@types/dom-webcodecs": "0.1.14",
"@types/emscripten": "1.40.0",
"@types/jasmine": "4.6.5",
"@types/jest": "29.5.14",
"@types/karma": "6.3.9",
"@types/node": "20.17.24",
"@types/react": "17.0.83",
"@types/react-dom": "17.0.26",
"@webgpu/types": "0.1.56",
"acorn": "8.14.1",
"acorn-jsx": "5.3.2",
"ajv": "8.17.1",
"autoprefixer": "10.4.21",
"babel-loader": "9.1.2",
"babel-plugin-istanbul": "7.0.0",
"babel-plugin-transform-import-meta": "2.3.2",
"chai": "5.2.0",
"clean-webpack-plugin": "4.0.0",
"commander": "10.0.1",
"concat": "1.0.3",
"copy-webpack-plugin": "11.0.0",
"core-js": "3.41.0",
"coverage-istanbul-loader": "3.0.5",
"coveralls": "3.1.1",
"cross-env": "7.0.3",
"css-loader": "6.11.0",
"cssnano": "6.1.2",
"dicomweb-client": "0.11.2",
"docdash": "1.2.0",
"dpdm": "3.14.0",
"execa": "7.2.0",
"exports-loader": "3.1.0",
"file-loader": "6.2.0",
"follow-redirects": "1.15.9",
"fs-extra": "10.1.0",
"html-webpack-plugin": "5.6.3",
"husky": "9.1.7",
"jasmine": "4.6.0",
"jest": "29.7.0",
"jest-canvas-mock": "2.5.2",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"jsdoc": "3.6.11",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-jasmine": "5.1.0",
"karma-junit-reporter": "2.0.1",
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.36",
"karma-webpack": "5.0.1",
"lerna": "8.2.1",
"lint-staged": "13.3.0",
"lodash": "4.17.21",
"mocha": "10.8.2",
"netlify-cli": "17.38.1",
"nyc": "17.1.0",
"open-cli": "7.2.0",
"oxlint": "1.9.0",
"path-browserify": "1.0.1",
"playwright-test-coverage": "1.2.12",
"postcss": "8.5.3",
"postcss-import": "15.1.0",
"postcss-loader": "7.3.4",
"postcss-preset-env": "8.5.1",
"prettier": "3.6.2",
"puppeteer": "13.7.0",
"resemblejs": "5.0.0",
"rollup": "3.29.5",
"semver": "7.7.1",
"shader-loader": "1.3.1",
"shelljs": "0.8.5",
"shx": "0.3.4",
"sinon": "15.2.0",
"source-map-support": "0.5.21",
"style-loader": "3.3.4",
"stylelint": "15.11.0",
"stylelint-config-recommended": "12.0.0",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"typedoc": "0.26.11",
"typescript": "5.5.4",
"unzipper": "0.10.14",
"url-loader": "4.1.1",
"webpack": "5.81.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.2",
"webpack-merge": "5.8.0",
"xml2js": "0.5.0"
},
"lint-staged": {
"packages/**/*.{ts,js,jsx,tsx,json,md,css}": [
"oxlint",
"prettier --write"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie < 11",
"not op_mini all"
],
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
"dependencies": {
"caniuse-lite": "1.0.30001734"
},
"resolutions": {
"canvas": "3.1.0"
}
}