Skip to content

Commit

Permalink
Fix binary
Browse files Browse the repository at this point in the history
  • Loading branch information
keichan34 committed Sep 9, 2024
1 parent c9842d8 commit c3e576b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "eslint src/**/*.ts",
"test": "jest",
"start": "ts-node src/cli.ts",
"build": "rm -r dist ; rollup -c"
"build": "rm -r dist ; rollup -c && chmod a+x ./dist/cli.js"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
Expand Down
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default [
{
file: packageJson.bin,
format: 'cjs',
banner: '#!/usr/bin/env node',
},
],
plugins,
Expand Down

0 comments on commit c3e576b

Please sign in to comment.