setup: use zx for cross-platform scripting

This commit is contained in:
Abdullah Atta
2022-09-07 23:04:40 +05:00
parent 7f54664413
commit ab38d89314
5 changed files with 522 additions and 10 deletions

View File

@@ -71,8 +71,8 @@
"react-dom": ">=17.0.0"
},
"scripts": {
"build": "./scripts/build.sh",
"watch": "./scripts/build.sh --watch",
"build": "./scripts/build.mjs",
"watch": "./scripts/build.mjs --watch",
"prepub": "npm run build",
"pub": "np",
"postinstall": "npx patch-package"