Files
static-testing-tools/07-run-the-validate-script-in-a-pre-commit-git-hook-with-husky/package.json
Kent C. Dodds f10cfb98ce progress
2019-07-31 12:51:37 -06:00

23 lines
684 B
JSON

{
"name": "static-testing-tools",
"private": true,
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
"license": "GPLv3",
"scripts": {
"lint": "eslint src",
"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",
"precommit": "npm run validate"
},
"devDependencies": {
"babel-eslint": "^9.0.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"flow-bin": "^0.81.0",
"husky": "^3.0.2",
"prettier": "^1.18.2"
}
}