Closed
Description
I am getting "node/no-unpublished-bin"
when I place my bin files in a sub directory.
./package.json
{
"name": "test",
"bin": {
"test": "lib/test.js"
},
"files": [
"lib/test.js"
]
}
./lib/test.js
#!/usr/bin/env node
console.log(1);
Is this expected? I'm reading the no-unpublished-bin doc, but I'm not seeing why NPM would ignore my ./lib/test.js
. Especially seeing npm link
and then test
logs 1
to my console.
Activity