This commit is contained in:
Kent C. Dodds
2018-09-14 20:48:14 -06:00
parent d43c846d12
commit 053c5de689
2 changed files with 41 additions and 1 deletions

View File

@@ -8,7 +8,8 @@
"flow": "flow",
"format": "npm run prettier -- --write",
"prettier": "prettier \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)\"",
"validate": "npm run lint && npm run prettier -- --list-different && npm run flow"
"validate": "npm run lint && npm run prettier -- --list-different && npm run flow",
"precommit": "npm run validate"
},
"keywords": [],
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
@@ -18,6 +19,7 @@
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"flow-bin": "^0.81.0",
"husky": "^0.14.3",
"prettier": "^1.14.2"
}
}