UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

97 lines (96 loc) 2.6 kB
{ "name": "ts-json-schema-generator", "version": "0.96.0", "description": "Generate JSON schema from your Typescript sources", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "ts-json-schema-generator": "./bin/ts-json-schema-generator" }, "files": [ "dist", "src", "factory", "index.*", "ts-json-schema-generator.*" ], "author": { "name": "Alexander Evtushenko", "email": "aevtushenko@xiag.ch" }, "contributors": [ { "name": "Dominik Moritz", "email": "domoritz@gmail.com" }, { "name": "MooYeol Prescott Lee", "email": "mooyoul@gmail.com" } ], "repository": { "type": "git", "url": "https://github.com/vega/ts-json-schema-generator.git" }, "license": "MIT", "keywords": [ "ts", "typescript", "json", "schema", "jsonschema" ], "engines": { "node": ">=10.0.0" }, "dependencies": { "@types/json-schema": "^7.0.9", "commander": "^8.2.0", "fast-json-stable-stringify": "^2.1.0", "glob": "^7.2.0", "json-stable-stringify": "^1.0.1", "json5": "^2.2.0", "typescript": "~4.4.3" }, "devDependencies": { "@auto-it/conventional-commits": "^10.32.1", "@auto-it/first-time-contributor": "^10.32.1", "@babel/core": "^7.15.5", "@babel/preset-env": "^7.15.6", "@babel/preset-typescript": "^7.15.0", "@types/glob": "^7.1.4", "@types/jest": "^27.0.2", "@types/json-stable-stringify": "^1.0.33", "@types/node": "^16.10.2", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "ajv": "^8.6.3", "ajv-formats": "^2.1.1", "auto": "^10.32.1", "chai": "^4.3.4", "cross-env": "^7.0.3", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^27.2.4", "jest-junit": "^13.0.0", "prettier": "^2.4.1", "ts-node": "^10.2.1", "vega": "^5.21.0", "vega-lite": "^5.1.1" }, "scripts": { "prepublishOnly": "yarn build", "build": "tsc", "watch": "tsc -w", "lint": "eslint \"{src,test,factory}/**/*.ts\"", "format": "yarn lint --fix", "test": "jest test/ --verbose", "test:fast": "cross-env FAST_TEST=1 jest test/ --verbose", "test:coverage": "yarn jest test/ --collectCoverage=true", "test:update": "cross-env UPDATE_SCHEMA=true yarn test:fast", "debug": "node -r ts-node/register --inspect-brk ts-json-schema-generator.ts", "run": "ts-node ts-json-schema-generator.ts", "release": "yarn build && auto shipit" } }