Install husky and prettier to format staged files
.husky/pre-commit
0 → 100755
... | ... | @@ -25,7 +25,8 @@ |
"update-changelog": "node ./tools/bin/update-changelog.js", | ||
"release": "node ./tools/release-wizard.js", | ||
"clear": ". scripts/clear.sh", | ||
"postinstall": "npx jetify" | ||
"postinstall": "npx jetify", | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"@ptomasroos/react-native-multi-slider": "^2.2.0", | ||
... | ... | @@ -72,12 +73,15 @@ |
"dirty-chai": "^2.0.1", | ||
"eslint": "^6.4.0", | ||
"eslint-plugin-react": "^7.8.2", | ||
"husky": "^6.0.0", | ||
"jase": "^1.2.0", | ||
"jest": "^24.9.0", | ||
"jetifier": "^1.6.6", | ||
"left-pad": "^1.3.0", | ||
"metro-react-native-babel-preset": "^0.56.0", | ||
"mocha": "^5.2.0", | ||
"prettier": "2.4.0", | ||
"pretty-quick": "^3.1.1", | ||
"react-native-version": "^3.1.0", | ||
"react-test-renderer": "16.9.0", | ||
"readline": "^1.3.0" | ||
... | ... |
Please register or sign in to comment