reagraph
Version:
WebGL Node-based Graph for React
150 lines (149 loc) • 4.29 kB
JSON
{
"name": "reagraph",
"version": "4.32.0",
"description": "WebGL Node-based Graph for React",
"scripts": {
"build": "vite build --mode library",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"prettier": "prettier --log-level warn --write 'src/**/*.{ts,tsx,js,jsx}'",
"lint": "eslint --ext js,ts,tsx",
"lint:fix": "eslint --ext js,ts,tsx --fix",
"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.js",
"module": "./dist/index.js",
"source": "src/index.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"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": "10.0.4",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.6.1",
"@use-gesture/react": "^10.3.1",
"camera-controls": "^3.1.2",
"classnames": "^2.5.1",
"d3-array": "^3.2.4",
"d3-force-3d": "^3.0.6",
"d3-hierarchy": "^3.1.2",
"d3-scale": "^4.0.2",
"ellipsize": "^0.7.0",
"graphology": "^0.26.0",
"graphology-layout": "^0.6.1",
"graphology-layout-forceatlas2": "^0.10.1",
"graphology-layout-noverlap": "^0.4.2",
"graphology-metrics": "^2.4.0",
"graphology-shortest-path": "^2.1.0",
"hold-event": "^1.1.2",
"three": "^0.184.0",
"three-stdlib": "^2.36.1",
"zustand": "5.0.14"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"devDependencies": {
"@babel/core": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-react": "^7.29.7",
"@babel/preset-typescript": "^7.29.7",
"@storybook/addon-docs": "^10.4.2",
"@storybook/react-vite": "^10.4.2",
"@types/d3-array": "^3.2.2",
"@types/d3-hierarchy": "^3.1.7",
"@types/d3-scale": "^4.0.9",
"@types/node": "^22.19.0",
"@types/react": "^19.2.16",
"@types/react-dom": "^19.2.3",
"@types/three": "^0.184.1",
"@typescript-eslint/eslint-plugin": "^8.60.1",
"@typescript-eslint/parser": "^8.60.1",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/coverage-v8": "^4.1.8",
"autoprefixer": "^10.5.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.22",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-storybook": "^9.1.20",
"eslint-plugin-unused-imports": "^4.4.1",
"graphology-types": "^0.24.8",
"husky": "^9.1.7",
"jiti": "^2.7.0",
"jsdom": "^29.1.1",
"lint-staged": "^16.4.0",
"postcss-nested": "^7.0.2",
"postcss-preset-env": "^11.3.0",
"prettier": "^3.8.3",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"reakeys": "^2.0.6",
"reaviz-lint-rules": "^1.0.3",
"stats.js": "^0.17.0",
"storybook": "^10.4.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.60.1",
"vite": "^8.0.16",
"vite-plugin-checker": "^0.14.1",
"vite-plugin-css-injected-by-js": "^5.0.1",
"vite-plugin-dts": "^5.0.2",
"vite-plugin-svgr": "^5.2.0",
"vitest": "^4.1.8"
},
"overrides": {
"eslint-plugin-storybook": {
"storybook": "$storybook"
}
},
"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"
]
},
"engines": {
"node": "^20.19.0 || >=22.13.0"
}
}