@datnguye/erd-flow 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +151 -0
- package/dist/erd-flow.css +1 -0
- package/dist/index.d.ts +193 -0
- package/dist/index.js +987 -0
- package/package.json +69 -0
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@datnguye/erd-flow",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "An entity-relationship diagram component for dbt projects — table nodes, self-drawing foreign-key edges, and pluggable layouts.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Dat Nguyen",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/datnguye/erd-flow.git"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"erd",
|
|
14
|
+
"entity-relationship",
|
|
15
|
+
"react-flow",
|
|
16
|
+
"dbt",
|
|
17
|
+
"dbterd",
|
|
18
|
+
"diagram",
|
|
19
|
+
"lineage"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": [
|
|
22
|
+
"*.css"
|
|
23
|
+
],
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"main": "./dist/index.js",
|
|
28
|
+
"module": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./styles.css": "./dist/erd-flow.css"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc -b && vite build",
|
|
39
|
+
"dev": "vite",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"test": "vitest run",
|
|
42
|
+
"test:watch": "vitest",
|
|
43
|
+
"e2e": "playwright test",
|
|
44
|
+
"e2e:install": "playwright install --with-deps chromium"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@dagrejs/dagre": "^1.1.4",
|
|
48
|
+
"@xyflow/react": "^12.3.0",
|
|
49
|
+
"react": "^18.3.0",
|
|
50
|
+
"react-dom": "^18.3.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@dagrejs/dagre": "^1.1.8",
|
|
54
|
+
"@playwright/test": "^1.48.0",
|
|
55
|
+
"@testing-library/react": "^16.3.2",
|
|
56
|
+
"@types/node": "^22.0.0",
|
|
57
|
+
"@types/react": "^18.3.0",
|
|
58
|
+
"@types/react-dom": "^18.3.0",
|
|
59
|
+
"@vitejs/plugin-react": "^4.3.0",
|
|
60
|
+
"@xyflow/react": "^12.3.0",
|
|
61
|
+
"jsdom": "^25.0.0",
|
|
62
|
+
"react": "^18.3.0",
|
|
63
|
+
"react-dom": "^18.3.0",
|
|
64
|
+
"typescript": "^5.6.0",
|
|
65
|
+
"vite": "^6.0.0",
|
|
66
|
+
"vite-plugin-dts": "^4.3.0",
|
|
67
|
+
"vitest": "^3.0.0"
|
|
68
|
+
}
|
|
69
|
+
}
|