diff --git a/Node/.npmignore b/Node/.npmignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/Node/.npmignore @@ -0,0 +1 @@ +node_modules/ diff --git a/Node/README.md b/Node/README.md index c621d04..032c658 100644 --- a/Node/README.md +++ b/Node/README.md @@ -16,5 +16,5 @@ Built-in Help To use the built-in help function, use the following command: ```bash -node SavannaBarcode.js Help +BarcodeIntelligence Help ``` diff --git a/Node/SavannaBarcode.js b/Node/SavannaBarcode.js old mode 100644 new mode 100755 index a50c27c..ab18c76 --- a/Node/SavannaBarcode.js +++ b/Node/SavannaBarcode.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + var http = require("http"); global.https = require("https"); const fs = require('fs'); diff --git a/Node/package-lock.json b/Node/package-lock.json index 8ff3ae5..6f463aa 100644 --- a/Node/package-lock.json +++ b/Node/package-lock.json @@ -1,6 +1,6 @@ { - "name": "SavannaBarcode", - "version": "1.0.0", + "name": "barcode_intelligence_cli", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/Node/package.json b/Node/package.json index c052ada..72dd9e8 100644 --- a/Node/package.json +++ b/Node/package.json @@ -1,13 +1,16 @@ { - "name": "savanna_barcode", - "version": "1.0.0", - "description": "Allows you to use Zebra Technologies' Savanna Barcode APIs", + "name": "barcode_intelligence_cli", + "version": "1.0.2", + "description": "Allows you to use Zebra Technologies' Savanna Barcode API", "main": "SavannaBarcode.js", + "bin": { + "BarcodeIntelligence": "./SavannaBarcode.js" + }, "dependencies": { "yargs": "^15.1.0" }, - "repository":{ - "type":"git", + "repository": { + "type": "git", "url": "https://github.com/Zebra/Savanna-JavaScript-SDK.git" }, "devDependencies": {},