- Added Babel support (ES6 and later) to the existing express-generator's default directory without any changes in functionality.
- Some additional configurations contains:
- ESLint Airbnb
- SASS
- Twig
git clone https://github.com/sink-in/express-generator-babel-boilerplate.gitcd express-generator-boilerplate- Remove
.gitdirectory. npm ito install all the dependencies.npx install-peerdeps --dev eslint-config-airbnbfor ESLint Airbnb setup if not already installed on your system.
npm startornpm run devfor the development build with auto reload using nodemon.npm run buildfor production build. This will convert all the ES5+ code to ES5. After that you can run it from root directory vianode build/bin/index.js.npm run cleanto remove the production directory.