Skip to content

Commit 91aedc8

Browse files
committed
Fix recommended npm hook
1 parent e9a538f commit 91aedc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ Next, run
4444
In this example, it will create `test/multidep` and install broccoli 0.16.3
4545
and broccoli 1.0.0 somewhere inside the `test/multidep` directory.
4646

47-
To run `multidep` automatically after `npm install`, add it as a "postinstall"
47+
To run `multidep` automatically after `npm install`, add it as a "pretest"
4848
hook to your `package.json`:
4949

5050
```json
5151
{
5252
"scripts": {
53-
"postinstall": "multidep test/multidep.json",
53+
"pretest": "multidep test/multidep.json",
5454
"test": "..."
5555
}
5656
}

0 commit comments

Comments
 (0)