UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

103 lines (102 loc) 2.48 kB
{ "name": "ts-json-schema-generator", "version": "0.70.2", "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" }, "license": "MIT", "keywords": [ "ts", "typescript", "json", "schema", "jsonschema" ], "engines": { "node": ">=6.0.0" }, "dependencies": { "@types/json-schema": "^7.0.5", "commander": "~5.1.0", "glob": "~7.1.6", "json-stable-stringify": "^1.0.1", "typescript": "~3.9.5" }, "devDependencies": { "@types/glob": "^7.1.2", "@types/jest": "^26.0.3", "@types/json-stable-stringify": "^1.0.32", "@types/node": "^14.0.14", "@typescript-eslint/eslint-plugin": "^3.4.0", "@typescript-eslint/parser": "^3.4.0", "ajv": "~6.12.2", "chai": "~4.2.0", "codecov": "^3.7.0", "eslint": "^7.3.1", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "jest": "^26.1.0", "jest-junit": "^11.0.1", "prettier": "^2.0.5", "source-map-support": "~0.5.19", "ts-jest": "^26.1.1", "ts-node": "^8.10.2" }, "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" } }