From 8a3b2764daae24c988877d373a1d83784a5e93d5 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 7913343..2b830d9 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "language-elixir" ], "scripts": { + "commitmsg": "commitlint -e $GIT_PARAMS", "lint": "eslint .", "test": "apm test" }, @@ -54,6 +55,12 @@ "tmp": "^0.0.33" }, "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", @@ -80,5 +87,13 @@ "node": true, "browser": true } + }, + "release": { + "extends": "@semantic-release/apm-config" + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] } -} +} \ No newline at end of file