scripts: 声明一系列npm脚本指令
prepublish: 在包发布之前运行,也会在npm install安装到本地时运行 publish,postpublish: 包被发布之后运行 preinstall: 包被安装前运行 install,postinstall: 包被安装后运行 preuninstall,uninstall: 包被卸载前运行 postuninstall: 包被卸载后运行 preversion: bump包版本前运行 postversion: bump包版本后运行 pretest,test,posttest: 通过npm test命令运行 prestop,stop,poststop: 通过npm stop命令运行 prestart,start,poststart: 通过npm start命令运行 prerestart,restart,postrestart: 通过npm restart运行