Babel Node.js Express Setup
A starter pack for server side JavaScript applications using standards from ES2015, ES2016, ES2017. It uses Babel to compile from this standard to ES5. This project used express framework
Usage
Installation
Install the dependencies
$ npm install
Start server using development build
This will use babel-register package tot compile our code to ES5 without outputing any additional folder that has the compiled code, and will start the server using nodemon package
$ npm start
Clean
Deletes the dist folder
$ npm run clean
Build
Clean project, then compile the contents of server folder using babel, places the output into dist folder created by babel, besides this also gives the source maps that are used for debugging purposes
$ npm run build
Start server using production build
This will call the build command will start the server using production build
$ npm run production
More Info
Author
Spatari Stanislav
License
This project is licensed under the MIT License