diff options
| author | Priyansh <[email protected]> | 2021-03-06 20:26:13 +0530 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2021-03-06 20:26:13 +0530 |
| commit | e5da8393d1165f22c968c0168a78b06c57b2cc0e (patch) | |
| tree | f6d3b9412161f6363561457f44ba1ea67e45e471 | |
| parent | b76747e1898b7b3ccdcab9c563249f256a08672e (diff) | |
| download | calculator-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.json | 7 |
2 files changed, 5 insertions, 2 deletions
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" + } } |
