{"name":"react-hook-form","description":"Performant, flexible and extensible forms library for React Hooks","version":"7.6.2","main":"dist/index.cjs.js","module":"dist/index.esm.js","umd:main":"dist/index.umd.js","unpkg":"dist/index.umd.js","jsdelivr":"dist/index.umd.js","jsnext:main":"dist/index.esm.js","source":"src/index.ts","types":"dist/index.d.ts","sideEffects":true,"exports":{"./package.json":"./package.json",".":{"import":"./dist/index.esm.js","require":"./dist/index.cjs.js"}},"scripts":{"clean":"rimraf dist","prebuild":"yarn clean","build":"yarn build:modern && yarn cp:dts","build:modern":"rollup -c ./scripts/rollup/rollup.config.js","build:esm":"rollup -c ./scripts/rollup/rollup.esm.config.js","cp:dts":"copyfiles -f ./src/**/*.d.ts dist && rimraf dist/__tests__","prettier:fix":"prettier --config .prettierrc --write \"**/*.{ts,tsx}\"","lint":"eslint '**/*.{js,ts,tsx}'","lint:fix":"yarn lint -- --fix","lint:types":"tsc --noEmit","coverage":"jest --coverage --coverageReporters=text-lcov | coveralls","test":"jest --config ./scripts/jest/jest.config.js","test:coverage":"yarn test -- --coverage","test:watch":"yarn test -- --onlyChanged --watch","test:web":"TEST_ENV=web yarn test","test:server":"TEST_ENV=server yarn test","test:native":"TEST_ENV=native yarn test","cypress":"cypress run","cypress:open":"cypress open","cypress:parallel":"cypress-parallel -s cypress -t 4 -d -a","postversion":"git push && git push origin v$npm_package_version","prepublishOnly":"yarn && yarn lint:fix && yarn lint:types && yarn test && yarn build","bundlesize":"yarn build:modern && bundlesize","start:app":"yarn build:esm && yarn link && yarn --cwd node_modules/react link && yarn --cwd ./app link react react-hook-form && yarn --cwd ./app && yarn --cwd ./app run dev"},"keywords":["react","hooks","form","forms","form-validation","validation","typescript","react-hooks"],"repository":{"type":"git","url":"git+https://github.com/react-hook-form/react-hook-form.git"},"homepage":"https://www.react-hook-form.com","author":{"email":"bluebill1049@hotmail.com"},"license":"MIT","devDependencies":{"@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","@testing-library/jest-dom":"^5.12.0","@testing-library/react":"^11.2.5","@testing-library/react-hooks":"^5.1.2","@testing-library/react-native":"^5.0.3","@types/jest":"^26.0.23","@types/react":"^17.0.5","@types/react-dom":"^17.0.1","@types/react-native":"^0.63.50","@types/react-test-renderer":"^17.0.1","@typescript-eslint/eslint-plugin":"^4.22.1","@typescript-eslint/parser":"^4.22.1","@vitejs/plugin-react-refresh":"^1.3.3","babel-jest":"^26.6.3","bundlesize":"^0.18.0","copyfiles":"^2.4.1","coveralls":"^3.1.0","cypress":"7.2.0","cypress-parallel":"^0.3.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-cypress":"^2.11.3","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-simple-import-sort":"^7.0.0","husky":"^6.0.0","jest":"^26.6.3","jest-performance-testing":"^1.0.0","lint-staged":"^11.0.0","metro-react-native-babel-preset":"^0.63.0","prettier":"^2.2.1","react":"^17.0.1","react-dom":"^17.0.1","react-native":"^0.62.2","react-performance-testing":"^1.2.0","react-test-renderer":"^17.0.1","rimraf":"^3.0.2","rollup":"^2.47.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-sourcemaps":"^0.6.2","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^26.5.6","typescript":"^4.2.3"},"bundlesize":[{"path":"./dist/index.cjs.js","maxSize":"9.5 kB"}],"peerDependencies":{"react":"^16.8.0 || ^17"},"lint-staged":{"*.{js,ts,tsx}":["yarn lint:fix","yarn prettier:fix"],"*.{md,json,yml}":["prettier --write"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"funding":{"type":"opencollective","url":"https://opencollective.com/react-hook-form"},"gitHead":"a85d415c473518012f1e1d73e29c047177165c87","bugs":{"url":"https://github.com/react-hook-form/react-hook-form/issues"},"_id":"react-hook-form@7.6.2","_nodeVersion":"15.0.1","_npmVersion":"7.9.0","dist":{"shasum":"1996c61617f521d1294e0c7cfa7c7062ba546fce","size":156110,"noattachment":false,"key":"/react-hook-form/-/react-hook-form-7.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-hook-form/download/react-hook-form-7.6.2.tgz"},"_npmUser":{"name":"bluebill1049","email":"bluebill1049@gmail.com"},"directories":{},"maintainers":[{"name":"bluebill1049","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-hook-form_7.6.2_1621378489725_0.10663587273619646"},"_hasShrinkwrap":false,"publish_time":1621378489928,"_cnpm_publish_time":1621378489928,"_cnpmcore_publish_time":"2021-12-16T13:02:01.122Z","dist-tags":{"alpha":"8.0.0-alpha.5","beta":"8.0.0-beta.1","latest":"7.72.1","next":"7.60.0-next.0"}}