@thinkbuff/figma-react
Version:
A Figma React UI components for creating plugins and widgets
136 lines • 3.77 kB
JSON
{
"name": "@thinkbuff/figma-react",
"author": "Eleven <eteplus@outlook.com>",
"license": "MIT",
"type": "module",
"version": "0.0.8",
"description": "A Figma React UI components for creating plugins and widgets",
"homepage": "https://github.com/thinkbuff/figma/tree/main/packages/react#readme",
"repository": {
"type": "git",
"url": "https://github.com/thinkbuff/figma",
"directory": "packages/react"
},
"bugs": {
"url": "https://github.com/thinkbuff/figma/issues"
},
"keywords": [
"figma",
"figma-plugin",
"figma-react",
"react",
"react-component",
"unocss",
"unocss-preset",
"unocss-preset-figma-theme"
],
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
},
"./utils": {
"types": "./dist/utils/index.d.ts",
"import": "./dist/utils/index.mjs"
},
"./components": {
"types": "./dist/components/index.d.ts",
"import": "./dist/components/index.mjs"
},
"./*": {
"types": "./dist/components/*/index.d.ts",
"import": "./dist/components/*/index.mjs"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"files": [
"*.css",
"dist"
],
"peerDependencies": {
"@thinkbuff/figma-theme": "*",
"@types/react": "*",
"@types/react-dom": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
},
"devDependencies": {
"@chromatic-com/storybook": "^3.2.3",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/addon-onboarding": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/test": "^8.4.7",
"@unocss/preset-rem-to-px": "^0.65.2",
"@vitejs/plugin-react": "^4.3.4",
"glob": "^11.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"storybook": "^8.4.7",
"typescript": "^5.7.2",
"unocss": "^0.65.2",
"unocss-preset-animations": "^1.1.0",
"vite": "^6.0.5",
"vite-plugin-dts": "^4.4.0",
"@thinkbuff/figma-theme": "0.0.8"
},
"dependencies": {
"@radix-ui/react-alert-dialog": "^1.1.4",
"@radix-ui/react-checkbox": "^1.1.3",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-dropdown-menu": "^2.1.4",
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-popover": "^1.1.4",
"@radix-ui/react-radio-group": "^1.2.2",
"@radix-ui/react-scroll-area": "^1.2.2",
"@radix-ui/react-select": "^2.1.4",
"@radix-ui/react-separator": "^1.1.1",
"@radix-ui/react-slider": "^1.2.2",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-toggle": "^1.1.1",
"@radix-ui/react-toggle-group": "^1.1.1",
"@radix-ui/react-tooltip": "^1.1.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"sonner": "^1.7.1",
"tailwind-merge": "^2.6.0"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"scripts": {
"clean": "rm -rf node_modules && rm -rf dist",
"build": "tsc && vite build",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
"lint:config-viewer": "npx @eslint/config-inspector",
"typecheck": "tsc --noEmit",
"storybook": "storybook dev -h 127.0.0.1 -p 6006",
"build-storybook": "storybook build"
}
}