react-digraph
Version:
directed graph react component
85 lines (84 loc) • 2.77 kB
JSON
{
"name": "react-digraph",
"description": "directed graph react component",
"version": "4.1.6",
"keywords": [
"uber-library",
"babel",
"es6",
"d3",
"react",
"graph",
"digraph"
],
"repository": {
"type": "git",
"url": "https://github.com/uber/react-digraph.git"
},
"bugs": {
"url": "https://github.com/uber/react-digraph/issues/new",
"email": "antonb@uber.com"
},
"engines": {
"node": ">= 0.10.0"
},
"license": "MIT",
"main": "dist/index.js",
"peerDependencies": {
"react": "^16.3.0",
"react-dom": "^16.3.0"
},
"dependencies": {
"d3": "^4.13.0",
"radium": "^0.24.1",
"react-icons": "^2.2.1"
},
"devDependencies": {
"babel-cli": "^6.6.5",
"babel-core": "^6.26.0",
"babel-eslint": "^8.1.0",
"babel-istanbul": "^0.12.2",
"babel-plugin-transform-object-assign": "^6.8.0",
"babel-preset-es2015": "^6.3.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-2": "^6.3.0",
"browserify": "^14.4.0",
"build-changelog": "^2.1.2",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.14.0",
"eslint-plugin-es6-recommended": "^0.1.2",
"eslint-plugin-import-order": "^2.1.4",
"eslint-plugin-react": "^7.5.1",
"jsdom": "^11.5.1",
"nws": "^1.1.1",
"opn-cli": "3.1.0",
"prop-types": "^15.6.0",
"react": "^16.4.2",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.4.2",
"sinon": "^4.0.1",
"tape": "^4.0.0"
},
"scripts": {
"build": "rm -rf dist && babel src -d dist --copy-files -s",
"build-example": "browserify dist/examples/graph.js > dist/examples/graph-example.js",
"build-large-example": "browserify dist/examples/graph-large.js > dist/examples/graph-large-example.js",
"prebuild-example": "npm run build",
"example": "npm run build-example && npm run build-large-example && cd dist/examples && nws -o -p 8000",
"changelog-major": "build-changelog --major",
"changelog-minor": "build-changelog --minor",
"changelog-patch": "build-changelog --patch",
"cover": "babel-istanbul cover dist/test/index.js --report=text --report=cobertura --report=html",
"fast-test": "NODE_ENV=test node dist/test/index.js",
"jenkins-install": "npm install",
"jenkins-jshint": "npm run lint -- --o=jshint.xml --f=checkstyle",
"jenkins-test": "npm run jenkins-jshint && (mkdir -p test && npm run cover | tee test/test.js.tap)",
"lint": "eslint src",
"precommit": "npm run lint -s",
"prefast-test": "npm run prepublish",
"prepublish": "npm run build",
"test": "NODE_ENV=test npm run lint && npm run fast-test",
"view-cover": "npm run cover -- --report=html && opn ./coverage/index.html"
}
}