UNPKG

graphviz-react

Version:

React component for displaying Graphviz graphs

69 lines (68 loc) 1.8 kB
{ "name": "graphviz-react", "version": "1.2.5", "description": "React component for displaying Graphviz graphs", "author": "Dom Parfitt", "license": "MIT", "type": "module", "main": "./lib/Graphviz.js", "types": "./lib/Graphviz.d.ts", "keywords": [ "React", "Graphviz" ], "repository": { "type": "git", "url": "https://github.com/DomParfitt/graphviz-react.git" }, "files": [ "src/*.tsx", "lib/*" ], "engines": { "npm": ">= 8.3" }, "scripts": { "build": "tsc", "clean": "rm -rf lib", "clean-build": "npm run clean && npm run build", "lint": "eslint . --max-warnings=0", "prepublishOnly": "npm run clean-build", "postbuild": "test -f lib/Graphviz.js && test -f lib/Graphviz.js.map && test -f lib/Graphviz.d.ts", "test": "jest" }, "dependencies": { "d3-graphviz": "^2.6.1" }, "peerDependencies": { "react": ">= 16.13.1" }, "devDependencies": { "@testing-library/react": "^10.4.7", "@types/d3-graphviz": "^2.6.3", "@types/jest": "^25.2.3", "@types/jsdom": "^16.2.3", "@types/react": "^16.9.43", "@typescript-eslint/eslint-plugin": "^3.6.1", "@typescript-eslint/parser": "^3.6.1", "eslint": "^7.5.0", "eslint-config-airbnb-typescript": "^8.0.2", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-only-warn": "^1.0.2", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.30.1", "jest": "^28.1.3", "jest-environment-jsdom": "^28.1.3", "jsdom": "^16.3.0", "prettier": "^2.7.1", "react-dom": "^16.13.1", "ts-jest": "^28.0.8", "ts-node": "^10.9.1", "typescript": "^4.8.4" }, "overrides": { "d3-color": "^3.1.0" } }