UNPKG

formik

Version:
121 lines (120 loc) 3.09 kB
{ "name": "formik", "description": "Forms in React, without tears", "version": "2.1.4", "license": "MIT", "author": "Jared Palmer <jared@palmer.net>", "repository": "jaredpalmer/formik", "keywords": [ "formik", "react", "react-dom", "form", "hooks", "validation", "forms", "higher order component", "hoc" ], "main": "dist/index.js", "umd:main": "dist/formik.umd.production.js", "module": "dist/formik.esm.js", "typings": "dist/index.d.ts", "files": [ "dist" ], "peerDependencies": { "react": ">=16.3.0" }, "scripts": { "test": "tsdx test --env=jsdom", "test:watch": "npm run test -- --watchAll", "start": "cross-env NODE_ENV=development tsdx watch --verbose", "prebuild": "rimraf dist", "build": "cross-env NODE_ENV=production tsdx build --format=cjs,esm,umd", "prepublish": "npm run build", "format": "prettier --trailing-comma es5 --single-quote --write 'src/**/*' 'test/**/*' 'README.md' '/docs/**/*.md'", "precommit": "lint-staged", "addc": "all-contributors add", "gen-docs": "all-contributors generate && doctoc README.md", "size": "size-limit", "lint": "tsdx lint" }, "dependencies": { "deepmerge": "^2.1.1", "hoist-non-react-statics": "^3.3.0", "lodash": "^4.17.14", "lodash-es": "^4.17.14", "react-fast-compare": "^2.0.1", "scheduler": "^0.18.0", "tiny-warning": "^1.0.2", "tslib": "^1.10.0" }, "resolutions": { "@types/react": "16.9.17", "@types/react-dom": "16.9.4" }, "devDependencies": { "@types/hoist-non-react-statics": "^3.3.1", "@types/jest": "^24.0.5", "@types/lodash": "^4.14.119", "@types/react": "^16.9.17", "@types/react-dom": "^16.9.4", "@types/warning": "^3.0.0", "@types/yup": "^0.24.9", "all-contributors-cli": "^4.4.0", "cp-cli": "^1.1.2", "cross-env": "5.0.5", "doctoc": "^1.3.0", "husky": "0.14.3", "just-debounce-it": "^1.1.0", "lint-staged": "4.0.2", "prettier": "^1.19.1", "react": "^16.12.0", "react-dom": "^16.12.0", "react-testing-library": "^7.0.0", "rimraf": "^2.6.2", "tsdx": "0.12.3", "typescript": "^3.7.4", "yup": "^0.28.1" }, "lint-staged": { "**/*.{ts,tsx}": [ "prettier --trailing-comma es5 --single-quote --write 'src/**/*' 'test/**/*' 'README.md' '/docs/**/*.md'", "tsdx lint", "git add" ] }, "prettier": { "trailingComma": "es5", "singleQuote": true, "semi": true }, "jest": { "globals": { "__DEV__": "boolean" }, "collectCoverageFrom": [ "src/**/*.{ts,tsx}" ], "setupFilesAfterEnv": [ "react-testing-library/cleanup-after-each.js", "<rootDir>/test/setupTests.ts" ] }, "size-limit": [ { "path": "./dist/index.js", "limit": "14 kB" }, { "path": "./dist/formik.esm.js", "limit": "14 kB" }, { "path": "./dist/formik.umd.production.js", "limit": "14 kB" } ], "gitHead": "747fd8923c132a5d7d73d318c8e5df8dd292967e" }