build: fix build process

This commit is contained in:
Karl-Philipp Wulfert
2018-12-18 17:58:26 +01:00
parent 40a21110db
commit ec98d20b4a
2 changed files with 19 additions and 20 deletions

View File

@@ -29,7 +29,7 @@
"build": "npm run tslint && npm run compile && npm run documentation",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"check-configuration": "openstapps-configuration",
"compile": "tsc && prepend lib/cli.js '#!/usr/bin/env node'",
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
"documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src",
"prepareOnly": "npm run build",
"tslint": "tslint 'src/**/*.ts'"
@@ -55,6 +55,7 @@
"@openstapps/configuration": "0.5.0",
"conventional-changelog-cli": "2.0.11",
"prepend-file-cli": "1.0.6",
"rimraf": "2.6.2",
"tslint": "5.12.0",
"typedoc": "0.13.0",
"typescript": "3.2.2"