From 557880d846b3863aa8cf45939300c87f63215171 Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Mon, 28 Jan 2019 13:56:20 +0100 Subject: [PATCH] build: update scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9a759dd8..51f5210c 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "scripts": { "build": "npm run tslint && npm run compile && npm run documentation", "compile": "rimraf lib/* && tsc --outDir lib && prepend lib/cli.js '#!/usr/bin/env node\n'", - "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'", "documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src", "install": "node lib/cli.js -p $INIT_CWD || true", - "prepareOnly": "npm run build", + "prepublishOnly": "npm run build", "test": "echo \"Error: no test specified\" && exit 1", "tslint": "tslint 'src/**/*.ts'" },