Skip to content

Commit 6a1c608

Browse files
update preinstall
1 parent c383db0 commit 6a1c608

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cra-template-react-ts-tw",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "",
55
"main": "template.json",
66
"scripts": {

template.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"package": {
33
"scripts": {
4+
"preinstall": "git init",
45
"postinstall": "husky install && npx husky add .husky/pre-commit \"npx lint-staged\"",
56
"husky:prepare": "husky install && npx husky add .husky/pre-commit \"npx lint-staged\"",
67
"start": "react-scripts start",

0 commit comments

Comments
 (0)