chore(pockethost): refactor tsx bin execution

This commit is contained in:
Ben Allfree 2024-08-03 04:16:33 -07:00
parent b299241756
commit f94314fe69
2 changed files with 3 additions and 3 deletions

View File

@ -14,8 +14,8 @@
}, },
"scripts": { "scripts": {
"check:types": "tsc --noEmit ", "check:types": "tsc --noEmit ",
"dev": "NODE_ENV=development tsx ./src/cli/index.ts", "dev": "NODE_ENV=development ./src/cli/index.ts",
"start": "tsx ./src/cli/index.ts" "start": "./src/cli/index.ts"
}, },
"dependencies": { "dependencies": {
"@pockethost/plugin-console-logger": "workspace:*", "@pockethost/plugin-console-logger": "workspace:*",

View File

@ -1,4 +1,4 @@
#!/usr/bin/env node #!/usr/bin/env tsx
import { program } from 'commander' import { program } from 'commander'
import EventSource from 'eventsource' import EventSource from 'eventsource'