Skip to content

Commit 7262af2

Browse files
remove postinstall in root package.json
1 parent 4489c56 commit 7262af2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ npx create-react-app my-app --template react-ts-tw
2929

3030
```cmd
3131
npm install
32+
npm run husky:prepare
3233
```
3334

3435
If you get issues with prettier or eslint, simply run:

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "",
55
"main": "template.json",
66
"scripts": {
7-
"postinstall": "husky install && npx husky add .husky/pre-commit \"npx lint-staged\"",
87
"husky:prepare": "husky install && npx husky add .husky/pre-commit \"npx lint-staged\"",
98
"lint": "eslint .",
109
"lint:fix": "eslint --fix",

0 commit comments

Comments
 (0)