Skip to content

Commit

Permalink
docs: remove deprecated npm set-script
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Nov 8, 2022
1 parent 3db28d4 commit 573de60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm install husky -D
Edit `package.json > prepare` script and run it once:

```sh
npm set-script prepare "husky install"
npm pkg set scripts.prepare="husky install"
npm run prepare
```

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ npm ci --omit=dev --ignore-scripts
Alternatively, you can specifically disable `prepare` script with

```shell
npm set-script prepare ""
npm pkg delete scripts.prepare
npm ci --omit=dev
```

Expand Down

0 comments on commit 573de60

Please sign in to comment.