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

+6 -2
View File
@@ -5,7 +5,10 @@
"license": "MIT",
"scripts": {
"clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist"
"build": "swc ./src/index.ts -d ./dist",
"postbuild": "run-script-os",
"postbuild:windows": "",
"postbuild:nix": "chmod u+x ./dist/index.js"
},
"type": "module",
"bin": "./dist/index.js",
@@ -26,6 +29,7 @@
"@swc/core": "^1.3.44",
"@types/node": "^16.18.11",
"@types/semver": "^7.3.13",
"rimraf": "^4.4.1"
"rimraf": "^4.4.1",
"run-script-os": "^1.1.6"
}
}