diff options
author | liam4 <towerofnix@gmail.com> | 2017-05-31 19:59:16 -0300 |
---|---|---|
committer | liam4 <towerofnix@gmail.com> | 2017-05-31 19:59:16 -0300 |
commit | 69cf7222241ee9ed1f2aae3fba48061f05dbd56f (patch) | |
tree | bf0a9cdb52a0d2a2a6087e7e07808c412acbc4f8 /package.json | |
parent | 50a9c1a0a3feca4412f1c4041f041e7faf45088f (diff) |
Generally improve how scripts and running works
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package.json b/package.json index 804df46..86856d9 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,14 @@ "name": "http-music", "version": "0.0.1", "main": "src/play.js", + "scripts": { + "play": "node src/play.js", + "crawl-recursive": "node src/crawl-recursive" + }, + "bin": { + "http-music": "./src/play.js", + "http-music-crawl-recursive": "./src/crawl-recursive.js" + }, "dependencies": { "cheerio": "^1.0.0-rc.1", "node-fetch": "^1.7.0", |