Skip to content

Commit 73e5030

Browse files
committed
remove .huskyinstall file
1 parent 0520953 commit 73e5030

File tree

3 files changed

+1
-73
lines changed

3 files changed

+1
-73
lines changed

.huskyinstall

Lines changed: 0 additions & 71 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ For Production:
218218

219219
## Tips
220220

221-
- Go to `.huskyinstall`, remove comment at <b>line 37</b> and run `[yarn or npm install]` again to apply run test when using `git push origin [ branch ]`
222221
- Go to `config/@types/[any-file-name].d.ts` to declare global type of typescript
223222
- Go to `pm2/prod.json` and change <b>"name: ~~react-webpack-typescript-starter~~ ->[other-name]"</b> to config pm2 app name
224223
- Go to `components/spinner/index.tsx` and modify jsx + css to use another loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"description": "The React-Typescript Boilerplate with Webpack config manual",
77
"main": "index.js",
88
"scripts": {
9-
"postinstall": "node .huskyinstall",
9+
"postinstall": "rm -rf .husky && husky install && npx husky add .husky/pre-commit \"npx lint-staged\"",
1010
"test": "jest --config src/jest.config.js --updateSnapshot",
1111
"dev": "webpack serve --config webpack/webpack.dev.js --hot",
1212
"build": "webpack --config webpack/webpack.prod.js",

0 commit comments

Comments
 (0)