Make babel-node a standalone package (#6023)

* Make babel-node a standalone package

* New package `babel-node` previously `babel-cli/bin/babel-node`

* updates
This commit is contained in:
Brian Ng
2017-07-29 21:26:28 -05:00
committed by Henry Zhu
parent e32042f353
commit 6d965c0926
30 changed files with 627 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# babel-node
> A Babel-powered Node.js CLI
babel-node is a CLI that works exactly the same as the Node.js CLI, with the added benefit of compiling with Babel presets and plugins before running it.
## Install
```sh
npm install --save-dev babel-node
```
## Usage
```sh
babel-node [options] [ -e script | script.js ] [arguments]
```