UNPKG

react-minimalistic-use-form

Version:

Minimalistic react hook for handling forms without much pain.

121 lines (120 loc) 3.64 kB
{ "name": "react-minimalistic-use-form", "version": "2.0.0", "description": "Minimalistic react hook for handling forms without much pain.", "main": "dist/lib/index", "module": "dist/lib/index", "typings": "dist/lib/index.d.ts", "typescript": { "definition": "dist/lib/index.d.ts" }, "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "build": "tsc --build", "build:watch": "tsc --build --watch", "lint": "esw --ext .js,.jsx,.ts,.tsx --color", "lint:fix": "npm run lint --fix", "prepare": "npm run build", "prerelease": "npm run lint:fix && npm run build", "release": "npm publish", "story": "start-storybook -p 4444", "test": "jest", "test:watch": "jest --watchAll", "test:coverage": "jest --coverage=true", "test:badges": "npm run test:coverage && jest-coverage-badges output ./coverage-badges" }, "peerDependencies": { "react": ">=16.13.1", "react-dom": ">=16.13.1" }, "devDependencies": { "@babel/core": "^7.7.4", "@babel/plugin-proposal-class-properties": "^7.7.4", "@babel/plugin-proposal-object-rest-spread": "^7.7.4", "@babel/plugin-proposal-optional-chaining": "^7.7.4", "@babel/plugin-syntax-dynamic-import": "^7.7.4", "@babel/preset-env": "^7.7.4", "@babel/preset-react": "^7.7.4", "@rollup/plugin-babel": "^5.0.3", "@rollup/plugin-url": "^4.0.0", "@storybook/addon-notes": "^5.3.21", "@storybook/react": "^6.4.9", "@types/enzyme": "^3.10.8", "@types/enzyme-adapter-react-16": "^1.0.6", "@types/jest": "^26.0.14", "@types/react-dom": "^17.0.11", "@typescript-eslint/eslint-plugin": "^4.6.0", "@typescript-eslint/eslint-plugin-tslint": "^4.6.0", "@typescript-eslint/parser": "^4.6.1", "babel-core": "^6.26.3", "babel-eslint": "^10.0.3", "babel-jest": "^24.9.0", "babel-loader": "^8.1.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "babel-preset-react-app": "^9.0.2", "core-js": "^3.8.1", "cross-env": "^6.0.3", "css-loader": "^3.6.0", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2", "eslint": "^6.7.2", "eslint-config-airbnb": "^18.0.1", "eslint-import-resolver-typescript": "^2.3.0", "eslint-plugin-flowtype": "^4.5.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^23.1.1", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-react": "^7.17.0", "eslint-plugin-react-hooks": "^2.3.0", "eslint-watch": "^6.0.1", "fork-ts-checker-webpack-plugin": "^6.0.5", "jest": "^26.1.0", "jest-coverage-badges": "^1.1.2", "npm-run-all": "^4.1.5", "react": "^16.12.0", "react-app-polyfill": "^1.0.4", "react-dom": "^16.12.0", "react-syntax-highlighter": "^11.0.2", "style-loader": "^1.2.1", "ts-jest": "^26.4.1", "ts-loader": "^8.0.11", "ts-node": "^9.1.1", "tslib": "^2.0.1", "typescript": "^4.0.3", "webpack": "^4.43.0" }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/josipbrcina/react-minimalistic-use-form.git" }, "keywords": [ "react", "useForm", "use-form", "hook", "hooks", "form", "forms", "input", "validation", "state", "front-end", "frontend", "minimalistic", "simple", "api" ], "author": "Josip Brčina", "license": "MIT", "bugs": { "url": "https://github.com/josipbrcina/react-minimalistic-use-form/issues" }, "homepage": "https://github.com/josipbrcina/react-minimalistic-use-form#readme" }