build: add shebang line to cli

This commit is contained in:
Karl-Philipp Wulfert
2018-11-29 14:36:45 +01:00
parent 40beb93a17
commit b55799b851

View File

@@ -9,7 +9,7 @@
"scripts": {
"build": "npm run tslint && npm run compile && npm run documentation",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"compile": "tsc",
"compile": "tsc && sed -i '1i#!/usr/bin/env node' lib/cli.js",
"documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src",
"prepareOnly": "npm run build",
"tslint": "tslint 'src/**/*.ts'"