Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit b38ebd6

Browse files
committed
build(release): initial adoption of semantic-release and commitlint
1 parent ae7b10e commit b38ebd6

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

package.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
}
4949
},
5050
"scripts": {
51+
"commitmsg": "commitlint -e $GIT_PARAMS",
5152
"test": "apm test",
5253
"lint": "eslint ."
5354
},
@@ -64,6 +65,12 @@
6465
"clang-flags": "^0.2.2"
6566
},
6667
"devDependencies": {
68+
"@commitlint/cli": "^6.1.3",
69+
"@commitlint/config-conventional": "^6.1.3",
70+
"@commitlint/travis-cli": "^6.1.3",
71+
"@semantic-release/apm-config": "^2.0.1",
72+
"husky": "^0.14.3",
73+
"semantic-release": "^15.1.7",
6774
"eslint": "^4.6.0",
6875
"eslint-config-airbnb-base": "^12.0.0",
6976
"eslint-plugin-import": "^2.7.0",
@@ -92,5 +99,13 @@
9299
"browser": true,
93100
"node": true
94101
}
102+
},
103+
"release": {
104+
"extends": "@semantic-release/apm-config"
105+
},
106+
"commitlint": {
107+
"extends": [
108+
"@commitlint/config-conventional"
109+
]
95110
}
96-
}
111+
}

0 commit comments

Comments
 (0)