@trubavuong/node-starter
v1.2.0
Published
NodeJS application boilerplate
Downloads
2
Readme
node-starter
NodeJS application boilerplate
Features
- EditorConfig
- Eslint
- Prettier
- Jest
- Husky
- Changelog
- Visual Studio Code
Quick start
Prepare your app
$ git clone https://github.com/trubavuong/node-starter my-app
$ cd my-app
$ rm -rf .git && git init .Edit some files
- Update
package.json - Remove
package-lock.json - Update
LICENSE - Update
README.md - Clean
CHANGELOG.md
Enjoy
$ npm installPopular NPM tasks
- lint
- test
- test:watch
- test:cover
- qc (lint + test)
- version:major
- version:minor
- version:patch
- release
Release and publish steps
- Create and switch to a release branch
- Run
npm run version:* - Merge the release branch to
masteranddevelopbranch - Create a git tag version in
masterbranch - Delete the release branch
- Run
npm run release - Run
npm publish(ornpm publish --access public)
Note: git-flow can be used here (step 1, 3-5)
