NodeTemplate
Node.js package template.
Goals
- Use widely accepted practices and libraries
- Automate the creation and renaming of projects
- Projects share git history for easy updates
- Add functionality through template branches
Install
npm install node-template -g
Create a new project
node-template <project-name> <branch>
Available branches:
- master - Base npm package template (default)
- bookshelf - Bookshelf.js database ORM
- express - Express.js web server
- bookshelf-express - Bookshelf + Express
Start working
Run grunt
to watch for changes in src
and compile them to lib
.
Run npm test
to execute your test suite.
Contribute
Create an issue to discuss template changes.
Pull requests for template changes and new branches are even better.
Stay up to date
Watch this project on Github.
Follow Winton Welsh on Twitter.