{
  "name": "reaflow",
  "version": "4.2.7",
  "description": "Node-based Visualizations for React",
  "scripts": {
    "build": "rollup -c",
    "build:watch": "rollup -c -w",
    "test": "jest",
    "prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
    "lint": "eslint --ext js,ts,tsx",
    "lint:fix": "eslint --ext js,ts,tsx --fix src",
    "start": "start-storybook -p 9009",
    "copy": "cp CNAME storybook-static/",
    "build-storybook": "build-storybook",
    "chromatic": "npx chromatic --project-token ugo6c655mvm --auto-accept-changes"
  },
  "source": "src/index.ts",
  "main": "dist/index.cjs.js",
  "module": "dist/index.esm.js",
  "browser": "dist/index.js",
  "style": "dist/index.css",
  "typings": "dist/index.d.ts",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/reaviz/reaflow.git"
  },
  "files": [
    "dist"
  ],
  "keywords": [
    "react",
    "reactjs",
    "workflow",
    "node-editor",
    "diagrams",
    "elkjs"
  ],
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/reaviz/reaflow/issues"
  },
  "homepage": "https://github.com/reaviz/reaflow#readme",
  "dependencies": {
    "calculate-size": "^1.1.1",
    "classnames": "^2.3.1",
    "d3-shape": "^3.0.1",
    "elkjs": "^0.7.1",
    "ellipsize": "^0.2.0",
    "framer-motion": "^4.1.17",
    "kld-affine": "^2.1.1",
    "kld-intersections": "^0.7.0",
    "p-cancelable": "^3.0.0",
    "rdk": "^5.1.6",
    "react-cool-dimensions": "^2.0.7",
    "react-fast-compare": "^3.2.0",
    "react-use-gesture": "^8.0.1",
    "reakeys": "^1.2.0",
    "undoo": "^0.5.0"
  },
  "peerDependencies": {
    "react": ">=16",
    "react-dom": ">=16"
  },
  "devDependencies": {
    "@juggle/resize-observer": "^3.3.1",
    "@mdx-js/react": "1.6.22",
    "@storybook/addon-docs": "^6.3.8",
    "@storybook/addon-essentials": "^6.3.8",
    "@storybook/addon-storysource": "^6.3.8",
    "@storybook/addons": "^6.3.8",
    "@storybook/react": "^6.3.8",
    "@testing-library/react": "^12.1.0",
    "@types/classnames": "^2.3.1",
    "@types/d3-shape": "^3.0.2",
    "@types/jest": "^27.0.2",
    "@types/react": "^17.0.22",
    "@types/react-dom": "^17.0.9",
    "@typescript-eslint/eslint-plugin": "^4.14.2",
    "@typescript-eslint/parser": "^4.14.2",
    "autoprefixer": "^9.8.5",
    "chromatic": "5.10.1",
    "eslint": "^7.19.0",
    "eslint-config-prettier": "^7.2.0",
    "eslint-plugin-react": "^7.22.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "husky": "^4.3.8",
    "jest": "^26.5.2",
    "jest-junit": "^12.2.0",
    "lint-staged": "^10.5.4",
    "postcss-nested": "^4",
    "postcss-preset-env": "^6.7.0",
    "prettier": "^2.4.1",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-zoom-pan-pinch": "^1.6.1",
    "rollup": "^2.38.4",
    "rollup-plugin-bundle-size": "^1.0.3",
    "rollup-plugin-commonjs": "10.1.0",
    "rollup-plugin-node-resolve": "5.2.0",
    "rollup-plugin-peer-deps-external": "2.2.4",
    "rollup-plugin-postcss": "4.0.0",
    "rollup-plugin-postcss-modules": "2.0.2",
    "rollup-plugin-sourcemaps": "0.6.3",
    "rollup-plugin-typescript2": "0.26.0",
    "storybook-css-modules-preset": "^1.1.1",
    "ts-jest": "^26.4.1",
    "typescript": "^4.1.3"
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{ts,tsx}"
    ],
    "coveragePathIgnorePatterns": [
      "<rootDir>/.storybook/",
      "<rootDir>/storybook-static/",
      "<rootDir>/dist/",
      "<rootDir>/node_modules/"
    ],
    "transform": {
      "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "ts-jest"
    },
    "testMatch": [
      "<rootDir>/src/**/*.(spec|test).ts?(x)"
    ],
    "transformIgnorePatterns": [
      "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
    ],
    "reporters": [
      "default",
      [
        "jest-junit",
        {
          "outputDirectory": "./coverage"
        }
      ]
    ],
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "json"
    ],
    "setupFilesAfterEnv": [
      "./test/mockEnv.ts"
    ]
  },
  "lint-staged": {
    "src/**/*.{js,jsx,ts,tsx}": [
      "eslint --ext js,ts,tsx --fix"
    ],
    "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
      "prettier --write",
      "git add"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  }
}
