猩星文档
/
npm8中文文档
npm 8.19.1
3
使用 npm
3-6
scripts
3-6-1 描述
3-6-2 前后脚本
3-6-3 生命周期脚本
3-6-4 生命周期操作顺序
3-6-5
用户
3-6-6 环境
3-6-7 示例
3-6-8 退出
3-6-9 最佳实践
npm 8.19.1
/
使用 npm
/
scripts
/
用户
中英双语
当 npm 以 root 身份运行时,脚本始终使用工作目录所有者的有效 uid 和 gid 运行。
上一章:
关于缺少 [`npm uninstall`](/cli/v8/commands/npm-uninstall) 脚本的说明
下一章:
环境