UNPKG

@sequencemedia/graphviz-react

Version:

React component for displaying Graphviz graphs

96 lines (95 loc) 2.74 kB
{ "name": "@sequencemedia/graphviz-react", "version": "0.2.97", "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", "type-check": "tsc --noEmit --jsx react --esModuleInterop" }, "dependencies": { "classnames": "^2.5.1", "debug": "^4.4.3" }, "devDependencies": { "@babel/core": "^7.28.4", "@babel/eslint-parser": "^7.28.4", "@babel/plugin-syntax-jsx": "^7.27.1", "@babel/preset-env": "^7.28.3", "@babel/preset-react": "^7.27.1", "@babel/preset-typescript": "^7.27.1", "@hpcc-js/wasm-graphviz": "^1.12.1", "@sequencemedia/eslint-config-standard": "^0.2.88", "@sequencemedia/eslint-config-typescript": "^0.1.149", "@testing-library/jest-dom": "^6.9.1", "@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": "^30.0.0", "@types/prop-types": "^15.7.15", "@types/react": "^19.2.0", "@types/react-dom": "^19.2.0", "@typescript-eslint/eslint-plugin": "^8.45.0", "@typescript-eslint/parser": "^8.45.0", "babel-jest": "^30.2.0", "core-js": "^3.45.1", "d3": "^7.9.0", "d3-graphviz": "^5.6.0", "d3-selection": "^3.0.0", "eslint": "^9.36.0", "eslint-plugin-react": "^7.37.5", "globals": "^16.4.0", "husky": "^9.1.7", "jest": "^30.2.0", "jest-environment-jsdom": "^30.2.0", "prop-types": "^15.8.1", "react": "^19.2.0", "react-component-snapshot": "^0.0.131", "react-dom": "^19.2.0", "ts-jest": "^29.4.4", "ts-node": "^10.9.2", "typescript": "5.8.3" }, "peerDependencies": { "@hpcc-js/wasm-graphviz": "^1.10.0", "d3": "^7.9.0", "d3-graphviz": "^5.6.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" } }