Updated clean:ngc to clean all production generated files

This commit is contained in:
William Welling
2016-12-05 08:01:22 -06:00
parent ecdf7d5b16
commit 6c6208ee94

View File

@@ -10,7 +10,7 @@
"watch": "webpack --watch", "watch": "webpack --watch",
"watch:dev": "npm run server & npm run watch", "watch:dev": "npm run server & npm run watch",
"clean:dist": "rimraf dist", "clean:dist": "rimraf dist",
"clean:ngc": "rimraf **/*.ngfactory.ts **/*.css.shim.ts", "clean:ngc": "rimraf **/*.ngfactory.ts **/*.css.shim.ts **/*.scss.shim.ts webpack.records.json",
"prebuild": "npm run clean:dist", "prebuild": "npm run clean:dist",
"build": "webpack --progress", "build": "webpack --progress",
"build:prod:ngc": "npm run clean:ngc && npm run ngc && npm run clean:dist && npm run build:prod", "build:prod:ngc": "npm run clean:ngc && npm run ngc && npm run clean:dist && npm run build:prod",