Express generator boilerplate with Babel, ESLint Airbnb, SASS and Twig support.
git clone https://github.com/sink-in/express-generator-babel-boilerplate.git
cd express-generator-boilerplate
.git
directory.npm i
to install all the dependencies.npx install-peerdeps --dev eslint-config-airbnb
for ESLint Airbnb setup if not already installed on your system.npm start
or npm run dev
for the development build with auto reload using nodemon.npm run build
for production build. This will convert all the ES5+ code to ES5. After that you can run it from root directory via node build/bin/index.js
.npm run clean
to remove the production directory.