executable

This commit is contained in:
Nils
2025-09-12 08:58:41 +02:00
parent e3b449807e
commit b041b76396
2 changed files with 5 additions and 0 deletions

2
meshcore-bot.js Normal file → Executable file
View File

@@ -1,3 +1,5 @@
#!/usr/bin/env node
import { Constants, NodeJSSerialConnection } from "@liamcottle/meshcore.js";
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';

View File

@@ -4,6 +4,9 @@
"scripts": {
"start": "node meshcore-bot.js"
},
"bin": {
"meshcore-bot": "./meshcore-bot.js"
},
"dependencies": {
"@liamcottle/meshcore.js": "^1.6.0",
"yargs": "^17.7.2"