npm-exec:运行您的npm脚本,而无需加载所有npm

时间:2021-05-17 14:42:42
【文件属性】:
文件名称:npm-exec:运行您的npm脚本,而无需加载所有npm
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-17 14:42:42
cli npm script execute exec npm-exec 仅用于运行npm脚本的工具 3.1。 3.1.1。 3.1.2。 3.1.3。 3.1.4。 3.1.5。 1。 安装 $ npm install --save standalone-npm-exec 2。 用法 const npmExec = require ( 'npm-exec' ) ; npmExec ( script , args , pkgdata , wd , function ( er ) { if ( er ) { // Something bad happened } // Yay! } ) ; 3。 原料药 3.1。 npmExec(名称,argsForScript,pkgdata,wd,cb) 3.1.1。 输入 类型: string 要执行的脚本名称。 可以是pkgdata定义的脚本,也可以是wd/no
【文件预览】:
npm-exec-master
----cli.js(2KB)
----.gitignore(13B)
----.gitattributes(29B)
----package.json(759B)
----readme.md(2KB)
----index.js(4KB)
----test.js(1B)
----.travis.yml(43B)
----.editorconfig(190B)
----.eslintrc.json(533B)
----license(1KB)

网友评论