Skip to content

Commit

Permalink
feat: use husky
Browse files Browse the repository at this point in the history
  • Loading branch information
SimpleCodeCX committed Nov 11, 2019
1 parent bb3f384 commit 08151fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"rm-dist": "ts-node rm-dist.ts",
"copy-static": "ts-node copyStatic.ts",
"lint": "eslint src test --ext .ts",
"lint:fix": "eslint src test --ext .ts --fix"
"lint:fix": "eslint src test --ext .ts --fix",
"prepush": "npm run lint"
},
"keywords": [
"koa",
Expand Down Expand Up @@ -50,6 +51,7 @@
"eslint": "^6.5.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"husky": "^2.7.0",
"jest": "24.1.0",
"nodemon": "^1.19.3",
"shelljs": "^0.8.3",
Expand Down

0 comments on commit 08151fc

Please sign in to comment.