Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
fix(package.json): correct bin file reference (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
hisabimbola authored Jun 7, 2017
1 parent 637a4ee commit f0cd07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "https://github.com/hisabimbola/slack-history-export.git"
},
"bin": {
"slack-history-export": "bin/cli.js"
"slack-history-export": "bin/slack-history-export.js"
},
"preferGlobal": true,
"scripts": {
Expand Down

2 comments on commit f0cd07c

@mariuszniemiec
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it's not enough. I still can't install package via NPM. to be honest I'm no npm experts, but I cheked package file and it is mentioning old cli.js file at least twice - maybe a cause?
1st is "local": "npm run clean && npm run build && node bin/cli.js",
2nd is "files": [ "lib/", "bin/cli.js" ],

@hisabimbola
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have fixed this, saw one more thing I skipped but this work well now.

Please sign in to comment.