npm scripts 有两种钩子:. pre 前置 prestart; post 后置 poststart. 一般是执行某个命令的时候将npm install作为前置, 比如: ... "scripts": { "prebuild": "npm ...
確定! 回上一頁