UNPKG

react-archer

Version:

Draw arrows between DOM elements in React

95 lines (94 loc) 3.21 kB
{ "name": "react-archer", "description": "Draw arrows between DOM elements in React", "main": "lib/react-archer.js", "module": "lib/react-archer.js", "types": "lib/react-archer.d.ts", "version": "4.4.0", "license": "MIT", "dependencies": { "react-fast-compare": "^2.0.4", "resize-observer-polyfill": "1.5.0" }, "homepage": "https://github.com/pierpo/react-archer", "repository": { "type": "git", "url": "https://github.com/pierpo/react-archer" }, "bugs": { "url": "https://github.com/pierpo/react-archer/issues" }, "scripts": { "build": "webpack --config webpack.prod.config.js", "deploy:example": "webpack --config webpack.example-app.config.js && gh-pages -d example-dist", "prepare": "npm run build", "start": "webpack-dev-server --hot --progress --colors --config ./webpack.config.js", "test:e2e": "cypress open", "test:e2e:update-snapshots": "rm -rf ./cypress/snapshots", "test:jest": "jest ./src/", "test:lint": "eslint --cache --ext .ts,.tsx,.js,.tsx src/ example/", "test:types": "tsc", "test:watch": "jest ./src/ --watch", "test": "yarn test:lint && yarn test:types && yarn test:jest" }, "peerDependencies": { "@types/react": "^16.8.8 || ^17 || ^18", "prop-types": "^15.6.2", "react": "^16.9.0 || ^17 || ^18" }, "devDependencies": { "@babel/core": "7.17.9", "@babel/plugin-proposal-class-properties": "7.5.5", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", "@babel/plugin-proposal-optional-chaining": "^7.11.0", "@babel/preset-env": "7.16.11", "@babel/preset-react": "7.16.7", "@babel/preset-typescript": "7.16.7", "@testing-library/react": "12.1.4", "@types/jest": "27.4.1", "@types/react": "17.0.43", "@types/react-dom": "17.0.14", "@types/react-test-renderer": "17.0.1", "@typescript-eslint/eslint-plugin": "5.17.0", "@typescript-eslint/parser": "5.17.0", "babel-core": "^7.0.0-bridge", "babel-eslint": "10.0.3", "babel-jest": "27.5.1", "babel-loader": "8.0.6", "cross-env": "6.0.3", "css-loader": "3.2.0", "cypress": "10.11.0", "cypress-image-snapshot": "4.0.1", "eslint": "8.12.0", "eslint-config-prettier": "8.5.0", "eslint-config-standard": "14.1.0", "eslint-config-standard-react": "9.2.0", "eslint-plugin-cypress": "2.7.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-node": "^10.0.0", "eslint-plugin-prettier": "4.0.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "7.16.0", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-standard": "^4.0.1", "eslint-plugin-unused-imports": "2.0.0", "gh-pages": "2.0.1", "html-webpack-plugin": "3.2.0", "jest": "27.5.1", "jest-extended": "3.0.1", "jsdom": "19.0.0", "jsdom-global": "3.0.2", "prettier": "2.6.1", "react": "16.9.0", "react-dom": "16.9.0", "release-it": "12.4.3", "style-loader": "1.0.0", "terser-webpack-plugin": "^2.1.2", "ts-loader": "8.2.0", "typescript": "^4.6.3", "webpack": "4.41.0", "webpack-cli": "3.3.9", "webpack-dev-server": "3.8.2", "window-resizeto": "0.0.2" } }