fix(scripts): make npm scripts cross-platform with shx (closes #1771)
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user