From bbabe69bf249e11bd0949a835bb3e01d9be92737 Mon Sep 17 00:00:00 2001 From: jxom Date: Mon, 9 Oct 2017 20:58:52 +1100 Subject: [PATCH] Add script for check-all in CI --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 13be6a02..831205c4 100644 --- a/package.json +++ b/package.json @@ -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": {