chore: add postinstall script

This commit is contained in:
Steven
2024-02-06 21:10:34 +08:00
parent f2d9b29baa
commit 4e73882bf1
5 changed files with 3 additions and 11 deletions

View File

@ -9,7 +9,7 @@
"package": "plasmo package",
"lint": "eslint --ext .js,.ts,.tsx, src",
"lint-fix": "eslint --ext .js,.ts,.tsx, src --fix",
"type-gen": "cd ../../proto && buf generate"
"postinstall": "cd ../../proto && buf generate"
},
"dependencies": {
"@emotion/react": "^11.11.3",

View File

@ -6,7 +6,7 @@
"serve": "vite preview",
"lint": "eslint --ext .js,.ts,.tsx, src",
"lint-fix": "eslint --ext .js,.ts,.tsx, src --fix",
"type-gen": "cd ../../proto && buf generate"
"postinstall": "cd ../../proto && buf generate"
},
"dependencies": {
"@emotion/react": "^11.11.3",