Skip to content

Commit

Permalink
feat: move babel optional presets and plugins into peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sastan committed Nov 10, 2019
1 parent 942e874 commit b308d53
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@
"typescript": "^3.7.2"
},
"dependencies": {
"@babel/core": "^7.7.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@babel/core": "^7.6.4",
"@babel/runtime": "^7.6.3",
"@types/mkdirp": "^0.5.2",
"@types/node": "^12.12.7",
"@types/resolve": "0.0.8",
Expand All @@ -82,9 +80,19 @@
"tslib": "^1.10.0"
},
"peerDependencies": {
"@babel/preset-env": "^7.6.3",
"@babel/plugin-transform-runtime": "^7.6.2",
"typescript": "^3.x",
"rollup": "^1.26.3"
},
"peerDependenciesMeta": {
"@babel/preset-env": {
"optional": true
},
"@babel/plugin-transform-runtime": {
"optional": true
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"browser": "./dist/esm/index.js",
Expand Down

0 comments on commit b308d53

Please sign in to comment.