From b81dae19a004cbd547990d34d74338c1207f35f5 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 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5f62bc7..086545b 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ } }, "scripts": { + "commitmsg": "commitlint -e $GIT_PARAMS", "lint": "eslint .", "test": "apm test" }, @@ -37,6 +38,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", @@ -62,5 +69,13 @@ "node": true, "browser": true } + }, + "release": { + "extends": "@semantic-release/apm-config" + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] } -} +} \ No newline at end of file