« get me outta code hell

Add bin script and some error handling - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-06-12 22:24:47 -0300
committerFlorrie <towerofnix@gmail.com>2018-06-12 22:24:47 -0300
commit70d6ea774ce47ca1a12cde8040c345de49beb29b (patch)
treebbc82345f75c3e003e8736e2404e032572311f19 /package.json
parenta99273788ef30b79ddf2bccd52f1ac5a1d8cd383 (diff)
Add bin script and some error handling
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index e2501ab..047b6bb 100644
--- a/package.json
+++ b/package.json
@@ -3,8 +3,8 @@
   "version": "1.0.0",
   "description": "",
   "main": "index.js",
-  "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
+  "bin": {
+    "mtui": "./index.js"
   },
   "author": "",
   "license": "GPL-3.0",