Skip to content

Commit

Permalink
move husky to root project
Browse files Browse the repository at this point in the history
  • Loading branch information
openhoat committed Jun 4, 2018
1 parent 9ae7be0 commit 3a18cd1
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .huskyrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
hooks:
pre-commit: lerna run start lint && lerna run start 'test -- --forbid-only'
pre-push: lerna run start check
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
},
"devDependencies": {
"lerna": "^2.11.0"
},
"optionalDependencies": {
"husky": "^0.14.3"
}
}
3 changes: 0 additions & 3 deletions packages/private-map/.huskyrc.yml

This file was deleted.

3 changes: 0 additions & 3 deletions packages/private-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,5 @@
"tslint": "^5.8.0",
"tslint-config-airbnb": "^5.4.2",
"typescript": "^2.6.2"
},
"optionalDependencies": {
"husky": "^0.14.3"
}
}
3 changes: 0 additions & 3 deletions packages/test-helper/.huskyrc.yml

This file was deleted.

3 changes: 0 additions & 3 deletions packages/test-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,5 @@
"tslint": "^5.8.0",
"tslint-config-airbnb": "^5.4.2",
"typescript": "^2.6.2"
},
"optionalDependencies": {
"husky": "^0.14.3"
}
}
3 changes: 0 additions & 3 deletions packages/ts-build-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,5 @@
"proxyquire": "^2.0.1",
"sinon": "^5.0.7",
"sinon-chai": "^3.0.0"
},
"optionalDependencies": {
"husky": "^0.14.3"
}
}

0 comments on commit 3a18cd1

Please sign in to comment.