Files
web/packages/sdk-react/package.json
Austin d2cb51d489 Execute oxfmt (#1166)
Ran
pnpm oxfmt .

This should get the web repo aligned so that we can better enforce oxfmt going forward.
2026-06-16 20:30:08 -04:00

73 lines
1.6 KiB
JSON

{
"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.9.2"
},
"devDependencies": {
"@testing-library/react": "^16.0.0",
"@types/react": "^19.2.17",
"jsdom": "^29.1.1",
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
"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"
]
}