UNPKG

@jalez/react-flow-smart-edge

Version:

Smart edge routing for @xyflow/react v12+ (maintained fork of @tisoap/react-flow-smart-edge)

123 lines (122 loc) 3.27 kB
{ "name": "@jalez/react-flow-smart-edge", "version": "4.0.0", "description": "Smart edge routing for @xyflow/react v12+ (maintained fork of @tisoap/react-flow-smart-edge)", "keywords": [ "react", "typescript", "graph", "flow", "flowchart", "smart", "edge", "pathfinding", "react-flow-smart-edge", "xyflow", "fork", "maintained" ], "homepage": "https://jalez.github.io/react-flow-smart-edge/", "repository": { "type": "git", "url": "https://github.com/jalez/react-flow-smart-edge.git" }, "license": "MIT", "author": "Jaakko Rajala <jaakko.rajala@tuni.fi>", "contributors": [ "Tiso Alvarez Puccinelli (original author)" ], "type": "module", "main": "dist/index.js", "module": "dist/react-flow-smart-edge.esm.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "scripts": { "build": "npm run build-component", "build-component": "dts build", "check-types": "tsc --noEmit", "chromatic": "chromatic --exit-zero-on-changes --project-token f5598c842f1a", "deploy-component": "np --any-branch", "install-playwright": "playwright install --with-deps", "lint": "dts lint src", "lint-fix": "dts lint src --fix", "predeploy": "npm run build", "prepare": "dts build", "start": "dts watch", "test": "npm run check-types && npm run lint", "ui": "npm update --save-dev" }, "husky": { "hooks": { "pre-commit": "dts lint" } }, "resolutions": { "string-width": "^4.2.3", "strip-ansi": "^6.0.1" }, "dependencies": { "pathfinding": "^0.4.18" }, "devDependencies": { "@babel/core": "^7.27.4", "@babel/plugin-syntax-flow": "^7.27.1", "@babel/plugin-transform-react-jsx": "^7.27.1", "@babel/preset-env": "^7.27.2", "@babel/preset-react": "^7.27.1", "@babel/preset-typescript": "^7.27.1", "@shopify/eslint-plugin": "^43.0.0", "@tisoap/eslint-config-ts-react": "^7.0.0", "@types/minimist": "^1.2.5", "@types/node": "^20.19.1", "@types/pathfinding": "^0.1.0", "@types/react": "^18.3.23", "@types/react-dom": "^18.3.7", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "chromatic": "^7.6.0", "dts-cli": "^2.0.5", "eslint": "^8.57.1", "eslint-config-prettier": "^10.1.5", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-prettier": "^5.5.1", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-prefer-function-component": "^3.4.0", "eslint-plugin-sonarjs": "^0.21.0", "eslint-plugin-testing-library": "^6.5.0", "eslint-plugin-unicorn": "^48.0.1", "gh-pages": "^6.3.0", "husky": "^9.1.7", "jest": "^29.7.0", "jest-circus": "^29.7.0", "jest-environment-node": "^29.7.0", "np": "^10.2.0", "playwright": "^1.53.1", "prettier": "^3.6.1", "react": "^18.3.1", "react-dom": "^18.3.1", "@xyflow/react": "^12.5.0", "require-from-string": "^2.0.2", "string-width": "^4.2.3", "strip-ansi": "^6.0.1", "typescript": "^5.8.3", "webpack": "^5.99.9" }, "peerDependencies": { "react": ">=17", "react-dom": ">=17", "@xyflow/react": ">=12", "typescript": ">=4.6" }, "engines": { "node": ">=18", "npm": ">=8" } }