chore: Remove most uses of "bin" from workspaces

- Replace with running scripts from a specific workspace

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-04-14 14:42:00 -04:00
1 parent ed0eba548f
commit 3aa6c1666a
9 files changed
+20 -70

No files matched your search

+2 -8
View File
@@ -6,12 +6,7 @@
"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"
},
"bin": {
"generate-tray-icons": "./dist/index.js"
"generate": "./dist/index.js"
},
"files": [
"dist"
@@ -28,8 +23,7 @@
"@types/jsdom": "^20.0.1",
"@types/node": "^18.11.18",
"@types/sharp": "^0.31.1",
"rimraf": "^4.4.1",
"run-script-os": "^1.1.6"
"rimraf": "^4.4.1"
},
"dependencies": {
"arg": "^5.0.2",