UNPKG

sweet-diagram

Version:

A modern and intuitive diagram editor component for React applications with advanced auto-connect features, Sankey diagrams, Stack functionality, vertical text support, animation effects, and comprehensive component library

135 lines (134 loc) 4.14 kB
{ "name": "sweet-diagram", "version": "0.4.7", "type": "module", "author": "KimDowon", "license": "MIT", "description": "A modern and intuitive diagram editor component for React applications with advanced auto-connect features, Sankey diagrams, Stack functionality, vertical text support, animation effects, and comprehensive component library", "keywords": [ "react", "diagram", "editor", "visualization", "sweet-diagram", "javascript", "auto-connect", "animation", "vertical-text", "drag-drop", "component-library", "interactive-diagram", "typescript", "modern-ui", "sankey-diagram", "stack-layout", "flow-diagram", "junction-points", "undo-redo", "history-management", "json-import-export" ], "homepage": "https://sweetpotato-diagram.vercel.app", "repository": { "type": "git", "url": "git+https://github.com/KoreaMoney/sweetpotato-diagram.git" }, "bugs": { "url": "https://github.com/KoreaMoney/sweetpotato-diagram/issues" }, "main": "./dist/sweet-diagram.cjs.js", "module": "./dist/sweet-diagram.es.js", "types": "./dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "exports": { ".": { "import": "./dist/sweet-diagram.es.js", "require": "./dist/sweet-diagram.cjs.js" }, "./dist/sweet-diagram.css": "./dist/sweet-diagram.css", "./styles": "./dist/sweet-diagram.css" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "dev": "vite", "build": "vite build", "build:lib": "vite build --mode library", "lint": "eslint .", "preview": "vite preview", "test": "vitest", "test:ui": "vitest --ui", "test:run": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest --watch", "test:e2e": "playwright test", "test:e2e:ui": "playwright test --ui", "test:e2e:headed": "playwright test --headed", "test:visual": "playwright test src/test/e2e/visual.spec.js", "test:components": "playwright test src/test/e2e/components.spec.js", "test:all": "npm run test:run && npm run test:e2e", "prepublishOnly": "npm run build:lib", "prepare": "npm run build:lib", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "publish:npm": "npm publish", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "@react-three/drei": "^10.3.0", "@react-three/fiber": "^9.1.2", "three": "^0.176.0", "lucide-react": "^0.511.0", "zustand": "^5.0.5" }, "dependencies": {}, "devDependencies": { "@eslint/js": "^9.21.0", "@playwright/test": "^1.52.0", "@storybook/addon-docs": "^9.0.4", "@storybook/addon-onboarding": "^9.0.4", "@storybook/react-vite": "^9.0.4", "@tailwindcss/cli": "^4.0.15", "@tailwindcss/postcss": "^4.0.15", "@tailwindcss/vite": "^4.0.15", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@vitejs/plugin-react": "^4.5.0", "@vitejs/plugin-react-swc": "^3.8.0", "@vitest/coverage-v8": "^3.1.4", "eslint": "^9.21.0", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.19", "eslint-plugin-storybook": "^9.0.4", "globals": "^15.15.0", "jsdom": "^26.1.0", "postcss": "^8.5.3", "prop-types": "^15.8.1", "react": "^19.0.0", "react-dom": "^19.0.0", "react-router-dom": "^7.6.1", "storybook": "^9.0.4", "tailwindcss": "^4.0.15", "terser": "^5.43.1", "vite": "^6.2.0", "vite-plugin-html": "^3.2.2", "vite-plugin-sitemap": "^0.8.2", "vitest": "^3.1.4" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" }, "packageManager": "npm@10.0.0" }