husky
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user