From 0777de58144c77313b10a50846d4c2f67a27e3b1 Mon Sep 17 00:00:00 2001 From: Nils Date: Fri, 12 Sep 2025 22:25:33 +0200 Subject: [PATCH] more npm stuff --- .npmignore | 5 +++++ README.md | 4 ++-- package.json | 24 ++++++++++++++++++------ 3 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..ee27b46 --- /dev/null +++ b/.npmignore @@ -0,0 +1,5 @@ +** +!LICENSE +!meshcore-bot.js +!package.json +!README.md diff --git a/README.md b/README.md index 6ab5da5..bdcfb85 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This bot is ideal for testing MeshCore setup with repeater and distance of commu | Client | Bot | |--------|-----| -| ![Screenshot: Client](./img/screenshot-client.jpg) | ![Screenshot: Bot Log](./img/screenshot-bot.png) | +| ![Screenshot: Client](https://github.com/Cyclenerd/meshcore-bot/raw/master/img/screenshot-client.jpg) | ![Screenshot: Bot Log](https://github.com/Cyclenerd/meshcore-bot/raw/master/img/screenshot-bot.png) | ## Installation @@ -96,4 +96,4 @@ timestamp,lpp_volts,batt_milli_volts,curr_tx_queue_len,noise_floor,last_rssi,n_p ## License -All files in this repository are under the [Apache License, Version 2.0](LICENSE) unless noted otherwise. +All files in this repository are under the [Apache License, Version 2.0](https://github.com/Cyclenerd/meshcore-bot/blob/master/LICENSE) unless noted otherwise. diff --git a/package.json b/package.json index ea9ec20..f2c1ada 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,31 @@ { - "type": "module", - "version": "1.0.0", - "scripts": { - "start": "node meshcore-bot.js" - }, + "author": "Nils K. (https://cyclenerd.de/)", "bin": { "meshcore-bot": "./meshcore-bot.js" }, + "bugs": { + "url": "https://github.com/Cyclenerd/meshcore-bot/issues" + }, "dependencies": { "@liamcottle/meshcore.js": "^1.6.0", "yargs": "^17.7.2" }, + "description": "Command bot that connects to a MeshCore companion radio device via USB serial", "devDependencies": { "@eslint/js": "^9.34.0", "eslint": "^9.35.0", "globals": "^16.3.0" - } + }, + "homepage": "https://github.com/Cyclenerd/meshcore-bot", + "license": "Apache-2.0", + "name": "meshcore-bot", + "repository": { + "type": "git", + "url": "https://github.com/Cyclenerd/meshcore-bot.git" + }, + "scripts": { + "start": "node meshcore-bot.js" + }, + "type": "module", + "version": "1.0.0" }