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'" },