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
@@ -7,7 +7,10 @@
"private": true,
"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"
},
"bin": {
"create-release-pr": "./dist/index.js"
@@ -19,7 +22,8 @@
"@types/inquirer": "^9.0.3",
"@types/node": "^16.18.11",
"@types/semver": "^7.3.13",
"rimraf": "^4.4.1"
"rimraf": "^4.4.1",
"run-script-os": "^1.1.6"
},
"dependencies": {
"chalk": "^5.2.0",