{"name":"swr","version":"1.1.0-beta.4","description":"React Hooks library for remote data fetching","main":"./dist/index.js","module":"./dist/index.esm.js","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.esm.js","require":"./dist/index.js","types":"./dist/index.d.ts"},"./infinite":{"import":"./infinite/dist/index.esm.js","require":"./infinite/dist/index.js","types":"./infinite/dist/infinite/index.d.ts"},"./immutable":{"import":"./immutable/dist/index.esm.js","require":"./immutable/dist/index.js","types":"./immutable/dist/immutable/index.d.ts"}},"react-native":"./dist/index.esm.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/vercel/swr.git"},"homepage":"https://swr.vercel.app","license":"MIT","scripts":{"clean":"rimraf dist infinite/dist immutable/dist","build":"yarn build:core && yarn build:infinite && yarn build:immutable","watch":"yalc publish && node scripts/watch.js","watch:core":"node scripts/watch.js core","watch:infinite":"node scripts/watch.js infinite","watch:immutable":"node scripts/watch.js immutable","build:core":"bunchee src/index.ts -m --no-sourcemap","build:infinite":"bunchee index.ts --cwd infinite -m --no-sourcemap","build:immutable":"bunchee index.ts --cwd immutable -m --no-sourcemap","prepublishOnly":"yarn clean && yarn build","publish-beta":"yarn publish --tag beta","types:check":"tsc --noEmit --project tsconfig.check.json && tsc --noEmit -p test","format":"prettier --write ./**/*.{ts,tsx}","lint":"eslint . --ext .ts,.tsx --cache","lint:fix":"yarn lint --fix","test":"jest","dev-next":"node scripts/dev-next.js"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"yarn types:check"}},"lint-staged":{"*.{ts,tsx}":["eslint --fix --cache","prettier --write","git add"]},"resolutions":{"tslib":"2.3.0"},"devDependencies":{"@testing-library/jest-dom":"5.14.1","@testing-library/react":"12.0.0","@types/react":"17.0.20","@typescript-eslint/eslint-plugin":"4.31.0","@typescript-eslint/parser":"4.31.0","bunchee":"1.7.1","eslint":"7.32.0","eslint-config-prettier":"6.5.0","eslint-plugin-jest-dom":"3.6.5","eslint-plugin-react":"7.20.6","eslint-plugin-react-hooks":"4.1.2","eslint-plugin-testing-library":"3.10.1","husky":"2.4.1","jest":"27.0.6","lint-staged":"8.2.1","npm-run-all":"4.1.5","prettier":"1.18.2","react":"17.0.1","react-dom":"17.0.1","react-dom-experimental":"npm:react-dom@alpha","react-experimental":"npm:react@alpha","rimraf":"3.0.2","ts-jest":"27.0.3","typescript":"4.4.3","yalc":"1.0.0-pre.53"},"peerDependencies":{"react":"^16.11.0 || ^17.0.0 || ^18.0.0"},"dependencies":{},"readmeFilename":"README.md","gitHead":"378bc7cc030c7dc7b08750e3dceedd9f4c4e0806","bugs":{"url":"https://github.com/vercel/swr/issues"},"_id":"swr@1.1.0-beta.4","_nodeVersion":"14.16.0","_npmVersion":"7.20.3","dist":{"shasum":"32424d24b76aa30bff84f71795cbfec55404b4e2","size":16338,"noattachment":false,"key":"/swr/-/swr-1.1.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/swr/download/swr-1.1.0-beta.4.tgz"},"_npmUser":{"name":"quietshu","email":"ds303077135@gmail.com"},"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_1.1.0-beta.4_1633242783430_0.004195901122327594"},"_hasShrinkwrap":false,"publish_time":1633242783775,"_cnpm_publish_time":1633242783775,"_cnpmcore_publish_time":"2021-12-16T10:35:31.053Z","dist-tags":{"beta":"2.3.5-beta.0","latest":"2.4.1","rc":"2.0.0-rc.3"}}