UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

101 lines (100 loc) 2.62 kB
{ "name": "ts-json-schema-generator", "version": "2.4.0", "description": "Generate JSON schema from your Typescript sources", "keywords": [ "ts", "typescript", "json", "schema", "jsonschema" ], "repository": { "type": "git", "url": "git+https://github.com/vega/ts-json-schema-generator.git" }, "license": "MIT", "author": { "name": "Alexander Evtushenko", "email": "aevtushenko@xiag.ch" }, "contributors": [ { "name": "Dominik Moritz", "email": "domoritz@gmail.com" }, { "name": "MooYeol Prescott Lee", "email": "mooyoul@gmail.com" } ], "type": "commonjs", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "ts-json-schema-generator": "bin/ts-json-schema-generator.js" }, "files": [ "dist", "src", "factory", "index.*", "ts-json-schema-generator.*" ], "scripts": { "build": "tsc", "debug": "tsx --inspect-brk ts-json-schema-generator.ts", "format": "eslint --fix", "lint": "eslint", "prepublishOnly": "npm run build", "release": "npm run build && auto shipit", "run": "tsx ts-json-schema-generator.ts", "test": "jest test/ --verbose", "test:coverage": "npm run jest -- test/ --collectCoverage=true", "test:fast": "cross-env FAST_TEST=1 jest test/ --verbose", "test:update": "cross-env UPDATE_SCHEMA=true npm run test:fast", "watch": "tsc -w" }, "dependencies": { "@types/json-schema": "^7.0.15", "commander": "^13.1.0", "glob": "^11.0.1", "json5": "^2.2.3", "normalize-path": "^3.0.0", "safe-stable-stringify": "^2.5.0", "tslib": "^2.8.1", "typescript": "^5.8.2" }, "devDependencies": { "@auto-it/conventional-commits": "^11.3.0", "@auto-it/first-time-contributor": "^11.3.0", "@babel/core": "^7.26.10", "@babel/preset-env": "^7.26.9", "@babel/preset-typescript": "^7.27.0", "@eslint/js": "^9.23.0", "@types/eslint": "^9.6.1", "@types/glob": "^8.1.0", "@types/jest": "^29.5.14", "@types/node": "^22.13.14", "@types/normalize-path": "^3.0.2", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "auto": "^11.3.0", "chai": "^5.2.0", "cross-env": "^7.0.3", "eslint": "9.23.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.5", "jest": "^29.7.0", "jest-junit": "^16.0.0", "prettier": "^3.5.3", "tsx": "^4.19.3", "typescript-eslint": "^8.28.0", "vega": "^6.1.2", "vega-lite": "^6.1.0" }, "packageManager": "npm@11.2.0", "engines": { "node": ">=18.0.0" } }