ramldt2jsonschema
Version:
Converts a RAML data type into JSON schema, and back
51 lines (50 loc) • 1.25 kB
JSON
{
"name": "ramldt2jsonschema",
"version": "1.2.3",
"description": "Converts a RAML data type into JSON schema, and back",
"main": "src/index.js",
"author": "MuleSoft, Inc.",
"license": "Apache-2.0",
"homepage": "https://github.com/raml-org/ramldt2jsonschema",
"files": [
"src/**",
"bin/**"
],
"keywords": [
"raml",
"json",
"types"
],
"repository": {
"type": "git",
"url": "git://github.com/raml-org/ramldt2jsonschema.git"
},
"bugs": {
"url": "https://github.com/raml-org/ramldt2jsonschema/issues"
},
"bin": {
"dt2js": "bin/dt2js.js",
"js2dt": "bin/js2dt.js"
},
"scripts": {
"lint": "standard",
"test-unit": "nyc mocha -R spec --bail test/unit/*.test.js",
"test-integration": "nyc mocha -R spec --bail test/integration/*.test.js",
"test-all": "nyc mocha -R spec --bail test/**/*.test.js",
"test": "npm run lint && npm run test-all"
},
"dependencies": {
"commander": "^5.0.0",
"js-yaml": "^3.14.0",
"json-schema-migrate": "^0.2.0",
"webapi-parser": "^0.5.0"
},
"devDependencies": {
"ajv": "^6.12.3",
"chai": "^4.1.2",
"mocha": "^8.0.1",
"nyc": "^15.1.0",
"rewire": "^5.0.0",
"standard": "^14.3.4"
}
}