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 bc1e04d
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
],
"license": "MIT",
"devDependencies": {
"@babel/preset-env": "^7.7.1",
"@babel/plugin-transform-runtime": "^7.6.2",
"@wessberg/rollup-plugin-ts": "^1.1.73",
"@wessberg/scaffold": "^1.0.20",
"@wessberg/ts-config": "^0.0.42",
Expand All @@ -62,10 +64,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 +82,19 @@
"tslib": "^1.10.0"
},
"peerDependencies": {
"@babel/preset-env": "^7.7.1",
"@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 bc1e04d

Please sign in to comment.