chore(ci): semantic commit

This commit is contained in:
Rodrigo Rodriguez (pragmatismo.io) 2018-11-12 13:23:23 -02:00
parent bf48d12f76
commit 8d5ddf7e14
2 changed files with 10 additions and 2 deletions

View file

@ -32,6 +32,7 @@ after_success:
- npm pack
deploy:
- provider: pages
skip_cleanup: true
local_dir: docs/reference
@ -46,6 +47,7 @@ deploy:
skip_cleanup: true
on:
tags: false
branch: main
- provider: npm
skip_cleanup: true
@ -53,3 +55,4 @@ deploy:
api_key: $NPM_TOKEN
on:
tags: false
branch: main

View file

@ -38,7 +38,7 @@
"secure": "nsp check",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
"unused-deps": "dependency-check --unused --no-dev ./package.json",
"travis-deploy-once": "travis-deploy-once",
"travis-deploy-once": "travis-deploy-once -pro",
"semantic-release": "semantic-release",
"commit": "git-cz"
},
@ -187,9 +187,14 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"pre-git": {
"commit-msg": "simple",
"pre-commit": [],
"pre-commit": [
"npm prune",
"git add packages/*.ts",
"npm run ban"
],
"pre-push": [],
"post-commit": [],
"post-checkout": [],