Skip to content

Commit 69460e5

Browse files
update peerDependencies
1 parent 4e17bd6 commit 69460e5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"build:dist": "rollup -c",
2626
"build:lib:cjs": "cross-env BABEL_OUTPUT=cjs babel src/ --out-dir lib/cjs/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
2727
"build:lib:esm": "babel src/ --out-dir lib/esm/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
28+
"build:lib:esm-pf": "cross-env INCLUDE_POLYFILLS=true babel src/ --out-dir lib/esm-including-polyfills/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
2829
"build:scss:dev": "sass themes/scss:themes style/scss:style --no-source-map",
2930
"build:scss:pro": "sass themes/minified-scss:themes style/minified-scss:style --style compressed --no-source-map",
3031
"clean:lib": "rimraf lib",
@@ -35,9 +36,9 @@
3536
"deploy": "gh-pages -d demo"
3637
},
3738
"peerDependencies": {
38-
"@babel/runtime-corejs3": "^7.18.3",
39-
"react": "^18.1.0",
40-
"react-dom": "^18.1.0"
39+
"@babel/runtime-corejs3": ">=7.18.3",
40+
"react": ">=16.8.0",
41+
"react-dom": ">=16.8.0"
4142
},
4243
"devDependencies": {
4344
"@babel/cli": "^7.13.14",
@@ -50,6 +51,7 @@
5051
"@babel/preset-react": "^7.10.4",
5152
"@babel/runtime-corejs3": "^7.13.10",
5253
"@rollup/plugin-node-resolve": "^13.1.3",
54+
"@rollup/plugin-commonjs": "^18.0.0",
5355
"babel-loader": "^8.1.0",
5456
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
5557
"cross-env": "^7.0.3",

0 commit comments

Comments
 (0)