{
  "name": "@flywire/react-hooks",
  "version": "4.0.0",
  "description": "A collection of Reacts hooks used in Flywire",
  "main": "./dist/umd/index.js",
  "types": "./dist/umd/types/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/types/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/cjs/types/index.d.ts",
        "default": "./dist/cjs/index.js"
      }
    },
    "./useCookie": {
      "import": {
        "types": "./dist/esm/types/hooks/useCookie/cookies/index.d.ts",
        "default": "./dist/esm/hooks/useCookie/cookies/index.js"
      },
      "require": {
        "types": "./dist/cjs/types/hooks/useCookie/cookies/index.d.ts",
        "default": "./dist/cjs/hooks/useCookie/cookies/index.js"
      }
    }
  },
  "module": "./dist/esm/index.js",
  "files": [
    "dist/**/*"
  ],
  "scripts": {
    "audit": "npm audit fix --dry-run --json",
    "audit:fix": "npm audit fix",
    "build": "npm run build:js",
    "build:cjs": "tsc -p ./tsconfig.cjs.json",
    "build:esm": "tsc -p ./tsconfig.esm.json",
    "build:umd": "tsc -p ./tsconfig.umd.json",
    "build:js": "rimraf dist && npm run build:esm && npm run build:cjs && npm run build:umd",
    "check:format": "prettier --check ./src/**/*.{ts,tsx}",
    "check:types": "tsc",
    "format": "prettier --write ./src",
    "lint": "eslint ./src",
    "prebuild": "npm run validate && npm run test:once",
    "test": "jest --watchAll",
    "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watchAll",
    "test:once": "jest",
    "validate": "npm run check:types && npm run check:format && npm run lint",
    "version": "npm run build && git add -A && git push && git push --tags"
  },
  "license": "MIT",
  "keywords": [
    "rect",
    "library"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/peertransfer/react-hooks.git"
  },
  "homepage": "https://github.com/peertransfer/react-hooks.git",
  "devDependencies": {
    "@babel/core": "^7.19.3",
    "@babel/plugin-transform-runtime": "^7.18.10",
    "@babel/preset-env": "^7.19.0",
    "@babel/preset-react": "^7.18.6",
    "@babel/preset-typescript": "^7.18.6",
    "@testing-library/jest-dom": "^5.14.1",
    "@testing-library/react": "^12.1.2",
    "@testing-library/react-hooks": "^7.0.2",
    "@types/jest": "^27.5.2",
    "@types/lodash.isequalwith": "^4.4.7",
    "@types/react": "^17.0.27",
    "@types/react-dom": "^17.0.9",
    "@types/xregexp": "^4.4.0",
    "@typescript-eslint/eslint-plugin": "^5.38.1",
    "@typescript-eslint/parser": "^5.38.1",
    "babel-loader": "^8.2.5",
    "date-fns": ">=2.29.3",
    "eslint": "^8.24.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-react": "^7.31.8",
    "eslint-plugin-react-hooks": "^4.6.0",
    "jest": "^27.2.5",
    "jest-watch-typeahead": "^1.0.0",
    "lodash.isequalwith": "^4.4.0",
    "prettier": "^2.7.1",
    "react": ">=17.0.2",
    "react-dom": ">=17.0.2",
    "rimraf": "^3.0.2",
    "ts-jest": "^27.1.4",
    "typescript": "^4.8.2",
    "validate.js": "^0.13.1",
    "xregexp": ">=5.1.1"
  },
  "peerDependencies": {
    "awesome-phonenumber": "^6.2.0",
    "date-fns": ">=2.29.2",
    "lodash.isequalwith": "^4.4.0",
    "react": ">=17.0.2",
    "react-dom": ">=17.0.2",
    "validate.js": ">=0.13.1",
    "xregexp": ">=5.1.0"
  },
  "dependencies": {
    "@babel/runtime": "^7.19.0"
  }
}
