node/deps/npm/docs/content/cli-commands/npm-build.md
Ruy Adorno 4b97c3addb deps: update npm to 6.13.0
PR-URL: https://github.com/nodejs/node/pull/30271
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-11-09 20:13:43 -08:00

641 B
Executable File

section title description
cli-commands npm-build Build a package

npm-build

Build a package

Synopsis

npm build [<package-folder>]
  • <package-folder>: A folder containing a package.json file in its root.

Description

This is the plumbing command called by npm link and npm install.

It should generally be called during installation, but if you need to run it directly, run:

    npm run-script build

See Also