UNPKG

simple-react-cytoscape

Version:
65 lines (64 loc) 1.97 kB
{ "name": "simple-react-cytoscape", "version": "1.0.4", "description": "Simple container for Cytoscape in React Apps", "main": "dist/index.js", "module": "dist/index.es.js", "keywords": [ "cytoscape", "cytoscapejs", "react" ], "repository": { "type": "git", "url": "https://github.com/stevenhankin/simple-react-cytoscape.git" }, "scripts": { "clean": "rm -rf dist/*", "build": "rollup -c", "watch": "tsc --watch", "release": "npm version", "lint": "eslint ./src --ext .jsx,.ts --ignore-pattern *.test.ts", "coverage": "jest --coverage --coverageReporters=text-lcov | coveralls", "postrelease": "yarn publish && git push --follow-tags", "test": "jest --coverage", "testw": "yarn test -- --watchAll", "prepublish": "npm test && npm run clean && npm run build" }, "author": "", "license": "ISC", "peerDependencies": { "cytoscape": "^3", "react": "^16.8.0 || ^17", "react-dom": "^16.8.0 || ^17" }, "devDependencies": { "@babel/preset-env": "^7.14.7", "@babel/preset-react": "^7.14.5", "@babel/preset-typescript": "^7.14.5", "@types/cytoscape": "^3.14.17", "@types/jest": "^26.0.24", "@types/node": "^16.3.1", "@types/react": "^17.0.14", "@types/react-test-renderer": "^17.0.1", "@typescript-eslint/eslint-plugin": "^4.28.2", "@typescript-eslint/parser": "^4.28.2", "babel-jest": "^27.0.6", "cytoscape": "^3.19.0", "eslint": "^7.30.0", "eslint-config-airbnb": "^18.2.1", "eslint-plugin-import": "^2.23.4", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "jest": "^27.0.6", "react": "^17.0.2", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "rollup": "^2.53.1", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.30.0", "ts-jest": "^27.0.3", "typescript": "^4.3.5" } }