babel-enhanced-node
v0.1.8
Published
Babel Enhanced Node
Downloads
13
Maintainers
Readme
Installation
Just install it and add to your package:
With NPM:
npm install --save-dev babel-enhanced-node
With Yarn:
yarn add --dev babel-enhanced-node
(Make sure you have babel-core
installed as dependency in your project as babel-node
only defines babel-core
as a "peerDependency")
Then use babel-node
in your package.json
in scripts section like this:
"scripts": {
"start": "babel-node src/main.js"
}
Or if you want to run directly:
yarn babel-node src/main.js