node-shyp:在不强迫用户拥有编译器的情况下运送您的 gyp

时间:2021-06-22 13:27:46
【文件属性】:
文件名称:node-shyp:在不强迫用户拥有编译器的情况下运送您的 gyp
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-22 13:27:46
JavaScript node-shyp 预编译您的节点模块,使用 npm 作为您的数据存储: coolmodule optional: coolmodule-shyp-win32-x64 coolmodule-shyp-win32-ia32 coolmodule-shyp-darwin-x64 coolmodule-shyp-darwin-ia32 ... 安装 安装 npm install -g node-shyp 指示 node-shyp 很简单。 您所有的 node-gyp 配置都像以前一样工作,只需对package.json进行一些修改。 1. 运行node-shyp init在你的根目录中创建默认的shyp-blacklist.js文件 2. 将你的“安装”脚本设置为在 npm install 上将编译的平台列入黑名单 "scripts": { "install":
【文件预览】:
node-shyp-master
----shyp.js(9KB)
----README.md(2KB)
----.gitignore(33B)
----bin()
--------shyp-blacklist.js(650B)
----package.json(556B)

网友评论