Use peerDependency for @babel register/node/cli.
This commit is contained in:
@@ -7,7 +7,7 @@ babel-node is a CLI that works exactly the same as the Node.js CLI, with the add
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install --save-dev @babel/node
|
||||
npm install --save-dev @babel/core @babel/node
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
"compiler"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/core": "7.0.0-beta.5",
|
||||
"@babel/polyfill": "7.0.0-beta.5",
|
||||
"@babel/register": "7.0.0-beta.5",
|
||||
"commander": "^2.8.1",
|
||||
@@ -25,6 +24,9 @@
|
||||
"output-file-sync": "^2.0.0",
|
||||
"v8flags": "^3.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": ">=7.0.0-beta.4 <7.0.0-rc.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/helper-fixtures": "7.0.0-beta.5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user