refactor: fix compile script and expected compile script

This commit is contained in:
Karl-Philipp Wulfert
2019-03-25 12:30:17 +01:00
parent bf26effe68
commit a2cf41e977
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
"description": "A collection of configuration base files for StApps projects.",
"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'",
"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 && 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",

View File

@@ -59,7 +59,7 @@ export const SCRIPTS: { [k: string]: string } = {
/* tslint:disable-next-line:max-line-length */
'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': 'rimraf lib/* && tsc --outDir lib && prepend lib/cli.js \'#!/usr/bin/env node\n\'',
'compile': 'rimraf lib && tsc && prepend lib/cli.js \'#!/usr/bin/env node\n\'',
/* tslint:disable-next-line:max-line-length */
'documentation': 'typedoc --includeDeclarations --mode modules --out docs --readme README.md --listInvalidSymbolLinks src',
'prepublishOnly': 'npm ci && npm run build',