{ "name": "@meshtastic/sdk-react", "version": "1.0.0", "description": "React hooks + provider for @meshtastic/sdk. Signal-backed reactive state exposed as idiomatic hooks.", "license": "GPL-3.0-only", "repository": { "type": "git", "url": "git+https://github.com/meshtastic/web.git", "directory": "packages/sdk-react" }, "files": [ "package.json", "README.md", "LICENSE", "dist" ], "type": "module", "main": "./dist/mod.js", "module": "./dist/mod.js", "types": "./dist/mod.d.ts", "exports": { ".": "./mod.ts" }, "scripts": { "preinstall": "npx only-allow pnpm", "prepack": "cp ../../LICENSE ./LICENSE", "clean": "rm -rf dist LICENSE", "build:npm": "tsdown", "publish:npm": "pnpm clean && pnpm build:npm && pnpm publish --access public --no-git-checks", "test": "vitest run" }, "dependencies": { "@meshtastic/sdk": "workspace:*", "better-result": "^2.10.0" }, "devDependencies": { "@testing-library/react": "^16.0.0", "@types/react": "^19.2.17", "jsdom": "^30.0.0", "react": "^19.2.8", "react-dom": "^19.2.8" }, "peerDependencies": { "react": "^18 || ^19" }, "tsdown": { "clean": true, "dts": true, "entry": "mod.ts", "format": [ "esm" ], "minify": false, "platform": "neutral", "report": false, "sourcemap": false, "splitting": false, "target": "esnext", "treeshake": true }, "jsrExclude": [ "src/**/*.test.ts", "src/**/*.test.tsx", "tests" ], "jsrInclude": [ "mod.ts", "src", "README.md", "LICENSE" ] }