Skip to content

riskers/single-bootstrap-template

Repository files navigation

single bootstrap template

NPM Example

Lint and Format

Limit package management

Limit the types of package management Strictly (default PNPM).

If you want to modify, you can change the engines field in package.json.

Husky

If husky not works:

chmod ug+x .husky/*
chmod ug+x .git/hooks/*

reference stackoverflow

Commitlint

commitlint will check commit message before you commit.

rules

Release NPM package on Github Action

  1. Change npm's name in package.json.

  2. Apply NPM_TOKEN and fill in your repo's secrets:

  1. Auto publish package by semantic-release on Github Action.