Sink-In / express-generator-babel-boilerplate

Express generator boilerplate with Babel, ESLint Airbnb, SASS and Twig support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express Generator Babel Boilerplate

  • 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

Setup

  • git clone https://github.com/sink-in/express-generator-babel-boilerplate.git
  • cd express-generator-boilerplate
  • Remove .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.

Commands to Run

  • 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.

About

Express generator boilerplate with Babel, ESLint Airbnb, SASS and Twig support.


Languages

Language:JavaScript 83.0%Language:HTML 10.9%Language:CSS 6.1%