babel-node-env
Installation
npm install --save @quentin-sommer/babel-node-env
Usage
Add this script in your package.json
:
{
"scripts": {
"start": "babel-node-env YOUR_ENTRY_POINT.js"
}
}
Then run npm start
to have babel automatically compile your file