split start and server script

This commit is contained in:
Eugenio Romano
2016-05-27 16:47:35 +01:00
parent f4d15b81cc
commit 821aa7d74d
7 changed files with 109 additions and 101 deletions

View File

@@ -5,7 +5,8 @@
"author": "Alfresco Software, Ltd.",
"scripts": {
"typings": "typings install",
"start": "http-server -c-1 -o -p 8875 .",
"start": "npm run build && npm run server",
"server": "http-server -c-1 -o -p 8875 .",
"build": "npm run tslint && typings install && rm -rf dist && tsc && npm run copytemplates && license-check",
"tslint": "npm run tslint-src && npm run tslint-root",
"tslint-src": "tslint -c tslint.json src/**/*.ts",