UNPKG

almus-d3-graph

Version:

React component to build interactive and configurable graphs with d3 effortlessly

109 lines (108 loc) 4.77 kB
{ "name": "almus-d3-graph", "version": "2.1.9", "description": "React component to build interactive and configurable graphs with d3 effortlessly", "author": "Almus Media", "license": "MIT", "scripts": { "check": "npm run docs:lint && npm run lint && npm run test && npm run functional", "check:light": "npm run lint && npm run test", "dev": "cross-env NODE_ENV=dev webpack-dev-server --mode=development --content-base sandbox --config webpack.config.js --inline --hot --port 3002", "dist:rd3g": "rm -rf dist/ && webpack --config webpack.config.dist.js -p --display-modules --optimize-minimize", "dist:sandbox": "webpack --config webpack.config.js -p", "dist:transpile": "./node_modules/babel-cli/bin/babel.js -d lib src", "dist": "npm-run-all --parallel dist:*", "docs:lint": "node_modules/documentation/bin/documentation.js lint src/**/*.js", "docs:watch": "node_modules/documentation/bin/documentation.js --config documentation.yml build src/**/*.js -f html -o gen-docs --watch", "docs": "npm run docs:lint && node_modules/documentation/bin/documentation.js --config documentation.yml build src/**/*.js -f html -o gen-docs && node_modules/documentation/bin/documentation.js build src/**/*.js -f md > gen-docs/DOCUMENTATION.md", "functional:local": "export CYPRESS_SANDBOX_URL=http://localhost:3002 && cypress open", "functional": "export CYPRESS_SANDBOX_URL=http://127.0.0.1:8888 && cypress run", "lint:fix": "node_modules/eslint/bin/eslint.js --config=.eslintrc.js --fix \"src/**/*.js*\" \"sandbox/**/*.js*\"", "lint:src": "node_modules/eslint/bin/eslint.js --config=.eslintrc.js \"src/**/*.js*\" \"sandbox/**/*.js*\"", "lint:test": "node_modules/eslint/bin/eslint.js --config=.eslintrc.test.config.js \"test/**/*.spec.js\"", "lint": "npm run lint:src && npm run lint:test && npm run docs:lint", "precommit": "lint-staged", "start": "http-server ./sandbox/ -p 8888 -c-1", "test:clean": "jest --no-cache --updateSnapshot --verbose --coverage --config jest.config.js", "test:watch": "jest --verbose --coverage --watchAll --config jest.config.js", "test": "jest --verbose --coverage --config jest.config.js", "sandbox": "npm run dist:sandbox && npm run start" }, "lint-staged": { "*.{js,jsx,json,css,md}": [ "prettier --write", "git add" ] }, "peerDependencies": { "d3": "^5.5.0", "react": "^16.4.1" }, "devDependencies": { "@cypress/webpack-preprocessor": "1.1.3", "babel-cli": "6.26.0", "babel-core": "6.26.0", "babel-jest": "23.4.0", "babel-loader": "7.1.2", "babel-plugin-add-module-exports": "0.2.1", "babel-plugin-react-html-attrs": "2.0.0", "babel-plugin-transform-class-properties": "6.24.1", "babel-polyfill": "6.26.0", "babel-preset-es2015": "6.24.1", "babel-preset-react": "6.24.1", "babel-preset-stage-2": "6.24.1", "cross-env": "^5.2.0", "css-loader": "2.0.2", "cypress": "2.1.0", "d3": "^5.5.0", "documentation": "6.2.0", "eslint": "4.19.1", "eslint-config-recommended": "2.0.0", "eslint-plugin-cypress": "2.0.1", "eslint-plugin-jest": "21.18.0", "eslint-plugin-prettier": "^3.0.0", "eslint-plugin-promise": "3.7.0", "eslint-plugin-react": "7.10.0", "eslint-plugin-standard": "3.0.1", "html-webpack-plugin": "2.30.1", "http-server": "0.11.1", "husky": "0.14.3", "jest": "23.4.1", "lint-staged": "7.0.0", "npm-run-all": "4.1.1", "prettier": "1.15.3", "query-string": "6.1.0", "react": "^16.4.1", "react-addons-test-utils": "15.6.2", "react-dom": "^16.4.2", "react-editable-json-tree": "2.2.1", "react-jsonschema-form": "1.0.4", "react-test-renderer": "16.4.1", "style-loader": "0.18.2", "typescript": "^3.2.2", "webpack": "4.28.1", "webpack-bundle-analyzer": "^3.0.3", "webpack-cli": "2.0.12", "webpack-dev-server": "^3.1.14", "webpack-visualizer-plugin": "0.1.11" }, "engines": { "node": ">=8.9.0" }, "main": "lib/index.js", "repository": { "type": "git", "url": "git+https://github.com/almusmedia/almus-d3-graph.git" }, "keywords": [ "d3-visualization", "d3js", "graphs", "javascript", "networks", "react", "social-network-analysis", "social-network-graph", "visualization" ] }