Skip to content

Commit

Permalink
chore: upgrade husky to 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Feb 11, 2019
1 parent 922d42e commit e032a7e
Show file tree
Hide file tree
Showing 2 changed files with 271 additions and 29 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
"scripts": {
"lint:v1": "cd v1 && yarn lint",
"lint:v2": "cd v2 && yarn lint",
"precommit": "lint-staged",
"prettier:v1": "cd v1 && yarn prettier",
"prettier:v2": "cd v2 && yarn prettier",
"prettier": "yarn prettier:v1 && yarn prettier:v2",
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.js\"",
"start": "cd v1/website && yarn start"
},
"devDependencies": {
"husky": "^0.14.3",
"husky": "^1.3.1",
"lint-staged": "^7.2.0",
"prettier": "^1.13.7"
},
Expand All @@ -24,5 +23,10 @@
"v1/**/*.js": ["yarn lint:v1 --fix", "yarn prettier:v1", "git add"],
"v2/**/*.js": ["yarn lint:v2 --fix", "yarn prettier:v2", "git add"]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}
Loading

0 comments on commit e032a7e

Please sign in to comment.