From 57b95037c122ec60e83d46376de45f4c11aea540 Mon Sep 17 00:00:00 2001 From: Kepler Sticka-Jones Date: Sat, 14 Apr 2018 22:42:43 -0600 Subject: [PATCH] build(release): initial adoption of semantic-release and commitlint --- package.json | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9e8f3b2..00b6788 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "atom": ">=1.0.0 <2.0.0" }, "scripts": { + "commitmsg": "commitlint -e $GIT_PARAMS", "test": "apm test" }, "providedServices": { @@ -28,5 +29,21 @@ }, "package-deps": [ "linter" - ] -} + ], + "release": { + "extends": "@semantic-release/apm-config" + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, + "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" + } +} \ No newline at end of file