Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 736 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 736 Bytes

Node ES6 Boilerplate

Boilerplate for Node.js projects with lint, transpile and test configurations.

 

Installation

  1. Clone repo
    git clone https://github.com/chriptus13/node-es6-boilerplate.git <dir_name>

  2. Change directory
    cd <dir_name>

  3. Remove git folder
    *nix: rm -rf ./.git
    win: RD /S /Q .git

  4. Edit package.json
    Change name, version, description, repository, author, bugs, homepage

  5. Install packages
    npm install

  6. Update packages
    npm update

 

Scripts

  1. build
    Transpile ES6 to build directory.

  2. dist
    Transpile and minify ES6 to dist directory.

  3. test
    Run tests in test firectory.