chore: add script for setup

This commit is contained in:
Zhicheng Wang 2017-07-23 22:53:31 +08:00
parent 20a55c54ed
commit 2f2ca31a62
1 changed files with 4 additions and 2 deletions

View File

@ -7,8 +7,9 @@
"license": "MIT",
"scripts": {
"ng": "yarn check-env && ng",
"setup": "yarn check-env && yarn && yarn boilerplate:remove && yarn boilerplate:add",
"start": "yarn check-env && ng serve",
"build": "yarn check-env && yarn docs && ng build -prod -sm",
"build": "yarn check-env && yarn generate-plunkers && yarn docs && ng build -prod -sm",
"lint": "yarn check-env && yarn docs-lint && ng lint",
"test": "yarn check-env && ng test --sourcemap=false",
"pree2e": "yarn ~~update-webdriver",
@ -80,6 +81,7 @@
"ts-node": "~2.0.0",
"tslint": "~4.5.0",
"typescript": "2.2.0",
"vrsource-tslint-rules": "^4.0.1"
"vrsource-tslint-rules": "^4.0.1",
"yarn": "^0.27.5"
}
}