Skip to content

Commit

Permalink
Merge pull request #8
Browse files Browse the repository at this point in the history
adjust README.md, postinstall scripts
  • Loading branch information
ndxbn authored Oct 29, 2024
2 parents a533b17 + f614f51 commit bf2e660
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This project is created by `bun create ndxbn/bun`.

```bash
bun install
bun main.ts
bun dev
```

## Testing
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"typescript": "5.6.3"
},
"scripts": {
"start": "bun src/main.ts",
"postinstall": "bun scripts/postinstall.ts",
"dev": "bun src/main.ts",
"lint": "biome check",
"fmt": "biome check --write --unsafe"
}
Expand Down
3 changes: 3 additions & 0 deletions scripts/postinstall.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { $ } from "bun";

await Promise.all([$`bunx lefthook install`]);

0 comments on commit bf2e660

Please sign in to comment.