{
  "name": "react-d3-cloud",
  "version": "1.0.6",
  "description": "A word cloud component using d3-cloud",
  "license": "MIT",
  "author": "cph",
  "homepage": "https://github.com/Yoctol/react-d3-cloud",
  "repository": "Yoctol/react-d3-cloud",
  "bugs": {
    "url": "https://github.com/Yoctol/react-d3-cloud/issues"
  },
  "exports": {
    "import": "./lib/esm/index.js",
    "require": "./lib/index.js"
  },
  "main": "lib/index.js",
  "scripts": {
    "build": "npm run clean && npm run build:cjs && npm run build:esm",
    "build:cjs": "babel src -d lib --extensions '.ts,.tsx' --ignore '**/__tests__/**' && tsc -p tsconfig.build.json -m commonjs --emitDeclarationOnly",
    "build:esm": "cross-env ESM=true babel src -d lib/esm --extensions '.ts,.tsx' --ignore '**/__tests__/**' && tsc -p tsconfig.build.json -m esnext --emitDeclarationOnly --outDir lib/esm",
    "check": "tsc --noEmit",
    "clean": "rimraf lib",
    "lint": "eslint .",
    "lint:fix": "npm run lint -- --fix",
    "lint:staged": "lint-staged",
    "prepare": "husky install",
    "prepublishOnly": "npm run build",
    "test": "npm run lint && npm run testonly",
    "testonly": "jest",
    "testonly:watch": "npm run testonly -- --watch",
    "prettier": "prettier --write --list-different .",
    "prettier:check": "prettier --check .",
    "preversion": "npm test"
  },
  "types": "lib/index.d.ts",
  "dependencies": {
    "d3-cloud": "^1.2.5",
    "d3-scale": "^3.3.0",
    "d3-scale-chromatic": "^2.0.0",
    "d3-selection": "^2.0.0",
    "prop-types": "^15.7.2",
    "react-fast-compare": "^3.2.0",
    "react-faux-dom": "^4.5.0"
  },
  "peerDependencies": {
    "react": "^16.8.0 || ^17.0.0-0 || ^18.0.0-0",
    "react-dom": "^16.8.0 || ^17.0.0-0 || ^18.0.0-0"
  },
  "devDependencies": {
    "@babel/cli": "^7.14.8",
    "@babel/core": "^7.15.0",
    "@babel/preset-env": "^7.15.0",
    "@babel/preset-react": "^7.14.5",
    "@babel/preset-typescript": "^7.15.0",
    "@testing-library/jest-dom": "^5.14.1",
    "@testing-library/react": "^12.1.1",
    "@types/d3-cloud": "^1.2.5",
    "@types/d3-scale": "^4.0.1",
    "@types/d3-scale-chromatic": "^3.0.0",
    "@types/d3-selection": "^3.0.1",
    "@types/jest": "^27.0.1",
    "@types/react": "^17.0.19",
    "@types/react-faux-dom": "^4.1.5",
    "@typescript-eslint/eslint-plugin": "^4.29.3",
    "@typescript-eslint/parser": "^4.29.3",
    "babel-eslint": "^10.1.0",
    "babel-plugin-typescript-to-proptypes": "^1.4.2",
    "canvas": "^2.8.0",
    "cross-env": "^7.0.3",
    "eslint": "^7.32.0",
    "eslint-config-yoctol": "^0.26.2",
    "eslint-plugin-import": "^2.24.0",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-prettier": "^3.4.0",
    "eslint-plugin-react": "7.24.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
    "husky": "^7.0.1",
    "jest": "^27.0.6",
    "lint-staged": "^11.1.2",
    "prettier": "^2.3.2",
    "prettier-package-json": "^2.6.0",
    "react": "^16.14.0",
    "react-dom": "^16.14.0",
    "regenerator-runtime": "^0.13.9",
    "rimraf": "^3.0.2",
    "typescript": "^4.4.2"
  },
  "keywords": [
    "d3",
    "react",
    "word-cloud"
  ]
}
