Last active
February 11, 2019 14:15
-
-
Save khaledosman/f59890f487e9622c6a39c417c747ed98 to your computer and use it in GitHub Desktop.
package.json quick setup to work with es6 modules in node without using --experimental-modules and .mjs files or setting up a webpack.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"devDependencies": { | |
"babel-cli": "^6.26.0", | |
"babel-preset-env": "^1.7.0", | |
"nodemon": "^1.18.3" | |
}, | |
"babel": { | |
"presets": [ | |
"env" | |
] | |
}, | |
"scripts": { | |
"start": "nodemon ./server.js --exec babel-node --inspect" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment