UNPKG

@hookform/error-message

Version:

React Hook Form error message component

104 lines (103 loc) 2.58 kB
{ "name": "@hookform/error-message", "version": "2.0.1", "description": "React Hook Form error message component", "source": "src/index.ts", "main": "dist/index.js", "module": "dist/index.esm.js", "esmodule": "dist/index.modern.js", "jsnext:main": "dist/index.esm.js", "unpkg": "dist/index.umd.js", "umd:main": "dist/index.umd.js", "jsdelivr": "dist/index.umd.js", "types": "dist/index.d.ts", "sideEffects": false, "files": [ "dist" ], "publishConfig": { "access": "public" }, "size-limit": [ { "path": "dist/index.js", "limit": "264 B" }, { "path": "dist/index.esm.js", "limit": "288 B" }, { "path": "dist/index.umd.js", "limit": "270 B" } ], "scripts": { "prebuild": "rimraf dist", "build": "microbundle build --jsx React.createElement", "lint": "eslint '**/*.{js,ts}'", "lint:fix": "npm run lint -- --fix", "lint:types": "tsc --noEmit", "test": "jest --runInBand", "test:watch": "npm run test -- --watchAll --coverage", "prepare": "husky install" }, "keywords": [ "react", "react-component", "form", "forms", "form-validation", "validation", "hookform", "react-hook-form", "typescript" ], "repository": { "type": "git", "url": "git+https://github.com/react-hook-form/error-message.git" }, "author": "bluebill1049 <bluebill1049@hotmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/react-hook-form/error-message/issues" }, "homepage": "https://react-hook-form.com", "devDependencies": { "@testing-library/react": "^11.2.6", "@types/jest": "^26.0.23", "@types/react": "^17.0.5", "@types/react-dom": "^17.0.3", "@typescript-eslint/eslint-plugin": "^4.22.1", "@typescript-eslint/parser": "^4.22.1", "eslint": "^7.26.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-react": "^7.23.2", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^6.0.0", "jest": "^26.6.3", "lint-staged": "^11.0.0", "microbundle": "^0.13.0", "prettier": "^2.2.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-hook-form": "^7.4.2", "rimraf": "^3.0.2", "ts-jest": "^26.5.6", "typescript": "^4.2.4" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "react-hook-form": "^7.0.0" }, "lint-staged": { "*.{js,ts,tsx}": [ "npm run lint:fix" ], "*.{md,json}": [ "prettier --write" ] } }