add setup scripts

This commit is contained in:
Kent C. Dodds 2016-08-22 12:08:28 -06:00
parent 2086723e50
commit f4f790ef76

View File

@ -67,6 +67,10 @@
"test": "karma start",
"watch:test": "npm test -- --auto-watch --no-single-run",
"validate": "npm-run-all --parallel lint build test",
"lint": "eslint ."
"lint": "eslint .",
"setup": "npm install && npm run validate",
"setup:fem": "git checkout FEM/07.1-deploy-surge && npm install && npm run validate && rimraf dist coverage && git checkout FEM/00-original-project",
"setup:workshop": "git checkout workshop/07-coverage && npm install && npm run validate && rimraf dist coverage && git checkout workshop/00-original-project",
"setup:egghead": "git checkout prelesson/polyfill-promises && npm install && mkdir dist && npm run validate"
}
}