Skip to content

Commit

Permalink
shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
aryasaatvik committed Oct 22, 2023
1 parent 5e08ee7 commit 908f88e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"prebuild": "rm -rf dist && mkdir dist",
"build": "tsc",
"postbuild": "sed -i '' '1s/^/#!\\/usr\\/bin\\/env node\\n/' dist/index.js && chmod +x dist/index.js",
"postbuild": "chmod +x dist/index.js",
"start": "ts-node src/index.ts",
"prepublish": "npm run build"
},
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
@@ -1,3 +1,4 @@
#!/usr/bin/env node
import { createClient } from "contentful-management";
import dotenv from "dotenv";
import fs from "fs";
Expand Down

0 comments on commit 908f88e

Please sign in to comment.