UNPKG

xsd2json

Version:

Translate an XML Schema into equivalent JSON Schema

47 lines (46 loc) 1.31 kB
{ "name": "xsd2json", "version": "1.12.22", "description": "Translate an XML Schema into equivalent JSON Schema", "main": "index.js", "bin": { "xsd2json": "lib-pl/cli.exe" }, "scripts": { "preinstall": "npm run create-qlf", "pretest": "npm run create-qlf", "prepare": "git checkout -- lib-pl/cli.exe", "create-qlf": "swipl -O --goal=main -o lib-pl/cli.exe -c lib-pl/cli.pl", "standard": "standard", "test": "npm run standard && npm run test-cli && npm run test-converter && npm run test-api", "test-cli": "./lib-pl/cli.exe --version && ./lib-pl/cli.exe test/xsd/all_element.xsd", "test-converter": "node test/index.js interpreted", "test-examples": "node test/index.js validate-json", "test-api": "node test/api.js" }, "keywords": [ "XML Schema", "XSD", "JSON Schema", "jsv", "xsd", "xml schema", "json schema" ], "author": "Falco Nogatz <fnogatz@gmail.com>", "license": "MIT", "repository": "github:fnogatz/xsd2json", "dependencies": { "char-spinner": "^1.0.1", "concat-stream": "^2.0.0" }, "devDependencies": { "ajv": "^8.6.3", "ajv-draft-04": "^1.0.0", "async": "^3.0.1", "commander": "^9.4.0", "interpreted": "^1.0.0", "standard": "^17.0.0", "tap": "^16.3.0" } }