-
Notifications
You must be signed in to change notification settings - Fork 305
/
package.json
185 lines (185 loc) · 6.9 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
{
"name": "root",
"description": "Cornerstone.js Monorepo Root",
"private": true,
"workspaces": [
"packages/*",
"addOns/externals/*",
"addOns/local/*"
],
"repository": "https://github.com/cornerstonejs/cornerstone3D",
"sideEffects": false,
"engines": {
"node": ">=18",
"yarn": ">=1.19.1"
},
"scripts": {
"api-check": "npx lerna run api-check",
"format-check": "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:core": "cd packages/core && npm run build:update-api",
"build:update-api:tools": "cd packages/tools && npm run build:update-api",
"build:update-api:nifti": "cd packages/nifti-volume-loader && npm run build:update-api",
"build:update-api:dicomImageLoader": "cd packages/dicomImageLoader && npm run build:update-api",
"build:update-api": "npm run build:update-api:core && npm run build:update-api:tools && npm run build:update-api:nifti && npm run build:update-api:dicomImageLoader",
"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",
"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",
"commit:prepare": "yarn build:update-api && yarn test:ci && yarn test:unit",
"start": "yarn run dev",
"test:e2e:ci": "npx playwright test",
"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:debug": "karma start ./karma.conf.js --browsers Chrome --no-single-run",
"lint-staged": "lint-staged",
"lint": "eslint --quiet -c .eslintrc.json packages/**/src",
"webpack:watch": "npx lerna run webpack:watch"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-external-helpers": "^7.18.6",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/plugin-transform-class-static-block": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "7.21.5",
"@babel/runtime-corejs3": "^7.15.4",
"@cornerstonejs/calculate-suv": "1.0.3",
"@microsoft/api-extractor": "^7.47.2",
"@microsoft/tsdoc": "^0.15.0",
"@playwright/test": "^1.48.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-typescript": "^11.1.6",
"@rspack/cli": "^1.1.4",
"@rspack/core": "^1.1.4",
"@types/emscripten": "^1.39.6",
"@types/jasmine": "^4.3.1",
"@types/jest": "^29.5.12",
"@types/karma": "^6.3.3",
"@types/node": "^18.16.3",
"@types/react": "^17.0.58",
"@types/react-dom": "^17.0.20",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"acorn": "^8.8.2",
"acorn-jsx": "^5.3.2",
"ajv": "^8.17.1",
"autoprefixer": "^10.4.14",
"babel-loader": "9.1.2",
"babel-plugin-istanbul": "^6.1.1",
"chai": "^5.1.2",
"clean-webpack-plugin": "^4.0.0",
"commander": "^10.0.1",
"concat": "^1.0.3",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.26.1",
"coverage-istanbul-loader": "^3.0.5",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"cssnano": "^6.0.1",
"docdash": "^1.2.0",
"dpdm": "^3.14.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-webpack-plugin": "^4.0.1",
"execa": "^7.2.0",
"exports-loader": "^3.0.0",
"file-loader": "^6.2.0",
"follow-redirects": "^1.15.2",
"fs-extra": "^10.0.0",
"html-webpack-plugin": "^5.5.1",
"husky": "^9.1.4",
"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.7",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.0",
"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.0",
"lerna": "^8.1.9",
"lint-staged": "^13.2.2",
"lodash": "^4.17.21",
"mocha": "^10.4.0",
"netlify-cli": "^17.34.1",
"open-cli": "^7.0.1",
"path-browserify": "^1.0.1",
"postcss": "^8.4.23",
"postcss-import": "^15.1.0",
"postcss-loader": "^7.3.0",
"postcss-preset-env": "^8.3.2",
"prettier": "^2.8.8",
"puppeteer": "^13.5.0",
"resemblejs": "^5.0.0",
"rollup": "^3.21.3",
"semver": "^7.5.4",
"shader-loader": "^1.3.1",
"shelljs": "^0.8.5",
"shx": "^0.3.3",
"sinon": "^15.0.4",
"style-loader": "^3.3.2",
"stylelint": "^15.6.0",
"stylelint-config-recommended": "^12.0.0",
"ts-loader": "9.5.1",
"typedoc": "^0.26.10",
"typescript": "5.5.4",
"unzipper": "^0.10.11",
"url-loader": "^4.1.1",
"webpack": "5.81.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.13.3",
"webpack-merge": "5.8.0",
"xml2js": "^0.5.0"
},
"lint-staged": {
"packages/**/*.{ts,js,jsx,tsx,json,md,css}": [
"eslint --fix",
"prettier --write"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie < 11",
"not op_mini all"
],
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}