UNPKG

react-jsonschema-form-validation

Version:
134 lines (133 loc) 3.91 kB
{ "name": "react-jsonschema-form-validation", "description": "Simple form validation using JSON Schema and AJV", "version": "0.6.0", "author": "53JS", "license": "MIT", "scripts": { "start": "react-scripts start", "build": "react-scripts build", "clean": "rm -rf dist", "docs": "rm -rf docs && npm run build && mv build docs", "dist": "npm-run-all clean dist:* minify:*", "dist:css": "sass --style=expanded --no-source-map src/lib/styles/main.scss dist/$npm_package_name.css", "dist:js": "cross-env NODE_ENV=production babel src/lib --out-dir dist --ignore '**/*.test.js,**/Context.types.js'", "dist:types": "npm-run-all dist:types:emit dist:types:bundle dist:types:cleanup", "dist:types:emit": "tsc -p tsconfig.build.json", "dist:types:bundle": "dts-bundle-generator -o dist/index.d.ts --no-banner --no-check .types-temp/index.d.ts", "dist:types:cleanup": "rm -rf .types-temp", "minify:css": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/$npm_package_name.min.css dist/$npm_package_name.css", "test": "npm-run-all --sequential test:runtime test:types", "test:runtime": "react-scripts test --watchAll=false", "test:runtime:watch": "react-scripts test", "test:types": "bash test-types/check-matrix.sh", "type-check": "tsc -p tsconfig.json", "eject": "react-scripts eject", "prepublishOnly": "yarn test:runtime --ci --bail --runInBand && yarn test:types && yarn dist", "preversion": "npm run docs && git add docs && (git commit -m \"update docs for new version\" || echo \"No changes to commit\")" }, "browserslist": [ ">0.2%", "not dead", "not ie <= 11", "not op_mini all" ], "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md" ], "homepage": "https://53js.github.io/react-jsonschema-form-validation", "bugs": { "url": "https://github.com/53js/react-jsonschema-form-validation/issues" }, "repository": "github:53js/react-jsonschema-form-validation", "dependencies": { "@babel/runtime": "^7.8.4", "@types/json-schema": "^7.0.15", "ajv": "^6.11.0", "classnames": "^2.2.6", "dot-prop-immutable": "^2.1.0", "lodash.throttle": "^4.1.1", "memoize-one": "^5.1.1", "prop-types": "^15.7.2", "scroll-to-element": "^2.0.3" }, "devDependencies": { "@babel/cli": "^7.8.4", "@types/lodash.throttle": "^4.1.9", "@types/prop-types": "^15.7.15", "@types/react": "^16.14.70", "@types/react-dom": "^16.9.25", "babel-eslint": "10.0.3", "bootstrap": "^4.4.1", "clean-css-cli": "^4.3.0", "cross-env": "^7.0.0", "dts-bundle-generator": "^9.5.1", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2", "enzyme-to-json": "^3.4.4", "eslint": "^6.1.0", "eslint-config-53js": "^1.2.0", "eslint-config-airbnb": "^18.0.1", "eslint-plugin-import": "2.20.1", "eslint-plugin-jest": "^23.6.0", "eslint-plugin-react": "7.18.3", "jest": "24.9.0", "sass": "^1.101.7", "npm-run-all": "^4.1.5", "react": "^16.12.0", "react-dom": "^16.12.0", "react-prism": "^4.3.2", "react-router-dom": "^5.1.2", "react-scripts": "^3.3.1", "react-select": "^3.0.8", "react-test-renderer": "^16.12.0", "reactstrap": "^8.4.1", "typescript": "^6.0.3" }, "peerDependencies": { "react": ">=15" }, "resolutions": { "dts-bundle-generator/typescript": "^6.0.3" }, "jest": { "collectCoverageFrom": [ "src/lib/**/*.{js,jsx,ts,tsx}" ], "watchPathIgnorePatterns": [ "/build/", "/dist/", "/docs/", "/node_modules/" ], "snapshotSerializers": [ "enzyme-to-json/serializer" ] }, "keywords": [ "JSON", "ajv", "component", "form", "input", "html5", "json-schema", "json-schema-validation", "json-schema-validator", "jsonschema", "react", "react-component", "sanitization", "sanitize", "sanitizer", "schema", "validate", "validation", "validator", "ui" ] }