-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
package.json
137 lines (137 loc) · 3.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "reagraph",
"version": "4.21.1",
"description": "WebGL Node-based Graph for React",
"scripts": {
"build": "vite build --mode library",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
"lint": "eslint --ext js,ts,tsx src",
"lint:fix": "eslint --ext js,ts,tsx --fix src",
"start": "storybook dev -p 9009",
"build-storybook": "storybook build",
"prepare": "husky install",
"chromatic": "npx chromatic --project-token=a7098a56897c --auto-accept-changes"
},
"type": "module",
"types": "dist/index.d.ts",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs",
"types": "./dist/index.d.ts"
}
},
"browser": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/reaviz/reagraph.git"
},
"files": [
"dist"
],
"keywords": [
"react",
"reactjs",
"network-graph",
"dag",
"directed-graph",
"graph",
"threejs",
"webgl"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/reaviz/reagraph/issues"
},
"homepage": "https://github.com/reaviz/reagraph#readme",
"dependencies": {
"@react-spring/three": "9.6.1",
"@react-three/fiber": "8.13.5",
"@use-gesture/react": "^10.3.1",
"camera-controls": "^2.8.3",
"classnames": "^2.5.1",
"d3-array": "^3.2.4",
"d3-force-3d": "^3.0.3",
"d3-hierarchy": "^3.1.2",
"d3-scale": "^4.0.2",
"ellipsize": "^0.5.1",
"glodrei": "^0.0.1",
"graphology": "^0.25.4",
"graphology-layout": "^0.6.1",
"graphology-layout-forceatlas2": "^0.10.1",
"graphology-layout-noverlap": "^0.4.2",
"graphology-metrics": "^2.1.0",
"graphology-shortest-path": "^2.0.2",
"hold-event": "^0.2.0",
"reakeys": "^2.0.3",
"three": "^0.154.0",
"three-stdlib": "^2.23.13",
"zustand": "4.3.9"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"devDependencies": {
"@babel/preset-react": "^7.23.3",
"@storybook/addon-docs": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-mdx-gfm": "^7.6.17",
"@storybook/addon-storysource": "^7.6.17",
"@storybook/addons": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.6.17",
"@storybook/theming": "^7.6.17",
"@types/d3-array": "^3.2.1",
"@types/d3-hierarchy": "^3.1.6",
"@types/d3-scale": "^4.0.8",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@types/three": "^0.154.0",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.3.1",
"autoprefixer": "^10.4.18",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.8.0",
"graphology-types": "^0.24.7",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^9.4.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"stats.js": "^0.17.0",
"storybook": "^7.6.17",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vite-plugin-checker": "^0.6.4",
"vite-plugin-css-injected-by-js": "^3.4.0",
"vite-plugin-dts": "^3.7.3",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.3.1"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --ext js,ts,tsx --fix"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
}
}