UNPKG

dtsgenerator

Version:

TypeScript d.ts file generator for JSON Schema file

86 lines (85 loc) 2.8 kB
{ "name": "dtsgenerator", "version": "3.19.2", "description": "TypeScript d.ts file generator for JSON Schema file", "bin": { "dtsgen": "bin/dtsgen" }, "main": "dist/core/", "typings": "dist/core/index.d.ts", "scripts": { "build": "tsc -p ./tsconfig-build.json", "clean": "rimraf dist/ build/ {src,test}/**/*.{js,js.map} *.tsbuildinfo", "compile": "tsc -p .", "lint": "eslint --fix --report-unused-disable-directives --ext ts src/ test/", "format": "prettier --cache --write 'src/**/*.ts' 'test/*.ts' 'test/core/*.ts'", "precompile": "npm run lint && npm run format", "prepublishOnly": "npm run build", "pretest": "npm run compile", "do-test": "cross-env TS_NODE_FILES=true mocha --exit --require ts-node/register --require source-map-support/register --colors test/*_test.ts test/**/*_test.ts", "test": "nyc npm run do-test", "test:update-snapshot": "UPDATE_SNAPSHOT=1 npm run test", "coverage": "nyc report --reporter=lcov", "prepare": "husky install" }, "directories": { "test": "test/" }, "keywords": [ "TypeScript", "JSON Schema", "OpenAPI" ], "author": "horiuchi", "license": "MIT", "homepage": "https://github.com/horiuchi/dtsgenerator", "repository": { "type": "git", "url": "git@github.com:horiuchi/dtsgenerator.git" }, "bugs": { "url": "https://github.com/horiuchi/dtsgenerator/issues" }, "engines": { "node": ">= 18.0" }, "dependencies": { "commander": "^12.1.0", "cross-fetch": "^4.0.0", "debug": "^4.3.5", "glob": "^10.4.1", "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.4", "js-yaml": "^4.1.0", "tslib": "^2.6.3", "typescript": "^5.4.5" }, "devDependencies": { "@dtsgenerator/do-nothing": "^2.6.0", "@dtsgenerator/eslint-config": "^0.7.1", "@dtsgenerator/replace-namespace": "^1.6.0", "@dtsgenerator/single-quote": "^1.7.0", "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/debug": "^4.1.12", "@types/glob": "^8.1.0", "@types/js-yaml": "^4.0.9", "@types/mocha": "^10.0.6", "@types/node": "^18.19.34", "cross-env": "^7.0.3", "eslint": "^8.56.0", "husky": "^9.0.11", "lint-staged": "^15.2.5", "mocha": "^10.4.0", "nyc": "^17.0.0", "prettier": "^3.3.1", "rimraf": "^5.0.7", "source-map-support": "^0.5.21", "ts-node": "^10.9.2" }, "lint-staged": { "**/*.ts": [ "prettier --cache --write", "eslint --fix" ] } }