Add prepare script to package.json for build automation

This commit is contained in:
Astrian Zheng 2025-05-15 16:32:21 +10:00
parent 5098c74c90
commit a36fd4a2f9
Signed by: Astrian
SSH Key Fingerprint: SHA256:rVnhx3DAKjujCwWE13aDl7uV6+9U1MvydLkNRXJrBiA

View File

@ -4,7 +4,8 @@
"main": "dist/main.js",
"types": "dist/main.d.ts",
"scripts": {
"build": "tsc"
"build": "tsc",
"prepare": "npm run build"
},
"repository": {
"type": "git",