The plugin uses node to install dependencies from
package.json. It also sets up binaries defined in
package.json by adding them to
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
Additionally, this plugin uses the following plugin-specific keywords:
A list of dependencies to fetch using npm.
The version of node.js you want the snap to run on.
A list of targets to
npm run. These targets will be run in order, after
A list of flags for npm.
node-package-manager(string; default: npm)
The language package manager to use to drive installation
of node packages. Can be either
For examples, search GitHub for projects already using the plugin.