|
1 | 1 | {
|
2 | 2 | "name": "@ohif/extension-monai-label",
|
3 |
| - "version": "0.0.1", |
| 3 | + "version": "3.0.0", |
4 | 4 | "description": "OHIFv3 extension for MONAI Label",
|
5 | 5 | "author": "OHIF,NVIDIA,KCL",
|
6 | 6 | "license": "MIT",
|
7 |
| - "main": "dist/umd/extension-monai-label/index.umd.js", |
| 7 | + "main": "dist/ohif-extension-monai-label.umd.js", |
| 8 | + "module": "src/index.tsx", |
8 | 9 | "files": [
|
9 | 10 | "dist/**",
|
10 | 11 | "public/**",
|
|
14 | 15 | "keywords": [
|
15 | 16 | "ohif-extension"
|
16 | 17 | ],
|
17 |
| - "module": "src/index.tsx", |
18 | 18 | "publishConfig": {
|
19 | 19 | "access": "public"
|
20 | 20 | },
|
|
24 | 24 | "yarn": ">=1.18.0"
|
25 | 25 | },
|
26 | 26 | "scripts": {
|
| 27 | + "clean": "shx rm -rf dist", |
| 28 | + "clean:deep": "yarn run clean && shx rm -rf node_modules", |
27 | 29 | "dev": "cross-env NODE_ENV=development webpack --config .webpack/webpack.dev.js --watch --output-pathinfo",
|
28 |
| - "dev:my-extension": "yarn run dev", |
29 | 30 | "build": "cross-env NODE_ENV=production webpack --config .webpack/webpack.prod.js",
|
30 |
| - "build:package": "yarn run build", |
31 |
| - "start": "yarn run dev" |
| 31 | + "build:package-1": "yarn run build", |
| 32 | + "start": "yarn run dev", |
| 33 | + "test:unit": "jest --watchAll", |
| 34 | + "test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests" |
32 | 35 | },
|
33 | 36 | "peerDependencies": {
|
34 |
| - "@ohif/core": "^3.7.0-beta.80", |
35 |
| - "@ohif/extension-default": "^3.7.0-beta.80", |
36 |
| - "@ohif/extension-cornerstone": "^3.7.0-beta.80", |
37 |
| - "@ohif/i18n": "^3.7.0-beta.80", |
| 37 | + "@ohif/core": "3.10.0-beta.5", |
| 38 | + "@ohif/extension-cornerstone": "3.10.0-beta.5", |
| 39 | + "@ohif/extension-default": "3.10.0-beta.5", |
| 40 | + "@ohif/i18n": "3.10.0-beta.5", |
38 | 41 | "prop-types": "^15.6.2",
|
39 |
| - "react": "^17.0.2", |
40 |
| - "react-dom": "^17.0.2", |
| 42 | + "react": "^18.3.1", |
| 43 | + "react-dom": "^18.3.1", |
41 | 44 | "react-i18next": "^12.2.2",
|
42 |
| - "react-router": "^6.8.1", |
43 |
| - "react-router-dom": "^6.8.1" |
| 45 | + "react-router": "^6.23.1", |
| 46 | + "react-router-dom": "^6.23.1" |
44 | 47 | },
|
45 | 48 | "dependencies": {
|
46 | 49 | "@babel/runtime": "^7.20.13",
|
| 50 | + "@cornerstonejs/adapters": "^2.2.3", |
| 51 | + "@cornerstonejs/core": "^2.2.3", |
| 52 | + "@kitware/vtk.js": "32.1.0", |
| 53 | + "react-color": "^2.19.3", |
47 | 54 | "md5.js": "^1.3.5",
|
48 | 55 | "axios": "^0.21.1",
|
49 | 56 | "arraybuffer-concat": "^0.0.1",
|
50 | 57 | "ndarray": "^1.0.19",
|
51 | 58 | "nrrd-js": "^0.2.1",
|
52 | 59 | "pako": "^2.0.3",
|
53 |
| - "react-color": "^2.19.3", |
54 | 60 | "bootstrap": "^5.0.2",
|
55 | 61 | "react-select": "^4.3.1",
|
56 |
| - "chroma-js": "^2.1.2", |
57 |
| - "itk": "^14.1.1" |
| 62 | + "chroma-js": "^2.1.2" |
58 | 63 | },
|
59 | 64 | "devDependencies": {
|
60 | 65 | "@babel/runtime": "^7.20.13",
|
61 |
| - "@cornerstonejs/tools": "^1.16.4", |
| 66 | + "@cornerstonejs/adapters": "^2.2.3", |
| 67 | + "@cornerstonejs/core": "^2.2.3", |
| 68 | + "@cornerstonejs/tools": "^2.2.3", |
62 | 69 | "react-color": "^2.19.3"
|
63 | 70 | }
|
64 | 71 | }
|
0 commit comments