« get me outta code hell

Generally improve how scripts and running works - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorliam4 <towerofnix@gmail.com>2017-05-31 19:59:16 -0300
committerliam4 <towerofnix@gmail.com>2017-05-31 19:59:16 -0300
commit69cf7222241ee9ed1f2aae3fba48061f05dbd56f (patch)
treebf0a9cdb52a0d2a2a6087e7e07808c412acbc4f8 /package.json
parent50a9c1a0a3feca4412f1c4041f041e7faf45088f (diff)
Generally improve how scripts and running works
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
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",