mirror of
https://github.com/Cyclenerd/meshcore-bot.git
synced 2026-03-28 17:42:46 +01:00
executable
This commit is contained in:
2
meshcore-bot.js
Normal file → Executable file
2
meshcore-bot.js
Normal file → Executable 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';
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user