From 999424f5d64cafdc3f89ab0db8d48601b3463158 Mon Sep 17 00:00:00 2001 From: ADAMSKI-DZ Date: Fri, 26 Apr 2024 04:36:39 +0100 Subject: [PATCH] Editing package.json + .gitignore --- .gitignore | 1 + package.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index a850249..dbaf316 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ test/ps_script/batteryreport.xml lib/ps_script/batteryreport.xml +.npmignore diff --git a/package.json b/package.json index 8c4f4fe..0d54e6c 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "nodeJS package to get information about laptop battery", "main": "./index.js", "types": "./index.d.ts", + "bin": { + "battery_util": "lib/cli.js" + }, "scripts": { "test": "node ./test/test.js", "cli": "node ./lib/cli.js"