@oscherbakov/react-flow-automated-layout 1.3.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/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "@oscherbakov/react-flow-automated-layout",
3
+ "version": "1.3.0",
4
+ "type": "module",
5
+ "license": "MIT",
6
+ "description": "A React library for automated layout of nested node graphs with parent-child relationships using React Flow",
7
+ "author": "oshcherbakov",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/jalez/react-flow-automated-layout.git"
11
+ },
12
+ "keywords": [
13
+ "typescript",
14
+ "react",
15
+ "react-flow",
16
+ "dagre",
17
+ "graph",
18
+ "layout",
19
+ "automated-layout",
20
+ "parent-child"
21
+ ],
22
+ "main": "dist/react-flow-automated-layout.umd.js",
23
+ "module": "dist/react-flow-automated-layout.es.js",
24
+ "types": "dist/types/index.d.ts",
25
+ "exports": {
26
+ ".": {
27
+ "types": "./dist/types/index.d.ts",
28
+ "import": "./dist/react-flow-automated-layout.es.js",
29
+ "require": "./dist/react-flow-automated-layout.umd.js"
30
+ }
31
+ },
32
+ "files": [
33
+ "dist"
34
+ ],
35
+ "scripts": {
36
+ "dev": "vite --open",
37
+ "build": "tsc -b && vite build",
38
+ "build-lib": "tsc -b tsconfig.lib.json && vite build",
39
+ "test": "vitest",
40
+ "generate-types": "tsc -p tsconfig.lib.json --emitDeclarationOnly",
41
+ "lint": "eslint .",
42
+ "preview": "vite preview",
43
+ "prepublishOnly": "npm run build-lib && npm run generate-types"
44
+ },
45
+ "dependencies": {
46
+ "@dagrejs/dagre": "^1.1.4"
47
+ },
48
+ "peerDependencies": {
49
+ "@xyflow/react": "^12.0.0",
50
+ "react": "^18.0.0 || ^19.0.0",
51
+ "react-dom": "^18.0.0 || ^19.0.0"
52
+ },
53
+ "devDependencies": {
54
+ "@eslint/js": "^9.21.0",
55
+ "@types/node": "^22.14.0",
56
+ "@types/react": "^19.0.10",
57
+ "@types/react-dom": "^19.0.4",
58
+ "@vitejs/plugin-react-swc": "^3.8.0",
59
+ "@xyflow/react": "^12.4.4",
60
+ "dotenv": "^16.4.7",
61
+ "eslint": "^9.21.0",
62
+ "eslint-plugin-react-hooks": "^5.1.0",
63
+ "eslint-plugin-react-refresh": "^0.4.19",
64
+ "globals": "^15.15.0",
65
+ "react": "^19.0.0",
66
+ "react-dom": "^19.0.0",
67
+ "typescript": "~5.7.2",
68
+ "typescript-eslint": "^8.24.1",
69
+ "vite": "^6.2.0",
70
+ "vite-plugin-dts": "^4.5.3",
71
+ "vitest": "^3.1.1"
72
+ }
73
+ }