|
25 | 25 | "build:dist": "rollup -c",
|
26 | 26 | "build:lib:cjs": "cross-env BABEL_OUTPUT=cjs babel src/ --out-dir lib/cjs/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
|
27 | 27 | "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", |
28 | 29 | "build:scss:dev": "sass themes/scss:themes style/scss:style --no-source-map",
|
29 | 30 | "build:scss:pro": "sass themes/minified-scss:themes style/minified-scss:style --style compressed --no-source-map",
|
30 | 31 | "clean:lib": "rimraf lib",
|
|
35 | 36 | "deploy": "gh-pages -d demo"
|
36 | 37 | },
|
37 | 38 | "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" |
41 | 42 | },
|
42 | 43 | "devDependencies": {
|
43 | 44 | "@babel/cli": "^7.13.14",
|
|
50 | 51 | "@babel/preset-react": "^7.10.4",
|
51 | 52 | "@babel/runtime-corejs3": "^7.13.10",
|
52 | 53 | "@rollup/plugin-node-resolve": "^13.1.3",
|
| 54 | + "@rollup/plugin-commonjs": "^18.0.0", |
53 | 55 | "babel-loader": "^8.1.0",
|
54 | 56 | "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
55 | 57 | "cross-env": "^7.0.3",
|
|
0 commit comments