UNPKG

react-form-with-constraints-material-ui

Version:
62 lines (61 loc) 1.92 kB
{ "name": "react-form-with-constraints-material-ui", "version": "0.19.1", "description": "Simple form validation for React", "repository": "github:tkrotoff/react-form-with-constraints", "license": "MIT", "keywords": [ "react", "form", "validation", "react-form-with-constraints", "material design", "material-ui" ], "main": "dist/cjs/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/" ], "sideEffects": false, "scripts": { "clean": "rm -rf dist coverage LICENSE", "tsc": "tsc", "build": "npm run build:dts && npm run build:esm && npm run build:cjs", "build:dts": "tsc --project tsconfig.dist.json --declaration --emitDeclarationOnly --outDir dist", "build:esm": "tsc --project tsconfig.dist.json --removeComments --outDir dist", "build:cjs": "tsc --project tsconfig.dist.json --removeComments --module commonjs --outDir dist/cjs", "prepublishOnly": "npm run clean && npm run build", "prepack": "cp ../../LICENSE . && jscodeshift --transform=../../removeConsoleTransform.ts dist", "postpack": "rm LICENSE", "test": "jest --verbose", "test:coverage": "jest --coverage" }, "peerDependencies": { "@material-ui/core": ">=4.12.4", "react-form-with-constraints": ">=0.19.0" }, "devDependencies": { "@material-ui/core": "^4.12.4", "@types/enzyme": "^3.10.12", "@types/enzyme-adapter-react-16": "^1.0.6", "@types/jest": "^28.1.6", "@types/jscodeshift": "^0.11.5", "@types/react": "^18.0.15", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "jest": "^26.6.3", "jscodeshift": "^0.13.1", "react": "^16.14.0", "react-dom": "^16.14.0", "react-form-with-constraints": "^0.19.1", "ts-jest": "^26.5.6", "typescript": "^4.7.4" }, "overrides": { "@material-ui/core": { "@types/react": "^18.0.15" } } }