{
  "name": "@krzysztofkarol/react-d3-tree",
  "version": "1.7.0",
  "description": "React component to create interactive D3 tree hierarchies",
  "main": "lib/react-d3-tree.min.js",
  "scripts": {
    "clean:lib": "rimraf lib/*",
    "precommit": "lint-staged",
    "build": "yarn clean:lib && webpack --progress --colors --env build",
    "dev": "yarn clean:lib && webpack --progress --colors --watch --env dev",
    "lint": "eslint src/**/*.js",
    "test": "yarn lint && jest --coverage --verbose",
    "test:clean": "rimraf ./coverage",
    "test:watch": "jest --watchAll",
    "test:cov": "jest --coverage --verbose",
    "coveralls": "cat ./coverage/lcov.info | coveralls",
    "show:cov": "open coverage/lcov-report/index.html",
    "docs:react": "react-docgen src -e src/**/*.test.js$|scripts/buildDocs.sh",
    "docs": "yarn docs:react",
    "docs:util": "jsdoc2md src/util/index.js > docs/util/util.md",
    "docs:clean": "rimraf docs/components/* && rimraf docs/util/*",
    "release": "yarn test && yarn build && yarn docs && git commit -a && np",
    "preanalyze": "rimraf stats.json",
    "analyze": "webpack --config webpack.config.js --env build --profile --json > stats.json && echo '==> http://webpack.github.io/analyse/'"
  },
  "lint-staged": {
    "src/**/*.js": [
      "eslint",
      "prettier --write --single-quote --trailing-comma=all --print-width 100",
      "git add"
    ]
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx}",
      "!src/index.js",
      "!src/util/*",
      "!src/**/*.test.{js,jsx}",
      "!playground/*"
    ],
    "coverageThreshold": {
      "global": {
        "statements": 94,
        "branches": 84,
        "functions": 90,
        "lines": 94
      }
    },
    "setupTestFrameworkScriptFile": "<rootDir>/jest/setup.js",
    "moduleNameMapper": {
      ".*\\.(css|less|styl|scss|sass)$": "<rootDir>/jest/mocks/cssModule.js",
      ".*\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest/mocks/image.js"
    }
  },
  "dependencies": {
    "clone": "^2.1.1",
    "d3": "3.5.17",
    "deep-equal": "^1.0.1",
    "prop-types": "^15.5.10",
    "uuid": "^3.0.1"
  },
  "peerDependencies": {
    "react": "^15.0.0 || ^16.0.0"
  },
  "devDependencies": {
    "babel-cli": "6.24.1",
    "babel-core": "6.24.1",
    "babel-eslint": "7.2.3",
    "babel-jest": "^19.0.0",
    "babel-loader": "7.0.0",
    "babel-plugin-add-module-exports": "0.2.1",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-preset-es2015": "6.24.1",
    "babel-preset-react": "^6.5.0",
    "babel-preset-stage-0": "^6.5.0",
    "coveralls": "^2.13.1",
    "css-loader": "^0.28.1",
    "enzyme": "^3.2.0",
    "enzyme-adapter-react-16": "^1.1.0",
    "eslint": "3.19.0",
    "eslint-config-airbnb": "^14.1.0",
    "eslint-config-prettier": "^2.5.0",
    "eslint-loader": "1.7.1",
    "eslint-plugin-import": "^2.2.0",
    "eslint-plugin-jsx-a11y": "^4.0.0",
    "eslint-plugin-react": "^6.10.0",
    "husky": "^0.14.3",
    "isomorphic-style-loader": "^4.0.0",
    "jest": "^19.0.2",
    "jsdoc-to-markdown": "^3.0.0",
    "lint-staged": "^4.1.3",
    "np": "^2.16.0",
    "postcss-loader": "^1.3.3",
    "prettier": "^1.6.1",
    "react": "^16.1.1",
    "react-docgen": "^2.16.0",
    "react-dom": "^16.1.1",
    "react-test-renderer": "^16.1.1",
    "react-transition-group": "1.1.3",
    "regenerator-runtime": "^0.10.5",
    "rimraf": "^2.6.1",
    "style-loader": "^0.17.0",
    "webpack": "^3.5.6",
    "yargs": "7.1.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/bkrem/react-d3-tree.git"
  },
  "keywords": [
    "react",
    "d3",
    "tree",
    "component",
    "graph",
    "svg",
    "hierarchical-data",
    "hierarchy",
    "d3-visualization",
    "chart"
  ],
  "author": "Ben Kremer",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/bkrem/react-d3-tree/issues"
  },
  "homepage": "https://github.com/bkrem/react-d3-tree"
}
