{ "_args": [ [ "react-hook-form@7.11.1", "/Users/nuwan/Code/jam-cloud/jam-ui" ] ], "_from": "react-hook-form@7.11.1", "_id": "react-hook-form@7.11.1", "_inBundle": false, "_integrity": "sha512-lBt428oU03dNUF5qZy5xqEdANaH3L/ilKWQS2t8wD6zF7FypOv46kEkZmg+oHf3n2xgeGYJgbMIGtYExsfKJ8A==", "_location": "/react-hook-form", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "react-hook-form@7.11.1", "name": "react-hook-form", "escapedName": "react-hook-form", "rawSpec": "7.11.1", "saveSpec": null, "fetchSpec": "7.11.1" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.11.1.tgz", "_spec": "7.11.1", "_where": "/Users/nuwan/Code/jam-cloud/jam-ui", "author": { "email": "bluebill1049@hotmail.com" }, "bugs": { "url": "https://github.com/react-hook-form/react-hook-form/issues" }, "bundlesize": [ { "path": "./dist/index.cjs.js", "maxSize": "9.5 kB" } ], "description": "Performant, flexible and extensible forms library for React Hooks", "devDependencies": { "@rollup/plugin-commonjs": "^19.0.0", "@rollup/plugin-node-resolve": "^13.0.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.0.0", "@testing-library/react-hooks": "^7.0.1", "@testing-library/react-native": "^7.2.0", "@types/jest": "^26.0.24", "@types/react": "^17.0.14", "@types/react-dom": "^17.0.9", "@types/react-native": "^0.64.12", "@types/react-test-renderer": "^17.0.1", "@typescript-eslint/eslint-plugin": "^4.28.3", "@typescript-eslint/parser": "^4.28.3", "@vitejs/plugin-react-refresh": "^1.3.5", "babel-jest": "^27.0.6", "bundlesize": "^0.18.0", "copyfiles": "^2.4.1", "cypress": "7.7.0", "cypress-parallel": "^0.3.0", "eslint": "^7.30.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": "^7.0.1", "jest": "^27.0.6", "jest-performance-testing": "^1.0.0", "lint-staged": "^11.0.1", "prettier": "^2.3.2", "react": "^17.0.1", "react-dom": "^17.0.1", "react-native": "^0.64.2", "react-test-renderer": "^17.0.1", "rimraf": "^3.0.2", "rollup": "^2.53.1", "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": "^27.0.3", "typescript": "^4.3.5" }, "exports": { "./package.json": "./package.json", ".": { "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js" } }, "files": [ "dist", "dist/__tests__" ], "funding": { "type": "opencollective", "url": "https://opencollective.com/react-hook-form" }, "homepage": "https://www.react-hook-form.com", "husky": { "hooks": { "pre-commit": "lint-staged" } }, "jsdelivr": "dist/index.umd.js", "jsnext:main": "dist/index.esm.js", "keywords": [ "react", "hooks", "form", "forms", "form-validation", "validation", "typescript", "react-hooks" ], "license": "MIT", "lint-staged": { "*.{js,ts,tsx}": [ "yarn lint:fix", "yarn prettier:fix" ], "*.{md,json,yml}": [ "prettier --write" ] }, "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "name": "react-hook-form", "peerDependencies": { "react": "^16.8.0 || ^17" }, "repository": { "type": "git", "url": "git+https://github.com/react-hook-form/react-hook-form.git" }, "resolutions": { "react-native/@jest/create-cache-key-function": "^27.0.2" }, "scripts": { "build": "yarn build:modern && yarn cp:dts", "build:esm": "rollup -c ./scripts/rollup/rollup.esm.config.js", "build:modern": "rollup -c ./scripts/rollup/rollup.config.js", "bundlesize": "yarn build:modern && bundlesize", "clean": "rimraf dist", "coverage": "jest --coverage --coverageReporters=text-lcov", "cp:dts": "copyfiles -f ./src/**/*.d.ts dist && rimraf dist/__tests__", "cypress": "cypress run", "cypress:open": "cypress open", "cypress:parallel": "cypress-parallel -s cypress -t 4 -d -a", "lint": "eslint '**/*.{js,ts,tsx}'", "lint:fix": "yarn lint -- --fix", "lint:types": "tsc --noEmit", "postversion": "git push && git push origin v$npm_package_version", "prebuild": "yarn clean", "prepublishOnly": "yarn && yarn lint:fix && yarn lint:types && yarn test && yarn build", "prettier:fix": "prettier --config .prettierrc --write \"**/*.{ts,tsx}\"", "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", "test": "jest --config ./scripts/jest/jest.config.js", "test:coverage": "yarn test -- --coverage", "test:native": "TEST_ENV=native yarn test", "test:server": "TEST_ENV=server yarn test", "test:watch": "yarn test -- --onlyChanged --watch", "test:web": "TEST_ENV=web yarn test" }, "sideEffects": true, "source": "src/index.ts", "types": "dist/index.d.ts", "umd:main": "dist/index.umd.js", "unpkg": "dist/index.umd.js", "version": "7.11.1" }