opus-toolkit-components 1.5.5 → 1.5.7

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,7 +1,21 @@
1
1
  {
2
2
  "name": "opus-toolkit-components",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "private": false,
5
+
6
+ "peerDependencies": {
7
+ "react": "^17.0.0 || ^18.0.0",
8
+ "react-dom": "^17.0.0 || ^18.0.0"
9
+ },
10
+ "peerDependenciesMeta": {
11
+ "react": {
12
+ "optional": false
13
+ },
14
+ "react-dom": {
15
+ "optional": false
16
+ }
17
+ },
18
+
5
19
  "dependencies": {
6
20
  "@headlessui/react": "^2.1.8",
7
21
  "@heroicons/react": "^2.1.5",
@@ -11,41 +25,17 @@
11
25
  "clsx": "^2.1.1",
12
26
  "js-cookie": "^3.0.5",
13
27
  "opus-toolkit-styles": "^1.2.5",
14
- "react": "^18.3.1",
15
- "react-dom": "^18.3.1",
16
28
  "react-icons": "^5.5.0",
17
29
  "react-router-dom": "^6.26.2",
18
30
  "react-scripts": "5.0.1",
19
31
  "semantic-ui-react": "^2.1.5",
20
32
  "web-vitals": "^2.1.4"
21
33
  },
22
- "scripts": {
23
- "start": "react-scripts start",
24
- "build": "webpack --mode production",
25
- "test": "react-scripts test",
26
- "eject": "react-scripts eject",
27
- "storybook": "storybook dev -p 6006",
28
- "build-storybook": "storybook build"
29
- },
30
- "eslintConfig": {
31
- "extends": [
32
- "react-app",
33
- "react-app/jest"
34
- ]
35
- },
36
- "browserslist": {
37
- "production": [
38
- ">0.2%",
39
- "not dead",
40
- "not op_mini all"
41
- ],
42
- "development": [
43
- "last 1 chrome version",
44
- "last 1 firefox version",
45
- "last 1 safari version"
46
- ]
47
- },
34
+
48
35
  "devDependencies": {
36
+ "react": "^18.3.1",
37
+ "react-dom": "^18.3.1",
38
+
49
39
  "@babel/core": "^7.28.3",
50
40
  "@babel/plugin-proposal-class-properties": "^7.18.6",
51
41
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
@@ -91,19 +81,49 @@
91
81
  "webpack-cli": "^5.1.4",
92
82
  "webpack-dev-server": "^5.1.0"
93
83
  },
94
- "description": "This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).",
84
+
85
+ "scripts": {
86
+ "start": "react-scripts start",
87
+ "build": "webpack --mode production",
88
+ "test": "react-scripts test",
89
+ "eject": "react-scripts eject",
90
+ "storybook": "storybook dev -p 6006",
91
+ "build-storybook": "storybook build"
92
+ },
93
+
94
+ "eslintConfig": {
95
+ "extends": [
96
+ "react-app",
97
+ "react-app/jest"
98
+ ]
99
+ },
100
+
101
+ "browserslist": {
102
+ "production": [
103
+ ">0.2%",
104
+ "not dead",
105
+ "not op_mini all"
106
+ ],
107
+ "development": [
108
+ "last 1 chrome version",
109
+ "last 1 firefox version",
110
+ "last 1 safari version"
111
+ ]
112
+ },
113
+
114
+ "description": "React component library",
95
115
  "main": "lib/main.b367a5ffd7f23d112345.js",
96
116
  "author": "Sye",
97
117
  "license": "ISC",
98
- "files": [
99
- "lib"
100
- ],
118
+ "files": ["lib"],
119
+
101
120
  "exports": {
102
121
  ".": {
103
122
  "import": "./lib/opus-components.main.js",
104
123
  "require": "./lib/opus-components.main.js"
105
124
  }
106
125
  },
126
+
107
127
  "directories": {
108
128
  "lib": "lib"
109
129
  }