diff --git a/package.json b/package.json index 64450431c..2494f9432 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "functional-beta": "cucumber-js --format=progress --tags '(not @ignore) and (not @prod)' --retry 2 --fail-fast --exit", "functional-dev": "cucumber-js --format=./node_modules/cucumber-pretty --tags '(not @ignore) and (not @prod)' --retry 2 --fail-fast --exit", "create-test-user": "node -e 'require(\"./features/scripts/create-test-user.js\")()'", - "diagrams": "find ./design/diagrams -type f -name \\*.puml -print0 | xargs -0 -n 1 -I DIAGRAM puml generate DIAGRAM -o DIAGRAM.png" + "diagrams": "find ./design/diagrams -type f -name \\*.puml -print0 | xargs -0 -n 1 -I DIAGRAM puml generate DIAGRAM -o DIAGRAM.png", + "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "bin": { "screwdriver-api": "./bin/server" @@ -124,6 +125,12 @@ "uuid": "^8.3.0", "verror": "^1.6.1" }, + "release": { + "debug": false, + "verifyConditions": { + "path": "./node_modules/semantic-release/src/lib/plugin-noop.js" + } + }, "devDependencies": { "@octokit/rest": "~18.0.3", "chai": "~3.5.0",