{"name":"swr","version":"2.0.0-rc.3","description":"React Hooks library for remote data fetching","keywords":["swr","react","hooks","request","cache","fetch"],"packageManager":"pnpm@7.1.0","main":"./core/dist/index.js","module":"./core/dist/index.esm.js","types":"./core/dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./core/dist/index.d.ts","import":"./core/dist/index.mjs","module":"./core/dist/index.esm.js","require":"./core/dist/index.js"},"./infinite":{"types":"./infinite/dist/index.d.ts","import":"./infinite/dist/index.mjs","module":"./infinite/dist/index.esm.js","require":"./infinite/dist/index.js"},"./immutable":{"types":"./immutable/dist/index.d.ts","import":"./immutable/dist/index.mjs","module":"./immutable/dist/index.esm.js","require":"./immutable/dist/index.js"},"./mutation":{"types":"./mutation/dist/index.d.ts","import":"./mutation/dist/index.mjs","module":"./mutation/dist/index.esm.js","require":"./mutation/dist/index.js"},"./_internal":{"types":"./_internal/dist/index.d.ts","import":"./_internal/dist/index.mjs","module":"./_internal/dist/index.esm.js","require":"./_internal/dist/index.js"}},"repository":"github:vercel/swr","homepage":"https://swr.vercel.app","license":"MIT","lint-staged":{"*.{ts,tsx}":["eslint --fix --cache","prettier --write"]},"devDependencies":{"@swc/core":"^1.3.5","@swc/jest":"0.2.23","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.1.1","@type-challenges/utils":"0.1.1","@types/jest":"^27.5.1","@types/node":"^18.7.14","@types/react":"^18.0.9","@types/use-sync-external-store":"^0.0.3","@typescript-eslint/eslint-plugin":"5.36.1","@typescript-eslint/parser":"5.36.1","bunchee":"2.1.7","eslint":"8.15.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest-dom":"4.0.1","eslint-plugin-react":"7.30.0","eslint-plugin-react-hooks":"4.5.0","eslint-plugin-testing-library":"5.5.0","husky":"8.0.1","jest":"28.1.0","jest-environment-jsdom":"28.1.0","lint-staged":"13.0.3","next":"^12.1.6","prettier":"2.6.2","react":"^18.1.0","react-dom":"^18.1.0","rimraf":"3.0.2","swr":"2.0.0-rc.3","tslib":"2.4.0","typescript":"4.8.2"},"peerDependencies":{"react":"^16.11.0 || ^17.0.0 || ^18.0.0"},"prettier":{"tabWidth":2,"semi":false,"useTabs":false,"singleQuote":true,"arrowParens":"avoid","trailingComma":"none"},"engines":{"pnpm":"7"},"dependencies":{"use-sync-external-store":"^1.2.0"},"scripts":{"csb:install":"pnpm i -g pnpm@7","csb:build":"pnpm install && pnpm build","clean":"pnpm -r run clean","watch":"pnpm -r run watch","build":"pnpm build-package _internal && pnpm build-package core && pnpm build-package infinite && pnpm build-package immutable && pnpm build-package mutation","build-package":"bunchee --target es2018 index.ts --cwd","types:check":"pnpm -r run types:check","publish-beta":"pnpm publish --tag beta","format":"prettier --write ./**/*.{ts,tsx}","lint":"eslint . --ext .ts,.tsx --cache","lint:fix":"pnpm lint --fix","coverage":"jest --coverage","test-typing":"tsc --noEmit -p test/type/tsconfig.json && tsc --noEmit -p test/tsconfig.json","test":"jest","run-all-checks":"pnpm types:check && pnpm lint && pnpm test && pnpm test-typing"},"_id":"swr@2.0.0-rc.3","_integrity":"sha512-HYbm4LGmvM1M3avtmGeJD7YZskbzRcD9xTFsIXmHDJ85b05NCy+3U1EO9RBNE0d6GHx65WEl8K313+vo1fKaKw==","_resolved":"/private/var/folders/zr/9p6mp0r13fn3s9fxzxp33_280000gn/T/55766aa18ad7dd81bf99b09f07987fc7/swr-2.0.0-rc.3.tgz","_from":"file:swr-2.0.0-rc.3.tgz","_nodeVersion":"16.14.2","_npmVersion":"7.20.1","dist":{"shasum":"5216f7044c1d012bd0be58793e77598416c0a728","size":55635,"noattachment":false,"key":"/swr/-/swr-2.0.0-rc.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/swr/download/swr-2.0.0-rc.3.tgz"},"_npmUser":{"name":"quietshu","email":"g@shud.in"},"directories":{},"maintainers":[{"name":"huozhi","email":""},{"name":"quietshu","email":"ds303077135@gmail.com"},{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swr_2.0.0-rc.3_1669652890445_0.311246304740308"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-28T16:32:16.176Z","publish_time":1669652890653,"_cnpm_publish_time":1669652890653,"dist-tags":{"beta":"2.3.5-beta.0","latest":"2.4.1","rc":"2.0.0-rc.3"}}