UNPKG

@adobe/jsonschema2md

Version:

Validate and document complex JSON Schemas the easy way.

91 lines (90 loc) 2.75 kB
{ "name": "@adobe/jsonschema2md", "description": "Validate and document complex JSON Schemas the easy way.", "version": "8.0.11", "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", "@types/unist": "^3.0.3", "es2015-i18n-tag": "1.6.1", "ferrum": "1.9.4", "fs-extra": "11.3.4", "github-slugger": "2.0.0", "js-yaml": "4.1.1", "json-schema": "^0.4.0", "mdast-builder": "1.1.1", "mdast-util-to-string": "4.0.0", "readdirp": "5.0.0", "remark-gfm": "^4.0.0", "remark-parse": "11.0.0", "remark-stringify": "11.0.0", "unified": "11.0.5", "unist-util-inspect": "8.1.0", "yargs": "18.0.0" }, "devDependencies": { "@adobe/eslint-config-helix": "3.0.22", "@eslint/config-helpers": "0.5.3", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "@semantic-release/github": "12.0.6", "@types/fs-extra": "11.0.4", "@types/github-slugger": "2.0.0", "@types/js-yaml": "4.0.9", "@types/node": "24.12.0", "@types/yargs": "17.0.35", "c8": "10.1.3", "commitizen": "4.3.1", "cz-conventional-changelog": "3.3.0", "eslint": "9.4.0", "husky": "9.1.7", "i18n-tag-schema": "2.5.0", "json-logic-js": "axa-ch/cyclic-schemas-test", "lint-staged": "16.3.2", "mocha": "11.7.5", "semantic-release": "25.0.3", "typescript": "5.9.3", "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" } } }