mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-03-30 20:35:40 +00:00
- Install nyc for Istanbul instrumentation - Add scripts/instrument-frontend.sh to instrument public/*.js - Add scripts/collect-frontend-coverage.js to extract window.__coverage__ - Add scripts/combined-coverage.sh for combined server+frontend coverage - Make server.js serve public-instrumented/ when COVERAGE=1 is set - Add test:full-coverage npm script - Add public-instrumented/ and .nyc_output/ to .gitignore
28 lines
920 B
JSON
28 lines
920 B
JSON
{
|
|
"name": "meshcore-analyzer",
|
|
"version": "2.6.0",
|
|
"description": "Community-run alternative to the closed-source `analyzer.letsmesh.net`. MQTT packet collection + open-source web analyzer for the Bay Area MeshCore mesh.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "npx c8 --reporter=text --reporter=text-summary sh test-all.sh",
|
|
"test:unit": "node test-packet-filter.js && node test-aging.js && node test-regional-filter.js",
|
|
"test:coverage": "npx c8 --reporter=text --reporter=html sh test-all.sh",
|
|
"test:full-coverage": "sh scripts/combined-coverage.sh"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@michaelhart/meshcore-decoder": "^0.2.7",
|
|
"better-sqlite3": "^12.8.0",
|
|
"express": "^5.2.1",
|
|
"mqtt": "^5.15.0",
|
|
"ws": "^8.19.0"
|
|
},
|
|
"devDependencies": {
|
|
"nyc": "^18.0.0",
|
|
"playwright": "^1.58.2",
|
|
"supertest": "^7.2.2"
|
|
}
|
|
}
|