mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: move TypeScript compilation to prepack and prepare scripts
This commit is contained in:
committed by
GitHub
parent
d34d9fa121
commit
5d27a70d6e
@@ -32,7 +32,8 @@
|
|||||||
"lint": "eslint src --ext .js,.ts",
|
"lint": "eslint src --ext .js,.ts",
|
||||||
"lint:fix": "yarn format && yarn lint --fix",
|
"lint:fix": "yarn format && yarn lint --fix",
|
||||||
"preinstall": "node ./engine-requirements.js",
|
"preinstall": "node ./engine-requirements.js",
|
||||||
"postinstall": "npx tsc",
|
"prepack": "npx tsc",
|
||||||
|
"prepare": "npx tsc",
|
||||||
"release": "release-it",
|
"release": "release-it",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user