✏️ 正在编辑: npm-build.md
路径:
/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/docs/content/cli-commands/npm-build.md
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- section: cli-commands title: npm-build description: Build a package --- # npm-build(1) ## Build a package ### Synopsis ```shell 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: ```bash npm run-script build ``` ### See Also * [npm install](/cli-commands/npm-install) * [npm link](/cli-commands/npm-link) * [npm scripts](/using-npm/scripts) * [package.json](/configuring-npm/package-json)
💾 保存文件
← 返回文件管理器