Adding NPM Packages

Since the system uses Rush, adding new NPM packages may be a little different than what you are used to.

To see Rush's command line help, you can type:

$ rush -h

To install a package, use the following command:

$ rush add --package <package-name>

Or...

$ rush add -p <package-name>

This command adds a dependency to the package.json and runs rush upgrade. See the rush add documentation for more options.

Last updated