Skip to content

Commit

Permalink
Create bin command to run script as executable
Browse files Browse the repository at this point in the history
  • Loading branch information
nibble-4bits committed Jul 23, 2020
1 parent a4ab1a2 commit 5b68ad0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"description": "A scraper that gets the solutions of all of the CodeWars katas you have solved",
"main": "main.js",
"bin": {
"codewars-solutions": "./main.js"
},
"scripts": {
"start": "node main.js",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 5b68ad0

Please sign in to comment.