chore: add postinstall script

This commit is contained in:
Steven 2024-02-05 19:29:47 +08:00
parent 06eff151e7
commit 397a7f00ef

View file

@ -4,8 +4,8 @@
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
"lint": "eslint --ext .js,.ts,.tsx, src", "lint": "eslint --ext .js,.ts,.tsx, src",
"type-gen": "cd ../proto && buf generate", "type-check": "tsc",
"type-check": "tsc" "postinstall": "cd ../proto && buf generate"
}, },
"packageManager": "pnpm@8.7.0", "packageManager": "pnpm@8.7.0",
"dependencies": { "dependencies": {