Last active
March 4, 2020 21:58
-
-
Save benmerckx/a5c5ea64ab917e3a666d1a841f35f0bf to your computer and use it in GitHub Desktop.
devd-bin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var binwrap = require("binwrap"); | |
var path = require("path"); | |
var packageInfo = require(path.join(__dirname, "package.json")); | |
var version = packageInfo.version.split('.').slice(0, 2).join('.'); | |
var root = "https://dl.bintray.com/benmerckx/devd/devd-" + version; | |
module.exports = binwrap({ | |
dirname: __dirname, | |
binaries: [ | |
"devd" | |
], | |
urls: { | |
"darwin-x64": root + "-osx64.gz", | |
"linux-x64": root + "-linux64.tgz", | |
"win32-x64": root + "-windows64.zip" | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "devd-bin", | |
"version": "0.9.0", | |
"description": "devd binary", | |
"preferGlobal": true, | |
"main": "index.js", | |
"scripts": { | |
"install": "binwrap-install", | |
"prepare": "binwrap-prepare", | |
"test": "binwrap-test", | |
"prepublish": "npm test" | |
}, | |
"license": "BSD-3-Clause", | |
"files": [ | |
"index.js", | |
"bin" | |
], | |
"bin": { | |
"devd": "bin/devd" | |
}, | |
"dependencies": { | |
"binwrap": "benmerckx/binwrap" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment