UNPKG

@adobe/jsonschema2md

Version:

Validate and document complex JSON Schemas the easy way.

89 lines (88 loc) 2.68 kB
{ "name": "@adobe/jsonschema2md", "description": "Validate and document complex JSON Schemas the easy way.", "version": "8.0.2", "main": "lib/index.js", "typings": "types", "bin": { "jsonschema2md": "./cli.js" }, "type": "module", "scripts": { "semantic-release": "npm run emit-types && npx semantic-release", "commit": "git-cz", "lint": "eslint .", "lint-fix": "eslint . --fix", "start": "node cli.js", "examples": "node cli.js -d examples/schemas/ -o examples/docs/ -x examples/generated-schemas/", "test": " c8 --reporter=text --reporter=lcov --check-coverage --branches 80 --statements 95 --lines 95 mocha && node lib/locales/update.js", "test-ci": "c8 --reporter=text --reporter=lcov --check-coverage --branches 80 --statements 95 --lines 95 mocha --reporter xunit --reporter-options output=./junit/test-results.xml", "emit-types": "npx -p typescript tsc", "prepare": "husky install" }, "dependencies": { "@types/json-schema": "^7.0.8", "@types/mdast": "^4.0.0", "es2015-i18n-tag": "1.6.1", "ferrum": "1.9.4", "fs-extra": "11.2.0", "github-slugger": "2.0.0", "js-yaml": "4.1.0", "json-schema": "^0.4.0", "mdast-builder": "1.1.1", "mdast-util-to-string": "4.0.0", "readdirp": "3.6.0", "remark-gfm": "^4.0.0", "remark-parse": "11.0.0", "remark-stringify": "11.0.0", "unified": "11.0.4", "unist-util-inspect": "8.0.0", "yargs": "17.7.2" }, "devDependencies": { "@adobe/eslint-config-helix": "2.0.6", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "@semantic-release/github": "10.0.3", "@types/fs-extra": "11.0.4", "@types/github-slugger": "2.0.0", "@types/js-yaml": "4.0.9", "@types/node": "20.12.5", "@types/yargs": "17.0.32", "c8": "9.1.0", "commitizen": "4.3.0", "cz-conventional-changelog": "3.3.0", "eslint": "8.57.0", "husky": "9.0.11", "i18n-tag-schema": "2.5.0", "json-logic-js": "axa-ch/cyclic-schemas-test", "lint-staged": "15.2.2", "mocha": "10.4.0", "semantic-release": "23.0.7", "typescript": "5.4.4", "unist-util-select": "5.1.0" }, "engines": { "node": "^18.0.0 || >= 20.0.0" }, "repository": { "type": "git", "url": "https://github.com/adobe/jsonschema2md.git" }, "bugs": { "url": "https://github.com/adobe/jsonschema2md/issues" }, "license": "Apache-2.0", "author": "", "lint-staged": { "*.js": "eslint" }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" }, "ghooks": { "pre-commit": "npx lint-staged" } } }