28 lines
739 B
JSON
28 lines
739 B
JSON
{
|
|
"name": "static-testing-tools",
|
|
"private": true,
|
|
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
|
|
"license": "GPLv3",
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"check-types": "tsc",
|
|
"format": "npm run prettier -- --write",
|
|
"prettier": "prettier \"**/*.+(js|json|ts)\"",
|
|
"validate": "npm run lint && npm run prettier -- --list-different && npm run check-types"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^10.0.2",
|
|
"eslint": "^6.1.0",
|
|
"eslint-config-prettier": "^6.0.0",
|
|
"husky": "^3.0.2",
|
|
"lint-staged": "^9.2.1",
|
|
"prettier": "^1.18.2",
|
|
"typescript": "^3.5.3"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged && npm run check-types"
|
|
}
|
|
}
|
|
}
|