猩星文档 / npm8中文文档
    • npm 8.19.1
    • 3  使用 npm
    • 3-6  scripts
    • 3-6-4  生命周期操作顺序
    • 3-6-4-1  [`npm cache add`](/cli/v8/commands/npm-cache)
    • 3-6-4-2  [`npm ci`](/cli/v8/commands/npm-ci)
    • 3-6-4-3  [`npm diff`](/cli/v8/commands/npm-diff)
    • 3-6-4-4  [`npm install`](/cli/v8/commands/npm-install)
    • 3-6-4-5  [`npm pack`](/cli/v8/commands/npm-pack)
    • 3-6-4-6  [`npm publish`](/cli/v8/commands/npm-publish)
    • 3-6-4-7  [`npm rebuild`](/cli/v8/commands/npm-rebuild)
    • 3-6-4-8  [`npm restart`](/cli/v8/commands/npm-restart)
    • 3-6-4-9  [`npm run`](/cli/v8/commands/npm-run-script)
    • 3-6-4-10  [`npm start`](/cli/v8/commands/npm-start)
    • 3-6-4-11  [`npm stop`](/cli/v8/commands/npm-stop)
    • 3-6-4-12  [`npm test`](/cli/v8/commands/npm-test)
    • 3-6-4-13  [`npm version`](/cli/v8/commands/npm-version)
    • 3-6-4-14  关于缺少 [`npm uninstall`](/cli/v8/commands/npm-uninstall) 脚本的说明
npm 8.19.1/ 使用 npm/ scripts/ 生命周期操作顺序/

[`npm pack`](/cli/v8/commands/npm-pack)

  • prepack
  • prepare
  • postpack
上一章: [`npm install`](/cli/v8/commands/npm-install)
下一章: [`npm publish`](/cli/v8/commands/npm-publish)