{
  "name": "focus-trap-react",
  "version": "8.11.3",
  "description": "A React component that traps focus.",
  "main": "dist/focus-trap-react.js",
  "types": "index.d.ts",
  "files": [
    "README.md",
    "LICENSE",
    "CHANGELOG.md",
    "SECURITY.md",
    "dist",
    "src",
    "index.d.ts"
  ],
  "scripts": {
    "demo-bundle": "browserify demo/js -t babelify --extension=.jsx -o demo/demo-bundle.js",
    "start": "yarn build && budo demo/js/index.js:demo-bundle.js --dir demo --live -- -t babelify --extension=.jsx",
    "lint": "eslint \"*.js\" \"src/**/*.js\" \"test/**/*.js\" \"demo/**/*.js\" \"cypress/**/*.js\"",
    "format": "prettier --write \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
    "format:check": "prettier --check \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
    "format:watch": "onchange \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\" -- prettier --write {{changed}}",
    "build": "babel src -d dist",
    "test:types": "tsc index.d.ts",
    "test:unit": "jest",
    "test:coverage": "jest --coverage",
    "test:cypress": "start-server-and-test start 9966 'cypress open'",
    "test:cypress:ci": "start-server-and-test start 9966 'cypress run --browser $CYPRESS_BROWSER --headless'",
    "test:chrome": "CYPRESS_BROWSER=chrome yarn test:cypress:ci",
    "test": "yarn format:check && yarn lint && yarn test:unit && yarn test:types && CYPRESS_BROWSER=chrome yarn test:cypress:ci",
    "prepare": "yarn build",
    "prepublishOnly": "yarn test && yarn build",
    "release": "yarn build && changeset publish"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/focus-trap/focus-trap-react.git"
  },
  "keywords": [
    "react",
    "reactjs",
    "react-component",
    "aria",
    "accessibility",
    "modal",
    "dialog",
    "focus",
    "keyboard"
  ],
  "author": {
    "name": "David Clark",
    "url": "http://davidtheclark.com/"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/focus-trap/focus-trap-react/issues"
  },
  "homepage": "https://github.com/focus-trap/focus-trap-react#readme",
  "devDependencies": {
    "@babel/cli": "^7.17.10",
    "@babel/core": "^7.18.2",
    "@babel/eslint-parser": "^7.18.2",
    "@babel/plugin-proposal-class-properties": "^7.17.12",
    "@babel/preset-env": "^7.18.2",
    "@babel/preset-react": "^7.17.12",
    "@changesets/cli": "^2.22.0",
    "@testing-library/cypress": "^8.0.3",
    "@testing-library/dom": "^8.13.0",
    "@testing-library/jest-dom": "^5.16.4",
    "@testing-library/react": "^13.3.0",
    "@testing-library/user-event": "^14.2.0",
    "@types/jquery": "^3.5.14",
    "all-contributors-cli": "^6.20.0",
    "babel-jest": "^28.1.1",
    "babelify": "^10.0.0",
    "browserify": "^17.0.0",
    "budo": "^11.7.0",
    "cypress": "^9.7.0",
    "cypress-plugin-tab": "^1.0.5",
    "eslint": "^8.17.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-cypress": "^2.12.1",
    "eslint-plugin-jest": "^26.5.3",
    "eslint-plugin-react": "^7.30.0",
    "jest": "^28.1.1",
    "jest-environment-jsdom": "^28.1.1",
    "jest-watch-typeahead": "^1.1.0",
    "onchange": "^7.1.0",
    "prettier": "^2.6.2",
    "prop-types": "^15.8.1",
    "react": "^18.1.0",
    "react-dom": "^18.1.0",
    "regenerator-runtime": "^0.13.9",
    "start-server-and-test": "^1.14.0",
    "typescript": "^4.7.3"
  },
  "dependencies": {
    "focus-trap": "^6.9.4"
  },
  "peerDependencies": {
    "prop-types": "^15.8.1",
    "react": ">=16.0.0",
    "react-dom": ">=16.0.0"
  }
}
