UNPKG

react-network-diagrams

Version:
79 lines (78 loc) 2.44 kB
{ "name": "react-network-diagrams", "version": "1.0.0", "keywords": [ "network", "circuits", "maps", "concatenated", "parallel", "editor", "react" ], "main": "lib/index", "homepage": "http://software.es.net/react-network-diagrams", "author": "ESnet Tools Team <tools@es.net>", "repository": "esnet/react-network-diagrams", "bugs": { "url": "https://github.com/esnet/react-network-diagrams/issues" }, "scripts": { "docs": "echo \"*** Building API docs\n\" && react-docgen src/components -x js -o ../website/src/api/docs.json --pretty", "lint": "eslint src/components/*.js", "test": "npm run lint", "build": "echo \"*** Building lib\n\" && rm -rf lib/* && babel src/components --optional runtime --stage 0 --out-dir lib/components && babel src/js --optional runtime --stage 0 --out-dir lib/js && babel src/index.js --optional runtime --stage 0 --out-file lib/index.js", "start-website": "react-scripts start", "build-website": "echo \"*** Building website\n\" && rm -rf docs && react-scripts build && mv build docs", "precommit": "lint-staged", "prettier": "prettier --print-width 100 --tab-width 4 --write \"./src/**/*.js\"" }, "lint-staged": { "*.js": [ "prettier --print-width 100 --tab-width 4 --write", "git add" ] }, "pre-commit": [ "lint", "build" ], "license": "BSD-3-Clause-LBNL", "dependencies": { "babel-runtime": "^6.23.0", "d3-scale": "^2.0.0", "keymirror": "^0.1.1", "prop-types": "^15.8.1", "underscore": "^1.13.3", "victor": "^1.1.0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.25.0", "babel-eslint": "^8.2.1", "babel-polyfill": "^6.23.0", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "babel-preset-stage-2": "^6.24.1", "eslint": "^4.1.1", "eslint-config-react-app": "^2.1.0", "eslint-plugin-flowtype": "^2.42.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^5.0.3", "eslint-plugin-react": "^7.6.1", "lint-staged": "^6.1.0", "prettier": "^1.9.2", "react": "^16.2.0", "react-docgen": "^2.20.0", "react-dom": "^16.14.0", "react-scripts": "^1.1.0", "react-select": "^1.2.1" }, "peerDependencies": { "react": "^15.3.1 || ^16.0" }, "eslintConfig": { "extends": "react-app" } }