This is a boilerplate for a project. It is a good starting point for a new project, can apply for any project, good better for JS.
Eslint
: Statically analyzes your code to quickly find problemsPrettier
: Sormats your code to be more readableCommitlint
: Analyzes your commit messages to make sure they are correct. Read more rule in Rule CommitGithub Actions
: Runs tests lastly before pushing to GithubHusky
: Runs linting, tests, and code formatting before each commitlint-staged
: Runs linting and tests on staged filescommitizen
: Help you to create a correct commit messagecz-conventional-changelog
: Generates a changelog based on the changes in your working directorystandard-version
: Auto generate release changeloggitattributes
: Handle line endings automatically for files detected
- Create your features and run
git add .
- Run
npm run lint
to check your code and format it - Execute the
npm run commit
in the command line to make a commit with Commitizen - Run
npm run release
to create a changelog and a semantic versioning-based release