From d233489b9138a6c1f5cf25c689c274b65eee343c Mon Sep 17 00:00:00 2001 From: Kepler Sticka-Jones Date: Sun, 22 Apr 2018 10:00:42 -0600 Subject: [PATCH] build(release): initial adoption of semantic-release and commitlint (#50) --- package.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fede33a..a9f2365 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "url": "https://github.com/AtomLinter/atom-linter-perlcritic/issues" }, "scripts": { + "commitmsg": "commitlint -e $GIT_PARAMS", "test": "apm test", "lint": "eslint ." }, @@ -107,6 +108,12 @@ "linter:2.0.0" ], "devDependencies": { + "@commitlint/cli": "^6.1.3", + "@commitlint/config-conventional": "^6.1.3", + "@commitlint/travis-cli": "^6.1.3", + "@semantic-release/apm-config": "^2.0.1", + "husky": "^0.14.3", + "semantic-release": "^15.1.7", "eslint": "^4.6.0", "eslint-config-airbnb-base": "^12.0.0", "eslint-plugin-import": "^2.7.0", @@ -133,5 +140,13 @@ "node": true, "browser": true } + }, + "release": { + "extends": "@semantic-release/apm-config" + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] } -} +} \ No newline at end of file