UNPKG

@hookform/strictly-typed

Version:

React Hook Form strictly typed custom hooks.

116 lines (115 loc) 3.31 kB
{ "name": "@hookform/strictly-typed", "version": "0.0.4", "description": "React Hook Form strictly typed custom hooks.", "main": "dist/index.js", "module": "dist/index.esm.js", "umd:main": "dist/index.umd.production.min.js", "unpkg": "dist/index.umd.production.min.js", "jsdelivr": "dist/index.umd.production.min.js", "jsnext:main": "dist/index.esm.js", "source": "src/index.ts", "types": "dist/index.d.ts", "sideEffects": false, "files": [ "dist" ], "publishConfig": { "access": "public" }, "scripts": { "clean": "rimraf dist", "prebuild": "npm run clean", "build": "node rollup/writeCjsEntryFile.js && rollup -c", "lint": "eslint '**/*.{js,ts,tsx}'", "lint:fix": "npm run lint -- --fix", "lint:types": "tsc --noEmit", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "postversion": "git push && git push origin v$npm_package_version", "prepublishOnly": "npm run lint && npm run lint:types && npm test && npm run build", "changeset": "changeset", "release": "changeset publish" }, "keywords": [ "react", "react-component", "hooks", "react-hooks", "form", "forms", "form-validation", "validation", "hookform", "react-hook-form", "typescript", "typesafe" ], "repository": { "type": "git", "url": "git+https://github.com/react-hook-form/strictly-typed.git" }, "author": "Kotaro Sugawara <kotarella1110@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/react-hook-form/strictly-typed/issues" }, "homepage": "https://react-hook-form.com", "devDependencies": { "@changesets/changelog-github": "^0.2.7", "@changesets/cli": "^2.10.2", "@rollup/plugin-commonjs": "^13.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^8.0.1", "@rollup/plugin-replace": "^2.3.3", "@testing-library/react": "^10.3.0", "@testing-library/react-hooks": "^3.3.0", "@types/jest": "^26.0.0", "@types/react": "^16.9.38", "@types/react-dom": "^16.9.8", "@typescript-eslint/eslint-plugin": "^3.3.0", "@typescript-eslint/parser": "^3.3.0", "eslint": "^7.2.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.20.0", "eslint-plugin-react-hooks": "^4.0.4", "husky": "^4.2.5", "jest": "^26.0.1", "lint-staged": "^10.2.11", "prettier": "^2.0.5", "react": "^16.13.1", "react-dom": "^16.13.1", "react-hook-form": "^6.7.0", "react-test-renderer": "^16.13.1", "rimraf": "^3.0.2", "rollup": "^2.17.0", "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-sourcemaps": "^0.6.2", "rollup-plugin-terser": "^6.1.0", "rollup-plugin-typescript2": "^0.27.0", "semantic-release": "^17.0.7", "ts-jest": "^26.1.0", "typescript": "^3.9.5" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "react-hook-form": ">=6.6.0", "typescript": ">=3.0.1" }, "husky": { "hooks": { "pre-commit": "npm run lint:types && lint-staged" } }, "lint-staged": { "*.{js,ts,tsx}": [ "npm run lint:fix" ], "*.{md,json,yml}": [ "prettier --write" ] } }