Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "bin" entry to package json #15

Open
aisamu opened this issue Aug 4, 2020 · 0 comments
Open

Add "bin" entry to package json #15

aisamu opened this issue Aug 4, 2020 · 0 comments

Comments

@aisamu
Copy link

aisamu commented Aug 4, 2020

Hi!

There's a commit (a229795) that mentions this was removed because it was unused, but might not be completely the case.

When you run npm tools on a per-project basis, the first spot to look is under node_modules/.bin. This is the spot where npm symlinks all the executables present on the various node_modules.

kinesis-tail's node module appears to have an empty /bin, but a populated /cmd. If I interpreted the documentation correctly, that means our package.json would need to contain:

"bin": "./cmd/kinesis-tail"

But I've just realized that there's not even a package.json anymore 😢

Thanks for the awesome tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant