类库
› dragology
declarative-dragging/dragology
Dragology 是一个基于 TypeScript 的库,用于在 Web 环境中实现声明式 SVG 拖拽交互。它支持模型驱动和组合式拖拽概念,帮助开发者构建高质量、新颖的拖放界面。通过 npm 安装即可在 Vite 等项目中使用,适用于需要复杂 SVG 交互的网页应用开发。
技术栈
根目录 javascript
框架
React
^19.2.0
构建工具
Vite
^8.0.3
esbuild
^0.27.3
测试
Vitest
^5.0.0-beta.7
CSS 框架
Tailwind CSS
^4.1.17
代码规范
ESLint
^9.39.1
Prettier
^3.8.1
查看全部依赖 (42)
依赖
d3-color
^3.1.0
d3-delaunay
^6.0.4
d3-ease
^3.0.1
d3-interpolate
^3.0.1
d3-interpolate-path
^2.3.0
immer
^11.0.0
lodash-es
^4.18.1
开发依赖
@eslint/js
^9.39.1
@joshuahhh/pretty-print
^0.0.7
@tailwindcss/vite
^4.2.2
@testing-library/react
^16.3.2
@types/d3-color
^3.1.3
@types/d3-delaunay
^6.0.4
@types/d3-ease
^3.0.2
@types/d3-interpolate
^3.0.4
@types/d3-interpolate-path
^2.0.3
@types/d3-shape
^3.1.7
@types/dagre
^0.7.53
@types/lodash-es
^4.17.12
@types/node
^25.2.3
@types/parse-gitignore
^1.0.2
@types/react
^19.2.4
@types/react-dom
^19.2.3
@vitejs/plugin-react
^6.0.1
bluefish-js
^0.0.38
d3-shape
^3.2.0
dagre
^0.8.5
deep-freeze-es6
^5.0.0
dts-bundle-generator
^9.5.1
eslint-plugin-react-hooks
^7.0.1
html-react-parser
^5.2.10
jsdom
^29.0.0
json-diff-ts
^4.8.2
peggy
^3.0.2
prettier-plugin-organize-imports
^4.0.0
qrcode-generator
^2.0.4
react-dom
^19.2.0
react-router-dom
^7.9.5
ts-pegjs
^4.2.1
typescript
^5.2.2
typescript-eslint
^8.46.4
vite-plugin-qrcode
^0.4.1