@ohif/ui 1.10.11 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@ohif/ui",
3
- "version": "1.10.11",
3
+ "version": "3.0.0",
4
4
  "description": "A set of React components for Medical Imaging Viewers",
5
5
  "author": "OHIF Contributors",
6
6
  "license": "MIT",
7
- "repository": "OHIF/Viewers",
8
- "main": "dist/index.umd.js",
7
+ "main": "dist/ohif-ui.umd.js",
9
8
  "module": "src/index.js",
10
9
  "publishConfig": {
11
10
  "access": "public"
12
11
  },
13
12
  "engines": {
14
- "node": ">=10",
13
+ "node": ">=14",
15
14
  "npm": ">=6",
16
15
  "yarn": ">=1.16.0"
17
16
  },
@@ -20,51 +19,56 @@
20
19
  "README.md"
21
20
  ],
22
21
  "scripts": {
23
- "dev": "echo \"No dev script yet\" && exit 0",
24
- "dev:ui": "yarn run dev",
22
+ "start": "yarn run build --watch",
25
23
  "build": "cross-env NODE_ENV=production webpack --config .webpack/webpack.prod.js",
26
24
  "build:package": "yarn run build",
27
- "prepublishOnly": "yarn run build",
28
- "test:unit": "jest --watchAll",
29
- "test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
25
+ "storybook": "storybook dev -p 6006",
26
+ "dev": "storybook dev -p 6006",
27
+ "build-storybook": "storybook build"
30
28
  },
31
29
  "peerDependencies": {
32
- "@ohif/i18n": "^0.2.3",
33
- "i18next": "^17.0.3",
34
- "react": "^16.8.6",
35
- "react-dom": "^16.8.6",
36
- "react-i18next": "^10.11.0"
30
+ "react": "17.0.2",
31
+ "react-dom": "17.0.2"
37
32
  },
38
33
  "dependencies": {
39
- "@babel/runtime": "^7.5.5",
40
- "@ohif/i18n": "^0.2.3",
41
34
  "browser-detect": "^0.2.28",
42
- "classnames": "2.2.6",
43
- "dom-helpers": "^3.3.1",
44
- "i18next": "^17.0.3",
45
- "i18next-browser-languagedetector": "^3.0.1",
46
- "lodash.debounce": "^4.0.8",
47
- "lodash.isequal": "4.5.0",
35
+ "classnames": "^2.3.2",
36
+ "lodash.debounce": "4.0.8",
48
37
  "moment": "2.29.4",
49
- "prop-types": "15.6.2",
50
- "prop-types-extra": "^1.1.1",
51
- "react-dates": "21.2.1",
52
- "react-dnd": "9.4.0",
53
- "react-dnd-html5-backend": "^9.4.0",
54
- "react-dnd-touch-backend": "^9.4.0",
55
- "react-draggable": "^4.1.0",
56
- "react-error-boundary": "^2.2.1",
57
- "react-i18next": "^10.11.0",
58
- "react-modal": "^3.11.1",
59
- "react-overlays": "^0.8.0",
60
- "react-transition-group": "2.0.0",
61
- "react-with-direction": "1.3.0"
38
+ "mousetrap": "^1.6.5",
39
+ "react": "^17.0.2",
40
+ "react-dom": "^17.0.2",
41
+ "react-dates": "^21.8.0",
42
+ "react-dnd": "14.0.2",
43
+ "react-dnd-html5-backend": "14.0.0",
44
+ "react-draggable": "4.4.3",
45
+ "react-error-boundary": "^3.1.3",
46
+ "react-modal": "3.11.2",
47
+ "react-outside-click-handler": "^1.3.0",
48
+ "react-select": "3.0.8",
49
+ "react-with-direction": "^1.3.1",
50
+ "react-window": "^1.8.9",
51
+ "swiper": "^8.4.2",
52
+ "webpack": "^5.81.0"
62
53
  },
63
54
  "devDependencies": {
64
- "@mdx-js/tag": "^0.20.3",
65
- "autoprefixer": "^9.6.0",
66
- "lodash.clonedeep": "^4.5.0",
67
- "react-powerplug": "1.0.0"
68
- },
69
- "gitHead": "f004828337b238dc329913402e06bf6ee96963c9"
55
+ "@babel/core": "^7.21.4",
56
+ "@storybook/addon-actions": "^7.0.7",
57
+ "@storybook/addon-docs": "^7.0.7",
58
+ "@storybook/addon-essentials": "^7.0.7",
59
+ "@storybook/addon-links": "^7.0.7",
60
+ "@storybook/react": "^7.0.7",
61
+ "@storybook/react-webpack5": "^7.0.7",
62
+ "@storybook/source-loader": "^7.0.7",
63
+ "@storybook/cli": "^7.0.7",
64
+ "autoprefixer": "^10.4.14",
65
+ "babel-loader": "^9.1.2",
66
+ "dotenv-webpack": "^8.0.1",
67
+ "postcss": "^8.4.23",
68
+ "postcss-loader": "^7.2.4",
69
+ "prop-types": "^15.8.1",
70
+ "storybook": "^7.0.7",
71
+ "remark-gfm": "^3.0.1",
72
+ "tailwindcss": "3.2.4"
73
+ }
70
74
  }