@trubavuong/node-starter
v1.2.0
Published
NodeJS application boilerplate
Downloads
1
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 install
Popular 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
master
anddevelop
branch - Create a git tag version in
master
branch - 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)