From a3eba3b3c2a38b25162626d9e99ddde16a9aea76 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Mon, 20 Apr 2015 14:28:31 +0430 Subject: [PATCH] rename --- bin.js | 3 --- package.json | 5 ++++- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 bin.js diff --git a/bin.js b/bin.js deleted file mode 100644 index ba4754a..0000000 --- a/bin.js +++ /dev/null @@ -1,3 +0,0 @@ -var Equation = require('./dist/index'); - -console.log(Equation.solve(process.argv[2])); diff --git a/package.json b/package.json index 55a719c..4b0333e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "mathstring", + "name": "equation", "version": "1.0.0", "description": "", "main": "dist/index.js", @@ -13,6 +13,9 @@ "Math", "JavaScript" ], + "bin": { + "equation": "bin.js" + }, "author": "Mahdi Dibaiee", "license": "MIT", "devDependencies": {