Files
web/packages/ui/package.json
Dan Ditomaso 4386854e9d feat(ui): Add UI library (#900)
* feat: scaffold UI library

* Update packages/ui/src/components/theme-provider.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* add lock file

* lint/formatting fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 14:37:34 -04:00

77 lines
2.0 KiB
JSON

{
"name": "@meshtastic/ui",
"version": "0.1.0",
"license": "GPL-3.0-only",
"repository": {
"type": "git",
"url": "git+https://github.com/meshtastic/web.git"
},
"type": "module",
"files": [
"dist",
"!dist/**/*.test.*"
],
"sideEffects": [
"**/*.css"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./theme/default.css": "./dist/theme/default.css"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"start": "npm run dev",
"dev": "vite dev",
"watch": "vite build --watch",
"build": "vite build && publint",
"typecheck": "tsc -p tsconfig.json --noEmit",
"preview": "vite preview",
"lint": "eslint . --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"test": "vitest"
},
"peerDependencies": {
"@radix-ui/react-slot": ">=1.0.2",
"class-variance-authority": ">=0.7.0",
"react": ">=19",
"react-dom": ">=19",
"tailwind-merge": ">=2.5.0",
"tailwindcss": "^4.1.7"
},
"dependencies": {
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-tooltip": "^1.2.8",
"@tanstack/react-router": "^1.132.47",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.545.0",
"tailwind-merge": "^2.6.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.7",
"@tailwindcss/vite": "^4.1.14",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.4",
"publint": "^0.3.14",
"tailwindcss": "^4.1.14",
"tw-animate-css": "^1.4.0",
"typescript": "^5.6.3",
"vite": "^7.0.0",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-static-copy": "^3.1.4",
"vitest": "^3.0.0"
}
}