build:w support for core

This commit is contained in:
Denys Vuika
2016-07-14 12:22:23 +01:00
parent 380652df83
commit f4f5d74eca

View File

@@ -7,13 +7,14 @@
"clean": "rimraf dist node_modules typings", "clean": "rimraf dist node_modules typings",
"typings": "typings install", "typings": "typings install",
"build": "npm run tslint && typings install && rimraf dist && tsc && npm run copy-static && license-check", "build": "npm run tslint && typings install && rimraf dist && tsc && npm run copy-static && license-check",
"build:w": "npm run tslint && typings install && rimraf dist && npm run watch-task", "build:w": "npm run tslint && typings install && rimraf dist && tsc && npm run copy-static:w && npm run watch-task",
"watch-task": "concurrently \"npm run tsc:w\" \"license-check\"", "watch-task": "concurrently \"npm run tsc:w\" \"license-check\"",
"tslint": "npm run tslint-src && npm run tslint-root", "tslint": "npm run tslint-src && npm run tslint-root",
"tslint-src": "tslint -c tslint.json src/{,**/}**.ts", "tslint-src": "tslint -c tslint.json src/{,**/}**.ts",
"tslint-root": "tslint -c tslint.json *.ts", "tslint-root": "tslint -c tslint.json *.ts",
"licensecheck": "license-check", "licensecheck": "license-check",
"copy-static": "cpx \"./src/**/*.{html,css}\" ./dist/src", "copy-static": "cpx \"./src/**/*.{html,css}\" ./dist/src",
"copy-static:w": "cpx \"./src/**/*.{html,css}\" ./dist/src -w",
"tsc": "tsc", "tsc": "tsc",
"tsc:w": "tsc -w", "tsc:w": "tsc -w",
"pretest": "npm run build", "pretest": "npm run build",