UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

107 lines (106 loc) 2.56 kB
{ "name": "ts-json-schema-generator", "version": "0.52.9", "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" }, "author": { "name": "Alexander Evtushenko", "email": "aevtushenko@xiag.ch" }, "contributors": [ { "name": "Dominik Moritz", "email": "domoritz@gmail.com" } ], "repository": { "type": "git", "url": "https://github.com/vega/ts-json-schema-generator.git" }, "licenses": [ { "type": "MIT", "url": "http://www.opensource.org/licenses/mit-license.php" } ], "keywords": [ "ts", "typescript", "json", "schema", "jsonschema" ], "engines": { "node": ">=6.0.0" }, "dependencies": { "@types/json-schema": "^7.0.3", "commander": "~2.20.0", "glob": "~7.1.4", "json-stable-stringify": "^1.0.1", "typescript": "~3.5.3" }, "devDependencies": { "@types/glob": "^7.1.1", "@types/jest": "^24.0.15", "@types/json-stable-stringify": "^1.0.32", "@types/node": "^12.6.8", "@typescript-eslint/eslint-plugin": "^1.13.0", "@typescript-eslint/parser": "^1.13.0", "ajv": "~6.10.2", "chai": "~4.2.0", "eslint": "^6.1.0", "eslint-config-prettier": "^6.0.0", "eslint-plugin-prettier": "^3.1.0", "jest": "^24.8.0", "jest-junit": "^6.4.0", "prettier": "^1.18.2", "source-map-support": "~0.5.12", "ts-jest": "^24.0.2", "ts-node": "^8.3.0" }, "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": "FAST_TEST=1 jest test/ --verbose", "debug": "node -r ts-node/register --inspect-brk ts-json-schema-generator.ts", "run": "ts-node ts-json-schema-generator.ts" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "testPathIgnorePatterns": [ "node_modules", "test-runtime", "<rootDir>/build", "_site", "src", "dist" ], "coverageReporters": [ "html", "cobertura" ], "coverageDirectory": "./coverage/", "collectCoverage": false, "testEnvironment": "node" } }