react-force-graph
Version:
React component for 2D, 3D, VR and AR force directed graphs
81 lines (80 loc) • 2.04 kB
JSON
{
"name": "react-force-graph",
"version": "1.48.0",
"description": "React component for 2D, 3D, VR and AR force directed graphs",
"license": "MIT",
"type": "module",
"unpkg": "dist/react-force-graph.min.js",
"jsdelivr": "dist/react-force-graph.min.js",
"main": "dist/react-force-graph.mjs",
"module": "dist/react-force-graph.mjs",
"types": "dist/react-force-graph.d.ts",
"exports": {
"types": "./dist/react-force-graph.d.ts",
"umd": "./dist/react-force-graph.min.js",
"default": "./dist/react-force-graph.mjs"
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/vasturiano/react-force-graph.git"
},
"homepage": "https://github.com/vasturiano/react-force-graph",
"keywords": [
"react",
"force",
"graph",
"3d",
"2d",
"vr",
"ar",
"three",
"webgl",
"canvas"
],
"author": {
"name": "Vasco Asturiano",
"url": "https://github.com/vasturiano"
},
"bugs": {
"url": "https://github.com/vasturiano/react-force-graph/issues"
},
"scripts": {
"build": "rimraf dist && rollup -c",
"dev": "rollup -w -c rollup.config.dev.js",
"prepare": "npm run build"
},
"files": [
"dist/**/*"
],
"dependencies": {
"3d-force-graph": "^1.78",
"3d-force-graph-ar": "^1.10",
"3d-force-graph-vr": "^3.1",
"force-graph": "^1.50",
"prop-types": "15",
"react-kapsule": "^2.5"
},
"peerDependencies": {
"react": "*"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@types/react": "^19.1.8",
"@types/three": "^0.178.0",
"rimraf": "^6.0.1",
"rollup": "^4.44.1",
"rollup-plugin-dts": "^6.2.1",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=12"
}
}