Get dev mode fixed (#7447)

* Get dev mode fixed

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add empty scripts for windows to satisfy run-script-os

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-03-31 15:30:21 -04:00
1 parent fe2fd4c1fd
commit b5a085b55c
25 files changed
+55 -52

No files matched your search

+5 -1
View File
@@ -7,6 +7,9 @@
"scripts": {
"clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist/",
"postbuild": "run-script-os",
"postbuild:windows": "",
"postbuild:nix": "chmod u+x ./dist/index.js",
"prepare:dev": "npm run build",
"prepare": "npm run build"
},
@@ -38,6 +41,7 @@
"@types/node": "^16.18.11",
"@types/semver": "^7.3.13",
"@types/tar-stream": "^2.2.2",
"rimraf": "^4.4.1"
"rimraf": "^4.4.1",
"run-script-os": "^1.1.6"
}
}