diff --git a/lib/commands/run-script.js b/lib/commands/run-script.js index 180dfa1cdeac5..0a139d08af745 100644 --- a/lib/commands/run-script.js +++ b/lib/commands/run-script.js @@ -165,8 +165,10 @@ class RunScript extends BaseCommand { return } - // TODO this is missing things like prepare, prepublishOnly, and dependencies const cmdList = [ + 'prepare', 'prepublishOnly', + 'prepack', 'postpack', + 'dependencies', 'preinstall', 'install', 'postinstall', 'prepublish', 'publish', 'postpublish', 'prerestart', 'restart', 'postrestart',