文件操作 - npm-build.md
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/n/versions/node/12.18.0/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/install) * [npm link](/cli-commands/link) * [npm scripts](/using-npm/scripts) * [package.json](/configuring-npm/package-json)
修改文件时间
将文件时间修改为当前时间的前一年
删除文件