From 4327e749706fe001fab64e9a70fbeaa1543283e5 Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Wed, 30 Jan 2019 15:03:33 +0100 Subject: [PATCH] build: update scripts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dd25389c..ea05956c 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,11 @@ "types": "lib/index.d.ts", "scripts": { "build": "npm run tslint && npm run compile && npm run documentation", - "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'", "check-configuration": "openstapps-configuration", "compile": "tsc", "documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src", + "prepublishOnly": "npm run build", "test": "nyc mocha --require ts-node/register --require source-map-support/register --ui mocha-typescript --recursive 'test/*.spec.ts'", "tslint": "tslint 'src/**/*.ts'" },