opus-toolkit-components 1.7.8 → 1.7.9

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,19 +1,17 @@
1
1
  {
2
2
  "name": "opus-toolkit-components",
3
- "version": "1.7.8",
3
+ "version": "1.7.9",
4
4
  "private": false,
5
+
5
6
  "peerDependencies": {
6
7
  "react": "^17.0.0 || ^18.0.0",
7
8
  "react-dom": "^17.0.0 || ^18.0.0"
8
9
  },
9
10
  "peerDependenciesMeta": {
10
- "react": {
11
- "optional": false
12
- },
13
- "react-dom": {
14
- "optional": false
15
- }
11
+ "react": { "optional": false },
12
+ "react-dom": { "optional": false }
16
13
  },
14
+
17
15
  "dependencies": {
18
16
  "@headlessui/react": "^2.1.8",
19
17
  "@heroicons/react": "^2.1.5",
@@ -29,6 +27,7 @@
29
27
  "semantic-ui-react": "^2.1.5",
30
28
  "web-vitals": "^2.1.4"
31
29
  },
30
+
32
31
  "devDependencies": {
33
32
  "@babel/core": "^7.28.3",
34
33
  "@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -80,6 +79,7 @@
80
79
  "webpack-cli": "^5.1.4",
81
80
  "webpack-dev-server": "^5.1.0"
82
81
  },
82
+
83
83
  "scripts": {
84
84
  "start": "react-scripts start",
85
85
  "test": "react-scripts test",
@@ -87,15 +87,13 @@
87
87
  "storybook": "storybook dev -p 6006",
88
88
  "build-storybook": "storybook build",
89
89
  "generate:types": "node index-dts-generator.js",
90
- "copy:types": "npx cpy \"src/**/*.d.ts\" lib --parents",
91
- "build": "npm run generate:types && webpack --mode production && npm run copy:types"
90
+ "build": "npm run generate:types && webpack --mode production"
92
91
  },
92
+
93
93
  "eslintConfig": {
94
- "extends": [
95
- "react-app",
96
- "react-app/jest"
97
- ]
94
+ "extends": ["react-app", "react-app/jest"]
98
95
  },
96
+
99
97
  "browserslist": {
100
98
  "production": [
101
99
  ">0.2%",
@@ -108,21 +106,24 @@
108
106
  "last 1 safari version"
109
107
  ]
110
108
  },
109
+
111
110
  "description": "React component library",
112
- "main": "lib/opus-components.main.js",
111
+
112
+ "main": "lib/main.js",
113
113
  "types": "lib/index.d.ts",
114
- "author": "Sye",
115
- "license": "ISC",
116
- "files": [
117
- "lib"
118
- ],
114
+
119
115
  "exports": {
120
116
  ".": {
121
- "types": "./lib/index.d.ts",
122
- "import": "./lib/opus-components.main.js",
123
- "require": "./lib/opus-components.main.js"
117
+ "require": "./lib/main.js",
118
+ "types": "./lib/index.d.ts"
124
119
  }
125
120
  },
121
+
122
+ "files": ["lib"],
123
+
124
+ "author": "Sye",
125
+ "license": "ISC",
126
+
126
127
  "directories": {
127
128
  "lib": "lib"
128
129
  }