aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/index.js (renamed from index.js)0
-rw-r--r--package.json7
2 files changed, 5 insertions, 2 deletions
diff --git a/index.js b/bin/index.js
index c2e55ef..c2e55ef 100644
--- a/index.js
+++ b/bin/index.js
diff --git a/package.json b/package.json
index 70ec4a8..0fe3445 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "calculator",
"version": "0.1.0",
"description": "A Command Line Scientific Calculator",
- "main": "index.js",
+ "main": "bin/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
@@ -22,5 +22,8 @@
"bugs": {
"url": "https://github.com/luciferreeves/calculator/issues"
},
- "homepage": "https://github.com/luciferreeves/calculator#readme"
+ "homepage": "https://github.com/luciferreeves/calculator#readme",
+ "bin": {
+ "calculator": "./bin/index.js"
+ }
}