Boilerplate for Node.js projects with lint, transpile and test configurations.
-
Clone repo
git clone https://github.com/chriptus13/node-es6-boilerplate.git <dir_name>
-
Change directory
cd <dir_name>
-
Remove git folder
*nix:rm -rf ./.git
win:RD /S /Q .git
-
Edit package.json
Changename, version, description, repository, author, bugs, homepage
-
Install packages
npm install
-
Update packages
npm update
-
build
Transpile ES6 to build directory. -
dist
Transpile and minify ES6 to dist directory. -
test
Run tests intest
firectory.