aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2021-03-06 20:26:13 +0530
committerPriyansh <[email protected]>2021-03-06 20:26:13 +0530
commite5da8393d1165f22c968c0168a78b06c57b2cc0e (patch)
treef6d3b9412161f6363561457f44ba1ea67e45e471
parentb76747e1898b7b3ccdcab9c563249f256a08672e (diff)
downloadcalculator-e5da8393d1165f22c968c0168a78b06c57b2cc0e.tar.xz
calculator-e5da8393d1165f22c968c0168a78b06c57b2cc0e.zip
Added files in bin directory and added scripts to run
-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"
+ }
}