cz-customizable-ghooks

v1.5.0
Integrate [cz-customizable](https://github.com/leonardoanalista/cz-customizable) config with [ghooks](https://github.com/gtramontina/ghooks) or [husky](https://github.com/typicode/husky) to use a single configuration for commit message generation AND comm
cz-customizable ghooks husky commitizen commit validation git

pre-release

npm-run-all verify test:coverage build

build

cross-env NODE_ENV=production npm run clean:prod

clean:prod

rimraf dist/

coverage

npm-run-all test:coverage test:check-coverage

dev

cross-env NODE_ENV=development npm run verify:watch

release

npm-run-all build verify test:unit:once

semantic-release

semantic-release pre && npm publish && semantic-release post

start

npm run dev

test

npm run test:unit

test:check-coverage

cross-env NODE_ENV=test istanbul check-coverage reports/coverage/coverage.json --config config/testUnit/istanbul.js

test:coverage

npm-run-all test:unit:once test:check-coverage --silent

test:unit

chokidar 'lib/**/*.js' 'test/**/*.js' -c 'npm run test:unit:once' --initial --silent

test:unit:once

cross-env NODE_ENV=test istanbul cover --config config/testUnit/istanbul.js _mocha -- --opts config/testUnit/mocha.opts

upload-coverage

cat reports/coverage/lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js

verify

npm run verify:js --silent

verify:js

eslint -c config/verify/.eslintrc "lib/**/*.js" "test/**/*.js" "config/**/*.js" && echo ✅ verify:js success

verify:js:fix

eslint --fix -c config/verify/.eslintrc "lib/**/*.js" "test/**/*.js" "config/**/*.js" && echo ✅ verify:js:fix success

verify:js:watch

chokidar 'lib/**/*.js' 'test/**/*.js' 'config/**/*.js' -c 'npm run verify:js:fix' --initial --silent

verify:watch

npm run verify:js:watch --silent

Metadata

  • MIT
  • >=4.x
  • Brett Uglow
  • released 2/1/2017

Downloads

Maintainers