{
  "name": "react-flatpickr",
  "version": "4.0.11",
  "description": "flatpickr for React",
  "exports": {
    ".": {
      "import": {
        "types": "./build/react-flatpickr.d.ts",
        "default": "./build/react-flatpickr.js"
      },
      "require": {
        "types": "./build/react-flatpickr.d.ts",
        "default": "./build/react-flatpickr.cjs"
      }
    }
  },
  "type": "module",
  "types": "./build/react-flatpickr.d.ts",
  "main": "./build/react-flatpickr.cjs",
  "module": "./build/react-flatpickr.js",
  "scripts": {
    "lint": "eslint --quiet --fix lib test types",
    "format": "prettier --config .prettierrc --write 'lib/*.{ts,tsx}' 'example/*' 'test/*.{ts,tsx}' 'types/*.ts'",
    "build": "tsc -b && vite build",
    "test": "jest --config=jest.config.ts --env=jsdom",
    "test:watch": "jest --config=jest.config.ts --watch --env=jsdom",
    "test:coverage": "jest --config=jest.config.ts --coverage --env=jsdom",
    "prepublishOnly": "npm run build",
    "examples": "vite --port 3000 --open",
    "prepare": "husky"
  },
  "lint-staged": {
    "*.{ts,tsx,js,css}": [
      "eslint --fix",
      "prettier --config .prettierrc --write"
    ]
  },
  "repository": "haoxins/react-flatpickr",
  "keywords": [
    "flatpickr",
    "react"
  ],
  "files": [
    "build"
  ],
  "author": "haoxin",
  "license": "MIT",
  "dependencies": {
    "flatpickr": "^4.6.13"
  },
  "devDependencies": {
    "@babel/cli": "^7.26.4",
    "@babel/core": "^7.26.10",
    "@babel/eslint-parser": "^7.26.5",
    "@babel/plugin-proposal-decorators": "^7.25.9",
    "@babel/plugin-proposal-do-expressions": "^7.25.9",
    "@babel/plugin-proposal-export-default-from": "^7.25.9",
    "@babel/plugin-proposal-function-bind": "^7.25.9",
    "@babel/plugin-proposal-function-sent": "^7.25.9",
    "@babel/plugin-proposal-pipeline-operator": "^7.26.7",
    "@babel/plugin-proposal-throw-expressions": "^7.25.9",
    "@babel/preset-env": "^7.26.9",
    "@babel/preset-react": "^7.26.3",
    "@babel/preset-typescript": "^7.27.0",
    "@eslint/js": "^9.19.0",
    "@jest/globals": "^29.7.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.2.0",
    "@types/react": "^19.1.0",
    "@vitejs/plugin-react": "^4.3.4",
    "babel-jest": "^29.7.0",
    "css-loader": "^7.1.2",
    "eslint": "^9.23.0",
    "eslint-plugin-react": "^7.37.4",
    "eslint-plugin-ts-react-hooks": "^1.0.4",
    "globals": "^16.0.0",
    "husky": "^9.1.7",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "lint-staged": "^15.5.1",
    "prettier": "^3.5.3",
    "react": "^19.1.0",
    "react-dom": "^19.1.0",
    "ts-node": "^10.9.2",
    "typescript-eslint": "^8.29.1",
    "vite": "^6.2.3",
    "vite-plugin-dts": "^4.5.3"
  },
  "peerDependencies": {
    "react": ">= 16 <= 19"
  }
}
