Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushConfiguration > npmOptions

RushConfiguration.npmOptions property

Options that are only used when the NPM package manager is selected.

Signature:

readonly npmOptions: NpmOptionsConfiguration;

Remarks

It is valid to define these options in rush.json even if the NPM package manager is not being used.

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the NpmOptionsConfiguration class.