{
  "name": "downshift",
  "version": "9.3.2",
  "description": "🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.",
  "main": "dist/downshift.cjs.cjs",
  "react-native": "dist/downshift.native.cjs.cjs",
  "module": "dist/downshift.esm.mjs",
  "typings": "typings/index.d.ts",
  "types": "typings/index.d.ts",
  "sideEffects": false,
  "browserslist": [],
  "scripts": {
    "build": "npm run build:web --silent && npm run build:native --silent && npm run build:nativeWeb --silent",
    "build:web": "kcd-scripts build --bundle --p-react --no-clean --size-snapshot",
    "build:native": "cross-env BUILD_REACT_NATIVE=true BUILD_FILENAME_SUFFIX=.native kcd-scripts build --bundle cjs --no-clean",
    "build:nativeWeb": "cross-env BUILD_REACT_NATIVE_WEB=true BUILD_FILENAME_SUFFIX=.nativeweb kcd-scripts build --bundle cjs --no-clean",
    "lint": "kcd-scripts lint",
    "test": "kcd-scripts test",
    "test:cover": "kcd-scripts test --coverage",
    "test:ssr": "kcd-scripts test --config other/ssr/jest.config.js --no-watch",
    "test:update": "npm run test:cover -s -- --updateSnapshot",
    "test:ts": "tsc --noEmit -p ./tsconfig.json",
    "test:flow": "flow",
    "test:flow:coverage": "flow-coverage-report",
    "test:build": "jest --config other/misc-tests/jest.config.js",
    "// FIXME: test:build": "jest --projects other/misc-tests other/react-native",
    "test:cypress:dev": "npm-run-all --parallel --race docs:dev cy:open",
    "pretest:cypress": "npm run docs:build --silent",
    "test:cypress": "start-server-and-test docs:serve http://localhost:6006 cy:run",
    "cy:run": "cypress run",
    "cy:open": "cypress open",
    "build-and-test": "npm run build -s && npm run test:build -s",
    "docs:build": "docusaurus build",
    "docs:dev": "docusaurus start",
    "docs:serve": "docusaurus serve --port 6006",
    "docs:clear": "docusaurus clear",
    "setup": "npm install && npm run validate",
    "validate": "kcd-scripts validate lint,build-and-test,test:cover,test:ts,test:ssr,test:cypress"
  },
  "husky": {
    "hooks": {
      "pre-commit": "kcd-scripts pre-commit"
    }
  },
  "files": [
    "dist",
    "typings",
    "preact",
    "flow-typed"
  ],
  "exports": {
    ".": {
      "import": "./dist/downshift.esm.mjs",
      "require": "./dist/downshift.cjs.cjs",
      "types": "./typings/index.d.ts",
      "default": "./dist/downshift.esm.mjs"
    },
    "./react-native": {
      "require": "./dist/downshift.native.cjs.cjs",
      "types": "./typings/index.d.ts"
    }
  },
  "keywords": [
    "enhanced input",
    "react",
    "autocomplete",
    "autosuggest",
    "typeahead",
    "dropdown",
    "select",
    "combobox",
    "omnibox",
    "accessibility",
    "WAI-ARIA",
    "multiselect",
    "multiple selection"
  ],
  "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
  "license": "MIT",
  "peerDependencies": {
    "react": ">=16.12.0"
  },
  "dependencies": {
    "@babel/runtime": "^7.28.6",
    "compute-scroll-into-view": "^3.1.1",
    "prop-types": "^15.8.1",
    "react-is": "^18.2.0",
    "tslib": "^2.8.1"
  },
  "devDependencies": {
    "@babel/helpers": "^7.28.6",
    "@babel/plugin-proposal-private-methods": "^7.18.6",
    "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
    "@cypress/webpack-preprocessor": "^7.0.2",
    "@docusaurus/core": "3.3.2",
    "@docusaurus/module-type-aliases": "3.3.2",
    "@docusaurus/preset-classic": "3.3.2",
    "@mdx-js/react": "^3.0.1",
    "@rollup/plugin-babel": "^6.1.0",
    "@rollup/plugin-commonjs": "^29.0.0",
    "@testing-library/cypress": "^10.1.0",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/preact": "^3.2.4",
    "@testing-library/react": "^16.3.2",
    "@testing-library/user-event": "^14.6.1",
    "@types/jest": "^30.0.0",
    "@types/prop-types": "^15.7.15",
    "@types/react": "^18.2.0",
    "@typescript-eslint/eslint-plugin": "^8.54.0",
    "@typescript-eslint/parser": "^8.54.0",
    "babel-plugin-macros": "^3.1.0",
    "babel-plugin-no-side-effect-class-properties": "0.0.7",
    "babel-preset-react-native": "^4.0.1",
    "buble": "^0.20.0",
    "cpy-cli": "^6.0.0",
    "cross-env": "^10.1.0",
    "cypress": "15.9.0",
    "eslint": "^8.57.0",
    "eslint-plugin-cypress": "^3.6.0",
    "eslint-plugin-react": "7.37.5",
    "flow-bin": "^0.299.0",
    "flow-coverage-report": "^0.8.0",
    "get-pkg-repo": "5.0.0",
    "kcd-scripts": "^17.0.0",
    "node-polyfill-webpack-plugin": "^4.1.0",
    "npm-run-all": "^4.1.5",
    "preact": "^10.28.2",
    "prism-react-renderer": "^2.4.1",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-is": "^18.3.1",
    "react-native": "^0.76.0",
    "react-test-renderer": "^18.3.1",
    "serve": "^14.2.5",
    "start-server-and-test": "^2.1.3",
    "typescript": "^5.9.3"
  },
  "eslintConfig": {
    "parserOptions": {
      "ecmaVersion": 2023,
      "project": [
        "./tsconfig.json",
        "./docusaurus/tsconfig.json",
        "./test/tsconfig.json"
      ],
      "sourceType": "module"
    },
    "settings": {
      "import/no-unresolved": [
        2,
        {
          "ignore": [
            "^@theme"
          ]
        }
      ],
      "import/resolver": {
        "node": {
          "extensions": [
            ".js",
            ".jsx",
            ".ts",
            ".tsx"
          ]
        }
      }
    },
    "extends": "./node_modules/kcd-scripts/eslint.js",
    "rules": {
      "react/jsx-indent": "off",
      "react/prop-types": "off",
      "max-lines-per-function": "off",
      "jsx-a11y/label-has-for": "off",
      "jsx-a11y/label-has-associated-control": "off",
      "jsx-a11y/autocomplete-valid": "off",
      "testing-library/prefer-user-event": "off",
      "testing-library/no-node-access": "off",
      "testing-library/no-container": "off",
      "testing-library/render-result-naming-convention": "off"
    },
    "overrides": [
      {
        "files": [
          "cypress/**/*.js"
        ],
        "rules": {
          "testing-library/prefer-screen-queries": "off",
          "testing-library/await-async-query": "off"
        }
      }
    ]
  },
  "eslintIgnore": [
    "node_modules",
    "coverage",
    "dist",
    ".docusaurus",
    "build",
    "typings",
    "test"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/downshift-js/downshift.git"
  },
  "bugs": {
    "url": "https://github.com/downshift-js/downshift/issues"
  },
  "homepage": "https://downshift-js.com",
  "flow-coverage-report": {
    "includeGlob": [
      "test/**/*.js"
    ],
    "threshold": 90,
    "type": [
      "text"
    ]
  }
}
