fix(scripts): make npm scripts cross-platform with shx (closes #1771)

This commit is contained in:
Mario Zechner 2026-03-03 14:25:49 +01:00
parent 993d916e56
commit 76a191c264
9 changed files with 15 additions and 13 deletions

View file

@ -13,8 +13,8 @@
"CHANGELOG.md"
],
"scripts": {
"clean": "rm -rf dist",
"build": "tsgo -p tsconfig.build.json && chmod +x dist/main.js",
"clean": "shx rm -rf dist",
"build": "tsgo -p tsconfig.build.json && shx chmod +x dist/main.js",
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
"prepublishOnly": "npm run clean && npm run build"
},