UNPKG

mobx-react-form

Version:
168 lines (167 loc) 4.52 kB
{ "name": "mobx-react-form", "license": "MIT", "version": "6.15.0", "author": "Claudio Savino <claudio.savino@me.com> (https://twitter.com/foxhound87)", "description": "Reactive MobX Form State Management", "homepage": "https://github.com/foxhound87/mobx-react-form#readme", "main": "./lib/index.js", "module": "./lib/esm/index.js", "types": "./lib/index.d.ts", "sideEffects": false, "typesVersions": { "*": { "composer": [ "./lib/composer.d.ts" ], "lib/composer": [ "./lib/composer.d.ts" ], "validators/*": [ "./lib/validators/*.d.ts" ], "lib/validators/*": [ "./lib/validators/*.d.ts" ], "lib/utils": [ "./lib/utils.d.ts" ] } }, "exports": { ".": { "types": "./lib/index.d.ts", "import": "./lib/esm/index.js", "require": "./lib/index.js" }, "./composer": { "types": "./lib/composer.d.ts", "import": "./lib/esm/composer.js", "require": "./lib/composer.js" }, "./validators/*": { "types": "./lib/validators/*.d.ts", "import": "./lib/esm/validators/*.js", "require": "./lib/validators/*.js" }, "./lib/validators/*": { "types": "./lib/validators/*.d.ts", "import": "./lib/esm/validators/*.js", "require": "./lib/validators/*.js" }, "./lib/composer": { "types": "./lib/composer.d.ts", "import": "./lib/esm/composer.js", "require": "./lib/composer.js" }, "./lib/utils": { "types": "./lib/utils.d.ts", "import": "./lib/esm/utils.js", "require": "./lib/utils.js" } }, "scripts": { "clean:build": "rimraf lib && rimraf umd", "clean:modules": "rimraf node_modules && npm cache clean", "clean:all": "npm run clean:build && npm run clean:modules", "lint": "eslint . --ext .ts --ignore-path .gitignore", "build": "rollup -c rollup.config.mjs", "prebuild": "npm run clean:build", "precommit": "npm run lint && npm run cover", "commit": "git-cz && git push origin", "watch:build": "rollup -c rollup.config.mjs --watch", "watch:test": "npm run test -- -w", "test": "cross-env TEST=true TS_NODE_TRANSPILE_ONLY=true mocha -r ts-node/register ./tests/integration/*.ts ./tests/unit/*.ts", "cover": "nyc npm test", "coverage:check": "nyc check-coverage --satements 95 --branches 80 --functions 86 --lines 90", "coverage:report": "mkdir -p coverage && nyc --report-dir=coverage report --reporter=lcov > ./coverage/lcov.info", "semantic-release": "semantic-release" }, "repository": { "type": "git", "url": "https://github.com/foxhound87/mobx-react-form.git" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/mobx-react-form" }, "release": { "branches": [ "master", "next" ] }, "keywords": [ "form", "mobx", "state", "events", "nested", "fields", "bindings", "react", "reactive", "validation", "validator", "json", "schema", "declarative", "rules" ], "files": [ "src", "lib", "umd" ], "engines": { "node": ">=8.0.0" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "dependencies": { "lodash": "^4.17.21", "lodash-es": "^4.17.21" }, "peerDependencies": { "mobx": "^6.0.0" }, "devDependencies": { "@rollup/plugin-alias": "^6.0.0", "@rollup/plugin-commonjs": "^29.0.2", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^1.0.0", "@rollup/plugin-typescript": "^12.3.0", "@types/chai": "^4.3.0", "@types/lodash": "^4.14.178", "@types/mocha": "^9.1.0", "@types/node": "^17.0.18", "@types/validator": "^13.7.1", "@types/validatorjs": "^3.15.0", "@typescript-eslint/eslint-plugin": "^5.54.0", "@typescript-eslint/parser": "^5.54.0", "ajv": "^5.2.2", "chai": "3.5.0", "commitizen": "^4.3.0", "cross-env": "^5.1.4", "cz-conventional-changelog": "^2.1.0", "eslint": "^8.35.0", "eslint-plugin-import": "^2.27.5", "husky": "0.13.1", "joi": "^17.13.3", "mobx": "^6.3.3", "mocha": "^9.2.1", "nyc": "^15.1.0", "rimraf": "2.5.4", "rollup": "^4.59.0", "semantic-release": "^21.0.1", "ts-node": "^10.5.0", "typescript": "^4.5.5", "validator": "^13.7.0", "validatorjs": "^3.15.1", "yup": "^0.32.11", "zod": "^3.22.4" } }