mirror of
https://github.com/ershisan99/go-npm.git
synced 2025-12-16 12:33:24 +00:00
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:
@@ -7,7 +7,7 @@
|
||||
"install": "go-npm"
|
||||
},
|
||||
"bin": {
|
||||
"myBinaryName": "./bin"
|
||||
"anyCommandNameYouLike": "./bin/myBinaryName"
|
||||
},
|
||||
"goBinary": {
|
||||
"name": "myBinaryName",
|
||||
|
||||
Reference in New Issue
Block a user