We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04592b7 commit 8a8ff19Copy full SHA for 8a8ff19
package.json
@@ -26,8 +26,11 @@
26
},
27
"devDependencies": {
28
"generate-changelog": "^1.7.1",
29
+ "husky": "^2.1.0",
30
"jest": "^20.0.4",
31
"lerna": "3.11.0",
32
+ "lint-staged": "^8.1.5",
33
+ "prettier": "1.17.0",
34
"typescript": "^3.0.0"
35
36
"workspaces": [
@@ -50,5 +53,21 @@
50
53
"<rootDir>/packages/client-.*",
51
54
"/__fixtures__/"
52
55
]
56
+ },
57
+ "husky": {
58
+ "hooks": {
59
+ "pre-commit": "lint-staged"
60
+ }
61
62
+ "lint-staged": {
63
+ "linters": {
64
+ "packages/**/*.{ts,json}": [
65
+ "prettier --write",
66
+ "git add"
67
+ ]
68
69
+ "ignore": [
70
+ "package.json"
71
72
}
73
0 commit comments