package settings improvements

- added “npm install” on pre-start
- added “bower install” on post install
- calling “npm start” now should be enough to upgrade/run
This commit is contained in:
Denys Vuika
2016-04-18 09:56:22 +01:00
parent d0a8159597
commit ccb1b3ed58
+2 -1
View File
@@ -2,12 +2,13 @@
"name": "angular2-quickstart",
"version": "1.0.0",
"scripts": {
"prestart": "npm install",
"start": "concurrently \"npm run tsc:w\" \"npm run lite\" ",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"typings": "typings",
"postinstall": "typings install"
"postinstall": "bower install && typings install"
},
"license": "ISC",
"dependencies": {