mirror of
https://github.com/ershisan99/go-npm.git
synced 2025-12-16 20:59:28 +00:00
`bin` property of package.json must point to a binary that will be copied by NPM into the NPM Installation's bin directory. This check was assuming users would point to a directory containing the binary and not the binary itself
18 lines
417 B
JSON
18 lines
417 B
JSON
{
|
|
"name": "go-npm",
|
|
"version": "0.1.2",
|
|
"description": "Distribute and install Go binaries via NPM",
|
|
"main": "index.js",
|
|
"bin": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "Sanath Kumar Ramesh <dayanandasaraswati@gmail.com>",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"mkdirp": "^0.5.1",
|
|
"request": "^2.81.0",
|
|
"tar": "^2.2.1"
|
|
}
|
|
}
|