{
  "name": "@rest-hooks/test",
  "version": "10.3.7",
  "description": "Testing utilities for Rest Hooks",
  "sideEffects": false,
  "main": "dist/index.js",
  "react-native": "legacy/browser.js",
  "module": "legacy/browser.js",
  "types": "lib/index.d.ts",
  "typesVersions": {
    ">=4.0": {
      "": [
        "lib/index.d.ts"
      ],
      "browser": [
        "lib/browser.d.ts"
      ],
      "*": [
        "lib/index.d.ts"
      ]
    },
    ">=3.4": {
      "": [
        "ts3.4/index.d.ts"
      ],
      "browser": [
        "ts3.4/browser.d.ts"
      ],
      "*": [
        "ts3.4/index.d.ts"
      ]
    }
  },
  "exports": {
    ".": {
      "node": {
        "module": "./lib/index.js",
        "import": "./node.mjs",
        "require": "./dist/index.js"
      },
      "module": "./lib/browser.js",
      "import": "./node.mjs",
      "require": "./dist/index.js",
      "default": "./lib/index.js"
    },
    "./browser": {
      "default": "./lib/browser.js"
    },
    "./package.json": "./package.json"
  },
  "type": "module",
  "engines": {
    "node": "^12.17 || ^13.7 || >=14"
  },
  "files": [
    "src",
    "dist",
    "lib",
    "ts3.4",
    "node.mjs",
    "legacy",
    "LICENSE",
    "README.md"
  ],
  "scripts": {
    "build:lib": "run build:lib:esm && run build:lib:cjs",
    "build:lib:esm": "NODE_ENV=production BROWSERSLIST_ENV=2020 yarn g:babel-lite --out-dir lib --extensions '.ts,.tsx,.js'",
    "build:lib:cjs": "BROWSERSLIST_ENV=node12 BABEL_MODULES=cjs yarn g:babel-lite --out-dir lib --extensions '.cts' && mv ./lib/makeRenderRestHook/renderHook.js ./lib/makeRenderRestHook/renderHook.cjs && mv ./lib/makeRenderRestHook/use18.js ./lib/makeRenderRestHook/use18.cjs && mv ./lib/makeRenderRestHook/use18.native.js ./lib/makeRenderRestHook/use18.native.cjs",
    "build:legacy:lib": "run build:legacy:lib:esm && run build:legacy:lib:cjs",
    "build:legacy:lib:esm": "NODE_ENV=production BROWSERSLIST_ENV=2018 yarn g:babel-lite --out-dir legacy --extensions '.ts,.tsx,.js'",
    "build:legacy:lib:cjs": "BABEL_MODULES=cjs BROWSERSLIST_ENV=2018 yarn g:babel-lite --out-dir legacy --extensions '.cts' && mv ./legacy/makeRenderRestHook/renderHook.js ./legacy/makeRenderRestHook/renderHook.cjs && mv ./legacy/makeRenderRestHook/use18.js ./legacy/makeRenderRestHook/use18.cjs && mv ./legacy/makeRenderRestHook/use18.native.js ./legacy/makeRenderRestHook/use18.native.cjs",
    "build:bundle": "BROWSERSLIST_ENV=node12 yarn g:rollup && COMPILE_TARGET=native BROWSERSLIST_ENV=node12 yarn g:rollup && echo '{\"type\":\"commonjs\"}' > dist/package.json",
    "build:clean": "yarn g:clean",
    "build:legacy-types": "yarn g:downtypes lib ts3.4",
    "build": "run build:lib && run build:legacy:lib && run build:bundle",
    "dev": "run build:lib:esm -w & run build:lib:cjs -w && fg",
    "prepare": "run build:lib",
    "prepack": "echo 'run prepack' && run prepare && run build:bundle && run build:legacy:lib"
  },
  "keywords": [
    "test",
    "storybook",
    "hook",
    "react",
    "data",
    "cache",
    "flux",
    "suspense",
    "fetch",
    "hook",
    "networking",
    "concurrent mode",
    "typescript",
    "redux",
    "data fetching",
    "data cache",
    "normalized cache",
    "async",
    "swr"
  ],
  "author": "Nathaniel Tucker <me@ntucker.me> (https://github.com/ntucker)",
  "license": "Apache-2.0",
  "homepage": "https://resthooks.io/docs/guides/storybook",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com:data-client/rest-hooks.git",
    "directory": "packages/test"
  },
  "bugs": {
    "url": "https://github.com/data-client/rest-hooks/issues"
  },
  "dependencies": {
    "@babel/runtime": "^7.17.0",
    "@testing-library/react": "^14.0.0",
    "@testing-library/react-hooks": "~8.0.0",
    "@testing-library/react-native": "^12.0.1",
    "react-error-boundary": "^4.0.0"
  },
  "peerDependencies": {
    "@rest-hooks/react": "^0.2.0 || ^0.3.0 || ^1.0.0 || ^6.0.0 || ^7.0.0",
    "@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0",
    "@types/react-dom": "*",
    "jest": "*",
    "react": "^16.8.4 || ^17.0.0 || ^18.0.0",
    "react-dom": "*",
    "react-native": "*",
    "react-test-renderer": "*"
  },
  "peerDependenciesMeta": {
    "@types/react": {
      "optional": true
    },
    "@types/react-dom": {
      "optional": true
    },
    "jest": {
      "optional": true
    },
    "react-dom": {
      "optional": true
    },
    "react-native": {
      "optional": true
    },
    "react-test-renderer": {
      "optional": true
    }
  },
  "devDependencies": {
    "@anansi/browserslist-config": "^1.4.2",
    "@rest-hooks/react": "workspace:*",
    "@types/jest": "^29.5.0",
    "@types/node": "^18.15.10",
    "@types/react": "^18.0.30",
    "@types/react-dom": "^18.0.11",
    "@types/react-test-renderer": "^18",
    "jest": "^29.5.0"
  }
}
