Skip to content

Commit 8ba7f95

Browse files
committed
chore(contributing): added pre-commit hooks and docs on contributing
1 parent 6ace186 commit 8ba7f95

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
"precommit": "npm test",
1616
"commitmsg": "./node_modules/.bin/validate-commit-msg",
1717
"test": "npm run lint-prod && ./node_modules/.bin/ava --verbose",
18-
"test:watch": "npm run lint && ./node_modules/.bin/ava --verbose --watch"
18+
"test:watch": "npm run lint && ./node_modules/.bin/ava --verbose --watch",
19+
"release:patch": "npm run commit && npm version patch && git push upstream master --tags && npm publish",
20+
"release:minor": "npm run commit && npm version minor && git push upstream master --tags && npm publish",
21+
"release:major": "npm run commit && npm version major && git push upstream master --tags && npm publish"
1922
},
2023
"repository": {
2124
"type": "git",

0 commit comments

Comments
 (0)