Skip to content

Commit

Permalink
chore: update code for being executable file
Browse files Browse the repository at this point in the history
  • Loading branch information
perfogic committed Aug 29, 2024
1 parent 7b6366e commit 3b525f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions packages/orchestrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"files": [
"build/"
],
"bin": {
"bitcoin-orchestrator": "node build/index.js"
},
"bin": "build/index.js",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "npm run build; node --max-old-space-size=8192 build/index.js"
Expand Down
2 changes: 2 additions & 0 deletions packages/orchestrator/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env -S node --no-warnings

import dotenv from "dotenv";
import yargs from "yargs";
import { hideBin } from "yargs/helpers";
Expand Down

0 comments on commit 3b525f1

Please sign in to comment.