UNPKG

json-schema-to-yup

Version:

Build a Yup schema from a JSON Schema. Also supports custom/alternative schema models such as GraphQL type defs

53 lines 1.26 kB
{ "name": "json-schema-to-yup", "version": "1.8.8", "source": "src/index.js", "main": "dist/index.js", "description": "Build a Yup schema from a JSON Schema. Also supports custom/alternative schema models such as GraphQL type defs", "license": "MIT", "author": "Kristian Mandrup <kmandrup@gmail.com>", "homepage": "https://github.com/kristianmandrup/json-schema-to-yup#readme", "repository": { "type": "git", "url": "https://github.com/kristianmandrup/json-schema-to-yup.git" }, "bugs": { "url": "https://github.com/kristianmandrup/json-schema-to-yup/issues", "email": "kmandrup@gmail.com" }, "dependencies": { "dashify": "^2.0.0", "uppercamelcase": "^3.0.0", "yup": "^0.26.0" }, "devDependencies": { "babel-core": "^6.26.3", "babel-preset-env": "^1.7.0", "jest": "^23.0.0", "microbundle": "^0.9.0" }, "babel": { "presets": [ "env" ] }, "keywords": [ "yup", "json", "json-schema", "schema", "model", "validate", "validation", "convert", "build", "builder", "graphql", "typedef" ], "scripts": { "build": "rm -rf ./dist && microbundle build -f cjs", "prepublishOnly": "npm run build", "test": "jest" } }