Add shebang to output file so a shell script is no longer needed

This commit is contained in:
Marko Korhonen 2023-11-23 17:38:30 +02:00
parent 4b8c8be226
commit cd891bf6a0
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
5 changed files with 48 additions and 7 deletions

View file

@ -15,7 +15,7 @@
"main": "src/main.ts",
"type": "module",
"bin": {
"wtc": "bin/wtc"
"wtc": "dist/wtc"
},
"scripts": {
"build": "rollup -c"
@ -34,6 +34,7 @@
"@typescript-eslint/eslint-plugin": "^6.10.0",
"eslint-config-prettier": "^9.0.0",
"rollup": "^4.5.1",
"rollup-plugin-add-shebang": "^0.3.1",
"tslib": "^2.6.2"
},
"dependencies": {