editor: make build scripts compatible with windows

This commit is contained in:
Abdullah Atta
2023-01-11 12:30:44 +05:00
parent b7bce0d8cd
commit 165862db06
3 changed files with 8 additions and 4 deletions

View File

@@ -67,8 +67,10 @@
"react-dom": ">=17.0.0"
},
"scripts": {
"build": "zx ./scripts/build.mjs",
"watch": "zx ./scripts/build.mjs --watch",
"prebuild": "zx ./scripts/build.mjs",
"prewatch": "zx ./scripts/build.mjs",
"build": "tsc",
"watch": "tsc --watch",
"prepub": "npm run build",
"pub": "np",
"postinstall": "npx patch-package"