Commit a4e0956 1 parent 9dd32d0 commit a4e0956 Copy full SHA for a4e0956
File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -307,19 +307,6 @@ Note that these script files don't have to be nodejs or even
307
307
javascript programs. They just have to be some kind of executable
308
308
file.
309
309
310
- ### Hook Scripts
311
-
312
- If you want to run a specific script at a specific lifecycle event for
313
- ALL packages, then you can use a hook script.
314
-
315
- Place an executable file at ` node_modules/.hooks/{eventname} ` , and
316
- it'll get run for all packages when they are going through that point
317
- in the package lifecycle for any packages installed in that root.
318
-
319
- Hook scripts are run exactly the same way as package.json scripts.
320
- That is, they are in a separate child process, with the env described
321
- above.
322
-
323
310
### Best Practices
324
311
325
312
* Don't exit with a non-zero error code unless you * really* mean it.
You can’t perform that action at this time.
0 commit comments