UNPKG

figma-to-react-mcp

Version:

Convert Figma designs to React components automatically. MCP server with GitHub, Figma, and Playwright integrations for seamless design-to-code workflow.

87 lines (86 loc) 2.52 kB
{ "name": "figma-to-react-mcp", "version": "2.0.10", "description": "Convert Figma designs to React components automatically. MCP server with GitHub, Figma, and Playwright integrations for seamless design-to-code workflow.", "type": "module", "main": "dist/src/index.js", "bin": { "figma-to-react-mcp": "dist/src/index.js", "figma-to-react-mcp-setup": "dist/src/cli-setup.js" }, "files": [ "dist/**/*", "README.md", "cursor-mcp-config.json" ], "scripts": { "build": "tsc", "dev": "tsx watch src/index.ts", "start": "node dist/src/index.js", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "postinstall": "npx playwright install chromium", "prepublishOnly": "npm run build && npm test && npm run lint", "prepack": "npm run build", "version": "npm run build", "release": "tsx src/cli-release.ts", "release:analyze": "node scripts/analyze-commits.cjs", "commit": "node scripts/commit-helper.cjs", "postversion": "git push && git push --tags", "release:patch": "npm version patch && npm publish", "release:minor": "npm version minor && npm publish", "release:major": "npm version major && npm publish" }, "keywords": [ "figma", "react", "components", "design-to-code", "mcp", "typescript", "frontend", "github", "playwright", "automation" ], "author": "Figma to React MCP", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^0.4.0", "@octokit/rest": "^20.0.2", "axios": "^1.6.2", "dotenv": "^16.3.1", "pixelmatch": "^5.3.0", "playwright": "^1.40.1", "pngjs": "^7.0.0", "sharp": "^0.33.1", "zod": "^3.22.4" }, "devDependencies": { "@types/jest": "^29.5.8", "@types/node": "^20.10.5", "@types/pixelmatch": "^5.2.6", "@types/pngjs": "^6.0.4", "@typescript-eslint/eslint-plugin": "^6.13.1", "@typescript-eslint/parser": "^6.13.1", "eslint": "^8.54.0", "jest": "^29.7.0", "ts-jest": "^29.1.1", "tsx": "^4.20.3", "typescript": "^5.3.3" }, "engines": { "node": ">=18.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/surisagar900/figma-to-react-mcp.git" }, "bugs": { "url": "https://github.com/surisagar900/figma-to-react-mcp/issues" }, "homepage": "https://github.com/surisagar900/figma-to-react-mcp#readme" }