build: update scripts

This commit is contained in:
Karl-Philipp Wulfert
2019-01-28 13:56:20 +01:00
parent 3d9afcabb6
commit 557880d846

View File

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