wmthor / es6-generator

Express application generator with ES6.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express Logo

Fork of original Express' application generator. Template kept up to date with:

  • Support for ES6
  • Latest package versions with security updates

NPM Version NPM Downloads Linux Build Windows Build Gratipay

Installation

$ git clone git@github.com:wmthor/es6-generator.git
$ cd es6-generator
$ npm install
$ cd ..

Quick Start

The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:

Create the app:

$ node es6-generator/bin/express-cli.js --view=pug --es6 my_project_name && cd my_project_name

Install dependencies:

$ npm install

Start your Express.js app at http://localhost:3000/:

$ npm start

Command Line Options

This generator can also be further configured with the following command line flags.

    --version        output the version number
    --es6            add ECMAScript 6 (ES2015) support
-e, --ejs            add ejs engine support
    --pug            add pug engine support
    --hbs            add handlebars engine support
-H, --hogan          add hogan.js engine support
-v, --view <engine>  add view <engine> support (dust|ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
-c, --css <engine>   add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
    --git            add .gitignore
-f, --force          force on non-empty directory
-h, --help           output usage information

License

MIT

About

Express application generator with ES6.

License:MIT License


Languages

Language:JavaScript 92.4%Language:EJS 4.9%Language:Pug 0.8%Language:Twig 0.6%Language:Handlebars 0.4%Language:SCSS 0.2%Language:CSS 0.2%Language:Less 0.2%Language:Sass 0.1%Language:Stylus 0.1%