Skip to content

Commit

Permalink
Automatically install Lefthook during setup (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 authored Sep 11, 2024
1 parent f0756dc commit e9a2c3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Make sure you have the following:

- [Node.js 22](https://nodejs.org/en/download/)

Run `npm install && lefthook install`, then `npm run dev`.
Run `npm install`, then `npm run dev`.

A more in-depth introduction (recommended to read) can be found [here](https://ucmacm-docs.netlify.app)

Expand Down
3 changes: 2 additions & 1 deletion react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"check": "biome check --write src"
"check": "biome check --write src",
"prepare": "lefthook install"
},
"dependencies": {
"@icons-pack/react-simple-icons": ">=10.0 <11",
Expand Down

0 comments on commit e9a2c3b

Please sign in to comment.