mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
Convert all 16 source files from .js to .ts with full type annotations. Add types.ts with interfaces for all data structures. Export BufferReader and BufferWriter from index. Use 'as const' for literal types on constants.
23 lines
498 B
JSON
23 lines
498 B
JSON
{
|
|
"name": "@liamcottle/meshcore.js",
|
|
"version": "1.11.0",
|
|
"description": "",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"files": ["dist"],
|
|
"author": "Liam Cottle <liam@liamcottle.com>",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@noble/curves": "^1.8.1",
|
|
"serialport": "^13.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|