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

@ -7,8 +7,8 @@
"pi-pods": "dist/cli.js"
},
"scripts": {
"clean": "rm -rf dist",
"build": "tsgo -p tsconfig.build.json && chmod +x dist/cli.js && cp src/models.json dist/ && cp -r scripts dist/",
"clean": "shx rm -rf dist",
"build": "tsgo -p tsconfig.build.json && shx chmod +x dist/cli.js && shx cp src/models.json dist/ && shx cp -r scripts dist/",
"prepublishOnly": "npm run clean && npm run build"
},
"files": [