Fix running on older nodejs versions

The shebang does not work without extension
This commit is contained in:
Marko Korhonen 2023-11-23 20:24:35 +02:00
parent 536aaa01b0
commit 6bbfd25745
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
5 changed files with 8 additions and 13 deletions

View file

@ -15,7 +15,7 @@
"main": "src/main.ts",
"type": "module",
"bin": {
"wtc": "dist/wtc"
"wtc": "bin/wtc"
},
"scripts": {
"build": "rollup -c"
@ -34,7 +34,6 @@
"@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": {