Removing a wrong validation check

`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
This commit is contained in:
Sanath Kumar Ramesh
2017-08-10 17:48:12 -07:00
parent 5c337e9e48
commit 5c19b1b1f9
3 changed files with 2 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
"install": "go-npm"
},
"bin": {
"myBinaryName": "./bin"
"anyCommandNameYouLike": "./bin/myBinaryName"
},
"goBinary": {
"name": "myBinaryName",