1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-03-31 14:31:47 -04:00
parent 315e7070c3
commit 15372446c8
4 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@
"clean": "rimraf dist/", "clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist", "build": "swc ./src/index.ts -d ./dist",
"postbuild": "run-script-os", "postbuild": "run-script-os",
"postbuild:windows": "",
"postbuild:nix": "chmod u+x ./dist/index.js" "postbuild:nix": "chmod u+x ./dist/index.js"
}, },
"type": "module", "type": "module",

View File

@ -8,6 +8,7 @@
"clean": "rimraf dist/", "clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist/", "build": "swc ./src/index.ts -d ./dist/",
"postbuild": "run-script-os", "postbuild": "run-script-os",
"postbuild:windows": "",
"postbuild:nix": "chmod u+x ./dist/index.js", "postbuild:nix": "chmod u+x ./dist/index.js",
"prepare:dev": "npm run build", "prepare:dev": "npm run build",
"prepare": "npm run build" "prepare": "npm run build"

View File

@ -7,6 +7,7 @@
"clean": "rimraf dist/", "clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist/", "build": "swc ./src/index.ts -d ./dist/",
"postbuild": "run-script-os", "postbuild": "run-script-os",
"postbuild:windows": "",
"postbuild:nix": "chmod u+x ./dist/index.js", "postbuild:nix": "chmod u+x ./dist/index.js",
"prepare:dev": "npm run build", "prepare:dev": "npm run build",
"prepare": "npm run build" "prepare": "npm run build"

View File

@ -9,6 +9,7 @@
"clean": "rimraf dist/", "clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist", "build": "swc ./src/index.ts -d ./dist",
"postbuild": "run-script-os", "postbuild": "run-script-os",
"postbuild:windows": "",
"postbuild:nix": "chmod u+x ./dist/index.js" "postbuild:nix": "chmod u+x ./dist/index.js"
}, },
"bin": { "bin": {