Add script for check-all in CI

This commit is contained in:
jxom
2017-10-09 20:58:52 +11:00
parent 695e7905df
commit bbabe69bf2

View File

@@ -68,11 +68,12 @@
},
"scripts": {
"build": "gatsby build",
"check-all": "yarn prettier && yarn lint && yarn flow",
"check-all": "yarn prettier -- --write && yarn lint && yarn flow",
"check-all:verbose": "yarn prettier -- --list-different && yarn lint && yarn flow",
"dev": "gatsby develop -H 0.0.0.0",
"lint": "eslint .",
"netlify": "yarn install && yarn build",
"prettier": "prettier --config .prettierrc --write '{flow-typed,plugins,src}/**/*.js'",
"prettier": "prettier --config .prettierrc '{flow-typed,plugins,src}/**/*.js'",
"reset": "rimraf ./.cache"
},
"devDependencies": {