Files
web/packages/sdk/package.json
dependabot[bot] 2233ab3383 chore(deps): bump tslog from 4.10.2 to 4.11.0 (#1285)
Bumps [tslog](https://github.com/fullstack-build/tslog) from 4.10.2 to 4.11.0.
- [Release notes](https://github.com/fullstack-build/tslog/releases)
- [Changelog](https://github.com/fullstack-build/tslog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fullstack-build/tslog/compare/v4.10.2...v4.11.0)

---
updated-dependencies:
- dependency-name: tslog
  dependency-version: 4.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-13 13:59:21 -04:00

89 lines
2.3 KiB
JSON

{
"name": "@meshtastic/sdk",
"version": "1.0.0",
"description": "Domain-driven SDK for Meshtastic devices. Feature slices (device/chat/nodes/channels/config/telemetry/position/traceroute/files) with signals-backed reactive state. Replaces @meshtastic/core.",
"license": "GPL-3.0-only",
"repository": {
"type": "git",
"url": "git+https://github.com/meshtastic/web.git",
"directory": "packages/sdk"
},
"files": [
"package.json",
"README.md",
"LICENSE",
"dist"
],
"type": "module",
"main": "./dist/mod.js",
"module": "./dist/mod.js",
"types": "./dist/mod.d.ts",
"exports": {
".": {
"types": "./dist/mod.d.ts",
"default": "./mod.ts"
},
"./transport": {
"types": "./dist/transport.d.ts",
"default": "./src/core/transport/index.ts"
},
"./protobuf": {
"types": "./dist/protobuf.d.ts",
"default": "./src/core/protobuf/index.ts"
},
"./testing": {
"types": "./dist/testing.d.ts",
"default": "./src/core/testing/index.ts"
}
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepack": "cp ../../LICENSE ./LICENSE",
"clean": "rm -rf dist LICENSE",
"build:npm": "tsdown && node ./scripts/rename-dts.mjs",
"publish:npm": "pnpm clean && pnpm build:npm && pnpm publish --access public --no-git-checks",
"prepare:jsr": "rm -rf dist && pnpm dlx pkg-to-jsr",
"publish:jsr": "pnpm run prepack && pnpm prepare:jsr && deno publish --allow-dirty --no-check",
"test": "vitest run"
},
"dependencies": {
"@bufbuild/protobuf": "^2.12.1",
"@meshtastic/protobufs": "jsr:^2.7.18",
"@preact/signals-core": "^1.14.4",
"better-result": "^2.9.2",
"crc": "npm:crc@^4.3.2",
"ste-simple-events": "^3.0.11",
"tslog": "^4.11.0"
},
"tsdown": {
"clean": true,
"dts": true,
"entry": {
"mod": "mod.ts",
"protobuf": "src/core/protobuf/index.ts",
"testing": "src/core/testing/index.ts",
"transport": "src/core/transport/index.ts"
},
"format": [
"esm"
],
"minify": false,
"platform": "browser",
"report": false,
"sourcemap": false,
"splitting": false,
"target": "esnext",
"treeshake": true
},
"jsrExclude": [
"src/**/*.test.ts",
"tests"
],
"jsrInclude": [
"mod.ts",
"src",
"README.md",
"LICENSE"
]
}