{
  "name": "react-best-gradient-color-picker-hc",
  "version": "3.0.15",
  "description": "An easy to use color/gradient picker for React.js",
  "type": "module",
  "sideEffects": [
    "*.css"
  ],
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "source": "./src/index.ts",
  "types": "./dist/cjs/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js"
    }
  },
  "scripts": {
    "build": "yarn build-js",
    "build-js": "yarn build-js-esm && yarn build-js-cjs && yarn build-js-cjs-package",
    "build-js-esm": "tsc --project tsconfig.build.json --outDir dist/esm",
    "build-js-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --moduleResolution node --verbatimModuleSyntax false",
    "build-js-cjs-package": "echo '{\n  \"type\": \"commonjs\"\n}' > dist/cjs/package.json",
    "clean": "rimraf dist",
    "format": "biome format",
    "lint": "biome lint",
    "prepack": "yarn clean && yarn build",
    "test": "yarn lint && yarn tsc && yarn format && yarn unit",
    "tsc": "tsc",
    "unit": "vitest",
    "watch": "yarn build-js-esm --watch & yarn build-js-cjs --watch & node --eval"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hxf31891/react-gradient-color-picker.git"
  },
  "keywords": [
    "gradient",
    "react",
    "color",
    "picker",
    "react.js",
    "tool",
    "editor"
  ],
  "author": {
    "name": "Harry Fox",
    "email": "hxfox1@gmail.com"
  },
  "dependencies": {
    "html2canvas": "^1.4.1",
    "lodash.throttle": "^4.1.1",
    "tinycolor2": "1.4.2"
  },
  "devDependencies": {
    "@testing-library/jest-dom": "^6.0.0",
    "@testing-library/react": "^14.0.0",
    "@types/lodash.throttle": "*",
    "@types/node": "*",
    "@types/react": "*",
    "@types/reactcss": "^1.2.11",
    "@types/tinycolor2": "^1.4.6",
    "cpy-cli": "^3.1.1",
    "happy-dom": "^12.6.0",
    "nodemon": "^3.0.0",
    "prettier": "^3.0.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "rimraf": "^3.0.0",
    "typescript": "^5.3.2",
    "vitest": "^1.0.2"
  },
  "peerDependencies": {
    "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
    "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
    "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
  },
  "peerDependenciesMeta": {
    "@types/react": {
      "optional": true
    }
  },
  "files": [
    "dist",
    "src"
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/hxf31891/react-gradient-color-picker/issues"
  },
  "homepage": "https://gradient-package-demo.web.app/",
  "publishConfig": {
    "@hxf31891:registry": "https://npm.pkg.github.com"
  }
}