Skip to content

package.json

生命周期

json
{
  "scripts": {
    "prepare": "echo hello!"
  }
}

scripts

周期描述
preparenpm installnpm publish 都会触发