Skip to content

Commit

Permalink
docs: add pnpm installation (typicode#1139)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoKhajavi75 authored and nikoladavitkovski committed Sep 5, 2022
1 parent 25d0675 commit 69afc14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Already using husky? See [Migrate from 4 to 7](/?id=migrate-from-v4-to-v7).
npx husky-init && npm install # npm
npx husky-init && yarn # Yarn 1
yarn dlx husky-init --yarn2 && yarn # Yarn 2
pnpm dlx husky-init && pnpm install # pnpm
```

It will setup husky, modify `package.json` and create a sample `pre-commit` hook that you can edit. By default, it will run `npm test` when you commit.
Expand Down

0 comments on commit 69afc14

Please sign in to comment.