npm rebuild <[<@scope>/]<pkg>[@<version>]>
Rebuild a package
Arguments
Name | Description |
---|---|
[<@scope>/]<pkg>[@<version>] |
Options
Name | Description |
---|---|
-g, --global | Operates in 'global' mode, so that packages are installed into the prefix folder instead of the current working directory |
-w, --workspace <workspace...> | Enable running a command in the context of the configured workspaces of the current project |
-ws, --workspaces | Enable running a command in the context of all the configured workspaces |
--ignore-scripts | If true, npm does not run scripts specified in package.json files |
--no-bin-links | Tells npm to not create symlinks (or .cmd shims on Windows) for package executables |