react-beauti-graph 0.0.0-stage → 1.3.1
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 +191 -0
- package/NOTICE +8 -0
- package/README.md +399 -2
- package/dist/default_setting.d.cts +17 -0
- package/dist/default_setting.d.ts +17 -0
- package/dist/graphFactory.d.cts +246 -0
- package/dist/graphFactory.d.ts +246 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +887 -0
- package/dist/index.js.map +1 -0
- package/dist/style.css +380 -0
- package/package.json +95 -4
package/package.json
CHANGED
|
@@ -1,6 +1,97 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-beauti-graph",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.3.1",
|
|
4
|
+
"description": "React graph component built on Cytoscape: groups, grid layout, two-way arrows, search, details panel and clipboard export.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"graph",
|
|
8
|
+
"cytoscape",
|
|
9
|
+
"dependency-graph",
|
|
10
|
+
"network",
|
|
11
|
+
"diagram",
|
|
12
|
+
"visualization"
|
|
13
|
+
],
|
|
14
|
+
"author": "Antonio Ramasco",
|
|
15
|
+
"license": "Apache-2.0",
|
|
16
|
+
"homepage": "https://github.com/ramasco/react-beauti-graph#readme",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/ramasco/react-beauti-graph.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/ramasco/react-beauti-graph/issues"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "./dist/index.cjs",
|
|
26
|
+
"module": "./dist/index.js",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"import": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"default": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"require": {
|
|
34
|
+
"types": "./dist/index.d.cts",
|
|
35
|
+
"default": "./dist/index.cjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"./style.css": "./dist/style.css",
|
|
39
|
+
"./package.json": "./package.json"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist",
|
|
43
|
+
"NOTICE"
|
|
44
|
+
],
|
|
45
|
+
"sideEffects": [
|
|
46
|
+
"*.css"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"dev": "npm --prefix examples run dev",
|
|
50
|
+
"build": "npm --prefix examples run build",
|
|
51
|
+
"start": "npm --prefix examples run start",
|
|
52
|
+
"test": "vitest run",
|
|
53
|
+
"test:watch": "vitest",
|
|
54
|
+
"build:lib": "vite build -c vite.lib.config.mjs && node node_modules/typescript7/bin/tsc -p tsconfig.build.json && node scripts/make-cts.mjs",
|
|
55
|
+
"prepublishOnly": "npm test && npm run build:lib",
|
|
56
|
+
"lint": "eslint .",
|
|
57
|
+
"format": "prettier --write .",
|
|
58
|
+
"format:check": "prettier --check .",
|
|
59
|
+
"check": "npm run typecheck && npm run lint && npm run format:check && npm test",
|
|
60
|
+
"typecheck": "node node_modules/typescript7/bin/tsc --noEmit && node node_modules/typescript7/bin/tsc --noEmit -p examples",
|
|
61
|
+
"smoke": "npm --prefix examples run build && node scripts/smoke.mjs"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"react": ">=18",
|
|
65
|
+
"react-dom": ">=18"
|
|
66
|
+
},
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"cytoscape": "^3.26.0",
|
|
69
|
+
"cytoscape-svg": "^0.4.0"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@eslint/js": "^9.39.5",
|
|
73
|
+
"@testing-library/react": "^16.3.3",
|
|
74
|
+
"@testing-library/user-event": "^14.6.7",
|
|
75
|
+
"@types/node": "^26.6.6",
|
|
76
|
+
"@types/react": "^19.3.0",
|
|
77
|
+
"@types/react-dom": "^19.3.0",
|
|
78
|
+
"@vitejs/plugin-react": "^6.1.2",
|
|
79
|
+
"eslint": "^9.39.5",
|
|
80
|
+
"eslint-config-prettier": "^10.1.8",
|
|
81
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
82
|
+
"eslint-plugin-react": "^7.37.5",
|
|
83
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
84
|
+
"globals": "^17.14.0",
|
|
85
|
+
"jsdom": "^29.1.1",
|
|
86
|
+
"playwright-core": "^1.65.0",
|
|
87
|
+
"prettier": "^3.9.10",
|
|
88
|
+
"react": "^19.3.0",
|
|
89
|
+
"react-dom": "^19.3.0",
|
|
90
|
+
"typescript": "^6.0.3",
|
|
91
|
+
"typescript-eslint": "^8.72.1",
|
|
92
|
+
"typescript7": "npm:typescript@^7.0.2",
|
|
93
|
+
"vite": "^8.3.4",
|
|
94
|
+
"vitest": "^5.0.3"
|
|
95
|
+
},
|
|
96
|
+
"types": "./dist/index.d.ts"
|
|
97
|
+
}
|