{
  "name": "react-minimal-pie-chart",
  "version": "8.4.0",
  "description": "Lightweight but versatile SVG pie/donut charts for React",
  "main": "lib/index.js",
  "module": "es/index.js",
  "jsnext:main": "es/index.js",
  "browser": "dist/index.js",
  "types": "types/index.d.ts",
  "files": [
    "dist",
    "es",
    "lib",
    "types"
  ],
  "sideEffects": false,
  "scripts": {
    "test": "jest ./src",
    "test:bundles": "npm run test:bundles:snapshot && npm run test:bundles:unit && npm run test:bundles:es5 && npm run test:bundles:size",
    "test:bundles:unit": "jest ./src --config ./jest/es.config.js && jest ./src --config ./jest/lib.config.js && jest ./src --config ./jest/dist.config.js",
    "test:bundles:snapshot": "jest ./jest/__tests__/bundles-snapshot.test.js",
    "test:bundles:es5": "es-check es5 './@(lib|dist)/*.js'",
    "test:bundles:size": "size-limit",
    "test:source": "npm run test:ts && npm t -- --coverage",
    "test:ts": "tsc -p tsconfig.test.json",
    "test:update": "npm run compile:source && npm run test:bundles:snapshot -- -u && git add ./jest/__tests__/__snapshots__",
    "clean": "rm -rf lib es dist types",
    "compile": "npm run clean && npm run compile:types && npm run compile:source",
    "compile:source": "rollup -c --bundleConfigAsCjs",
    "compile:types": "tsc -p tsconfig.build.json",
    "contrib:add": "all-contributors add",
    "contrib:generate": "all-contributors generate",
    "format": "prettier --write \"**/*.{js,ts,tsx,json,md}\"",
    "preversion": "npm run prepare",
    "version": "git add package.json",
    "postversion": "git push && git push --tags",
    "prepare": "npx simple-git-hooks && npm run test:source && npm run compile && npm run test:bundles",
    "start": "start-storybook -p 9001 -c .storybook",
    "storybook:deploy": "storybook-to-ghpages",
    "storybook:build": "build-storybook"
  },
  "keywords": [
    "react",
    "pie",
    "donough",
    "arc",
    "chart",
    "typescript"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/toomuchdesign/react-minimal-pie-chart.git"
  },
  "author": "Andrea Carraro <me@andreacarraro.it>",
  "license": "MIT",
  "peerDependencies": {
    "react": "^16.8.0 || ^17.0.0 || ^18",
    "react-dom": "^16.8.0 || ^17.0.0 || ^18"
  },
  "dependencies": {
    "@types/svg-path-parser": "^1.1.3"
  },
  "devDependencies": {
    "@babel/core": "^7.12.10",
    "@babel/plugin-transform-react-jsx": "^7.12.12",
    "@babel/preset-env": "^7.12.11",
    "@babel/preset-typescript": "^7.12.7",
    "@rollup/plugin-babel": "^6.0.2",
    "@rollup/plugin-commonjs": "^23.0.2",
    "@rollup/plugin-node-resolve": "^15.0.1",
    "@schwingbat/relative-angle": "^1.0.0",
    "@size-limit/preset-small-lib": "^5.0.5",
    "@storybook/addon-actions": "^6.5.13",
    "@storybook/react": "^6.5.13",
    "@storybook/storybook-deployer": "^2.8.16",
    "@testing-library/jest-dom": "^5.16.5",
    "@testing-library/react": "^13.4.0",
    "@types/react": "^18.0.24",
    "@types/react-dom": "^18.0.8",
    "all-contributors-cli": "^6.19.0",
    "babel-jest": "^29.2.2",
    "babel-loader": "^8.2.2",
    "es-check": "^6.0.0",
    "jest": "^29.2.2",
    "jest-environment-jsdom": "^29.2.2",
    "lint-staged": "^11.1.2",
    "prettier": "^2.2.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-tooltip": "^4.4.3",
    "rollup": "^3.2.3",
    "simple-git-hooks": "^2.4.1",
    "size-limit": "^5.0.5",
    "svg-partial-circle": "1.0.0",
    "svg-path-parser": "^1.1.0",
    "typescript": "^4.8.4"
  },
  "jest": {
    "testRegex": "/__tests__/.*\\.test\\.[jt]sx?$",
    "testEnvironmentOptions": {
      "url": "http://localhost/"
    },
    "testEnvironment": "jsdom",
    "coverageReporters": [
      "text",
      "lcov"
    ],
    "collectCoverageFrom": [
      "<rootDir>/src/**",
      "!**/__tests__/**"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/jest.setup.ts"
    ]
  },
  "size-limit": [
    {
      "limit": "2 KB",
      "path": "./es/index.js",
      "ignore": [
        "react"
      ]
    }
  ],
  "simple-git-hooks": {
    "pre-commit": "npm run test:source && npx lint-staged"
  },
  "lint-staged": {
    "*.{js,ts,tsx}": [
      "npm run test:update",
      "prettier --write"
    ],
    "*.{json,md}": [
      "prettier --write"
    ]
  }
}
