Project Properties Window: JavaScript Libraries: npm

The npm page in the Project Properties window enables you to add, edit, update or remove Node Package Manager (npm) libraries from your project.

This panel contains the following elements:

Value Description

Regular

Select this tab to view, add, edit, update, or remove the details for npm dependencies that the project requires when it is run.

    Package

Displays the name of an npm dependency.

    Required Version

Displays the version of the package that is required to be installed on your machine.

    Installed Version

Displays the version of the package installed on your machine.
    Latest Version Displays the most recent released version of the npm dependency.

Development

Select this tab to view, add, edit, update, or remove the details for npm dependencies that are not required for the execution of the project (for example, testing tools).

    Package

Displays the name of an npm dependency.

    Required Version

Displays the version of the package that is required to be installed on your machine.

    Installed Version

Displays the version of the package installed on your machine.
    Latest Version Displays the most recent released version of the npm dependency.
Optional Select this tab to view, add, edit, update, or remove the details for optional npm dependencies.
    Package Displays the name of an optional npm dependency.
    Required Version Displays the version of the optional package that can be installed on your machine

    Installed Version

Displays the version of the optional package installed on your machine.
    Latest Version Displays the most recent released version of the optional npm dependency.

You can use the following buttons to the right of the table:

Element Description

Add

Click to add a dependency on the specified package.
Edit Click to edit the installed and the required version of the package.

Remove

Select a package in the table and click Remove to remove it.

Update

Select a package in the table and click Update to update the details.
Move to
    Regular Click to move the selected package to the Regular tab.
    Development Click to move the selected package to the Development tab.
    Optional Click to move the selected package to the Optional tab.


Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.