146 lines
5.2 KiB
JSON
146 lines
5.2 KiB
JSON
{
|
|
"name": "@suaveplan/react-control-surface",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"browser": "./dist/index.js",
|
|
"description": "React 19 atomic-control surface renderer for @suaveplan/control-surface-schema. Foundation chunk: error codes, telemetry, skin contract, binding registry + handlers, grouping primitives, and the simple atomic controls (TextLabel, Image, LED, Switch2, Switch3, ButtonMomentary, ButtonLatching).",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./error-codes": {
|
|
"import": {
|
|
"types": "./dist/error-codes/index.d.ts",
|
|
"default": "./dist/error-codes/index.js"
|
|
}
|
|
},
|
|
"./telemetry": {
|
|
"import": {
|
|
"types": "./dist/telemetry/index.d.ts",
|
|
"default": "./dist/telemetry/index.js"
|
|
}
|
|
},
|
|
"./skin": {
|
|
"import": {
|
|
"types": "./dist/skin/index.d.ts",
|
|
"default": "./dist/skin/index.js"
|
|
}
|
|
},
|
|
"./grouping": {
|
|
"import": {
|
|
"types": "./dist/grouping/index.d.ts",
|
|
"default": "./dist/grouping/index.js"
|
|
}
|
|
},
|
|
"./runtime/binding-registry": {
|
|
"import": {
|
|
"types": "./dist/runtime/binding-registry/index.d.ts",
|
|
"default": "./dist/runtime/binding-registry/index.js"
|
|
}
|
|
},
|
|
"./controls/text-label": {
|
|
"import": {
|
|
"types": "./dist/controls/text-label/text-label.d.ts",
|
|
"default": "./dist/controls/text-label/text-label.js"
|
|
}
|
|
},
|
|
"./controls/image": {
|
|
"import": {
|
|
"types": "./dist/controls/image/image.d.ts",
|
|
"default": "./dist/controls/image/image.js"
|
|
}
|
|
},
|
|
"./controls/led": {
|
|
"import": {
|
|
"types": "./dist/controls/led/led.d.ts",
|
|
"default": "./dist/controls/led/led.js"
|
|
}
|
|
},
|
|
"./controls/switch-2": {
|
|
"import": {
|
|
"types": "./dist/controls/switch-2/switch-2.d.ts",
|
|
"default": "./dist/controls/switch-2/switch-2.js"
|
|
}
|
|
},
|
|
"./controls/switch-3": {
|
|
"import": {
|
|
"types": "./dist/controls/switch-3/switch-3.d.ts",
|
|
"default": "./dist/controls/switch-3/switch-3.js"
|
|
}
|
|
},
|
|
"./controls/button-momentary": {
|
|
"import": {
|
|
"types": "./dist/controls/button-momentary/button-momentary.d.ts",
|
|
"default": "./dist/controls/button-momentary/button-momentary.js"
|
|
}
|
|
},
|
|
"./controls/button-latching": {
|
|
"import": {
|
|
"types": "./dist/controls/button-latching/button-latching.d.ts",
|
|
"default": "./dist/controls/button-latching/button-latching.js"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "bunx biome check src/",
|
|
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
|
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
|
},
|
|
"dependencies": {
|
|
"@opentelemetry/api": "catalog:observability",
|
|
"@suaveplan/control-surface-schema": "workspace:^",
|
|
"@suaveplan/error": "workspace:^",
|
|
"@suaveplan/react-audio": "workspace:^",
|
|
"@suaveplan/react-midi": "workspace:^",
|
|
"tslib": "catalog:build"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@testing-library/jest-dom": "catalog:testing",
|
|
"@testing-library/react": "catalog:testing",
|
|
"@testing-library/user-event": "catalog:testing",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:testing",
|
|
"@types/react-dom": "catalog:testing",
|
|
"@vitejs/plugin-react": "catalog:testing",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"happy-dom": "catalog:testing",
|
|
"react": "catalog:testing",
|
|
"react-dom": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"README.md"
|
|
]
|
|
}
|