Initial import

This commit is contained in:
2026-03-09 22:05:39 +01:00
parent 73631969c9
commit 344c89a8d0
15 changed files with 3894 additions and 10 deletions

43
package.json Normal file
View File

@@ -0,0 +1,43 @@
{
"name": "meshcore",
"version": "0.0.1",
"description": "MeshCore protocol support for Typescript",
"keywords": [
"MeshCore",
"LoRa",
"Mesh"
],
"repository": {
"type": "git",
"url": "git+https://git.maze.io/ham/meshcore.js"
},
"license": "MIT",
"author": "Wijnand Modderman-Lenstra",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --out-dir dist",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch --out-dir dist",
"clean": "rm -rf dist",
"test": "vitest",
"test:watch": "vitest --watch",
"test:ci": "vitest --run",
"prepare": "npm run build"
},
"dependencies": {
"@noble/ciphers": "^2.1.1",
"@noble/curves": "^2.0.1",
"@noble/ed25519": "^3.0.0",
"@noble/hashes": "^2.0.1"
},
"devDependencies": {
"@vitest/coverage-v8": "^4.0.18",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.18"
}
}