UNPKG

to-json-schema

Version:
62 lines (61 loc) 1.7 kB
{ "name": "to-json-schema", "version": "0.2.5", "description": "Convert JS object to JSON Schema", "main": "lib/index.js", "scripts": { "build": "babel src -d lib", "prepublishOnly": "npm test && npm run build", "lint": "eslint src/ test/", "test": "mocha --recursive", "test:coverage": "nyc mocha --recursive", "test:coveralls": "nyc --reporter=lcov --reporter=text-lcov npm test && cat ./coverage/lcov.info | coveralls" }, "repository": { "type": "git", "url": "git+https://github.com/ruzicka/to-json-schema.git" }, "keywords": [ "JSON", "schema", "JSON schema", "jsonschema", "converter", "convert" ], "author": "David Ruzicka", "license": "MIT", "bugs": { "url": "https://github.com/ruzicka/to-json-schema/issues" }, "homepage": "https://github.com/ruzicka/to-json-schema#readme", "dependencies": { "lodash.isequal": "^4.5.0", "lodash.keys": "^4.2.0", "lodash.merge": "^4.6.2", "lodash.omit": "^4.5.0", "lodash.without": "^4.4.0", "lodash.xor": "^4.5.0" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.9.0", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/plugin-proposal-json-strings": "^7.8.3", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.8.3", "@babel/preset-env": "^7.9.0", "chai": "^4.1.2", "coveralls": "^3.0.11", "cross-env": "^5.2.1", "eslint": "^6.8.0", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.20.1", "lodash.clonedeep": "^4.5.0", "mocha": "^7.1.1", "nyc": "^15.0.0" }, "files": [ "lib" ] }