@sequencemedia/graphviz-react
Version:
React component for displaying Graphviz graphs
95 lines (94 loc) • 2.67 kB
JSON
{
"name": "@sequencemedia/graphviz-react",
"version": "0.2.31",
"description": "React component for displaying Graphviz graphs",
"keywords": [
"Graphviz",
"React",
"D3"
],
"main": "./lib/GraphvizReact.js",
"type": "module",
"types": "./lib/GraphvizReact.d.ts",
"author": {
"name": "Jonathan Perry for Sequence Media Limited",
"email": "sequencemedia@sequencemedia.net",
"url": "https://sequencemedia.net"
},
"contributors": [
"Dom Parfitt (https://github.com/DomParfitt/graphviz-react.git)"
],
"license": "ISC",
"engines": {
"node": ">=18.12.0 <=21.7.3 || >=22.2.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sequencemedia/graphviz-react.git"
},
"scripts": {
"build": "tsc",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky",
"test": "jest"
},
"dependencies": {
"classnames": "^2.5.1",
"debug": "^4.4.0"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/eslint-parser": "^7.27.0",
"@babel/plugin-syntax-jsx": "^7.25.9",
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.27.0",
"@hpcc-js/wasm-graphviz": "^1.7.0",
"@sequencemedia/eslint-config-standard": "^0.2.50",
"@sequencemedia/eslint-config-typescript": "^0.1.78",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/d3": "^7.4.3",
"@types/d3-graphviz": "^2.6.10",
"@types/d3-selection": "^3.0.11",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.14",
"@types/prop-types": "^15.7.14",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@typescript-eslint/eslint-plugin": "^8.31.0",
"@typescript-eslint/parser": "^8.31.0",
"babel-jest": "^29.7.0",
"core-js": "^3.41.0",
"d3": "^7.9.0",
"d3-graphviz": "^5.6.0",
"d3-selection": "^3.0.0",
"eslint": "^9.25.1",
"eslint-plugin-react": "^7.37.5",
"globals": "^16.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prop-types": "^15.8.1",
"react": "18.3.1",
"react-component-snapshot": "^0.0.38",
"react-dom": "18.3.1",
"ts-jest": "^29.3.2",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"peerDependencies": {
"@hpcc-js/wasm-graphviz": "^1.3.0",
"d3": "^7.9.0",
"d3-graphviz": "^5.4.0",
"d3-selection": "^3.0.0",
"react": ">=18.2.0",
"react-dom": ">=18.2.0"
},
"exports": {
".": "./lib/GraphvizReact.js",
"./jsx": "./src/GraphvizReact.jsx",
"./tsx": "./src/GraphvizReact.tsx"
}
}