{
  "name": "@twipped/hooks",
  "version": "2.0.0",
  "description": "A collection of my frequently used react hooks",
  "engines": {
    "node": ">=18.12.0"
  },
  "type": "module",
  "exports": {
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs",
      "webpack": "./hooks/index.js",
      "types": "./dist/index.d.ts"
    },
    "./*": {
      "import": "./dist/*.mjs",
      "require": "./dist/*.cjs",
      "webpack": "./hooks/*.js"
    }
  },
  "typesVersions": {
    "*": {
      "*": [
        "./dist/*.d.ts"
      ],
      "dist/*": [
        "./dist/*"
      ]
    }
  },
  "scripts": {
    "lint": "eslint .",
    "lint-fix": "eslint --fix .",
    "test": "NODE_ENV=test jest",
    "test-types": "tsc --noEmit --checkJs",
    "test-watch": "NODE_ENV=test jest --watch",
    "docs": "rimraf docs && typedoc hooks/*.js --out docs --readme none --hideBreadcrumbs",
    "build": "rimraf dist && npm run build:cjs && npm run build:mjs && npm run build:types",
    "build:cjs": "babel hooks --out-dir dist --out-file-extension .cjs",
    "build:mjs": "ESM=1 babel hooks --out-dir dist --out-file-extension .mjs",
    "build:types": "tsc --emitDeclarationOnly"
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/Twipped/hooks"
  },
  "author": "Jocelyn Badgley <joc@twipped.com> (http://twipped.com)",
  "license": "MIT",
  "files": [
    "hooks",
    "dist",
    "docs",
    "CHANGELOG.md",
    "LICENSE.txt",
    "README.md"
  ],
  "dependencies": {
    "@twipped/utils": "^7.1.0"
  },
  "peerDependencies": {
    "prop-types": ">=15",
    "react": ">=18"
  },
  "devDependencies": {
    "@babel/cli": "^7.23.0",
    "@babel/core": "^7.23.0",
    "@babel/eslint-parser": "^7.22.15",
    "@babel/preset-env": "^7.22.20",
    "@babel/preset-react": "^7.22.15",
    "@testing-library/jest-dom": "^6.1.3",
    "@testing-library/react": "^15.0.7",
    "@testing-library/user-event": "^14.5.2",
    "@twipped/eslint-config": "^8.1.1",
    "@twipped/jest-resolver": "^1.0.0",
    "babel-jest": "^29.7.0",
    "babel-plugin-add-import-extension": "^1.6.0",
    "date-fns": "^3.0.0",
    "eslint": "^8.50.0",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "jest-extended": "^4.0.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "typedoc": "^0.25.1",
    "typedoc-plugin-markdown": "^4.0.3",
    "typedoc-plugin-merge-modules": "^5.1.0",
    "typescript": "^5.2.2",
    "waait": "^1.0.5"
  },
  "jest": {
    "testEnvironment": "jsdom",
    "testMatch": [
      "**/?(*.)+(spec|test).js"
    ],
    "setupFilesAfterEnv": [
      "./hooks/__tests__/harness/setup.js"
    ],
    "transform": {
      "\\.jsx?$": "babel-jest"
    },
    "transformIgnorePatterns": [],
    "resolver": "@twipped/jest-resolver",
    "automock": false,
    "clearMocks": true,
    "collectCoverage": false
  }
}
