Skip to content

Commit 5c263de

Browse files
committed
chore: enable commitlint and adds standard-version
1 parent 482ae19 commit 5c263de

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

commitlint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] };

package.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
"name": "saml",
33
"version": "0.14.0",
44
"devDependencies": {
5+
"@commitlint/cli": "^9.1.2",
6+
"@commitlint/config-conventional": "^9.1.2",
7+
"husky": "^4.3.0",
58
"mocha": "3.5.3",
6-
"should": "~1.2.1"
9+
"should": "~1.2.1",
10+
"standard-version": "^9.0.0"
711
},
812
"main": "./lib",
913
"repository": "https://github.com/auth0/node-saml",
@@ -24,6 +28,12 @@
2428
"xpath": "0.0.5"
2529
},
2630
"scripts": {
31+
"release": "standard-version",
2732
"test": "mocha"
33+
},
34+
"husky": {
35+
"hooks": {
36+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
37+
}
2838
}
2939
}

0 commit comments

Comments
 (0)