{
  "name": "json-schema-to-typescript",
  "version": "16.0.0",
  "description": "compile json schema to typescript typings",
  "main": "dist/src/index.js",
  "bin": {
    "json2ts": "dist/src/cli.js"
  },
  "typings": "dist/src/index.d.ts",
  "engines": {
    "node": ">=16.0.0"
  },
  "scripts": {
    "build": "npm run lint && npm run clean && npm run build:browser && npm run build:server",
    "build:browser": "browserify src/index.ts -s jstt -p [ tsify -m commonjs ] > dist/bundle.js",
    "build:server": "tsc -d",
    "clean": "shx rm -rf dist && mkdir dist",
    "format": "prettier \"{src,test}/*.ts\" --write",
    "format-check": "prettier \"{src,test}/*.ts\" --check",
    "lint": "eslint src/*.ts test/*.ts",
    "tdd": "bun test --watch",
    "test": "npm run pre-test && bun test --timeout 300000",
    "stresstest": "seq 1 10 | xargs -I{} npm test",
    "prepublishOnly": "npm test",
    "pre-test": "npm run clean && npm run format-check && npm run typecheck && npm run build:server",
    "typecheck": "tsc -p tsconfig.test.json",
    "watch": "tsc -w"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bcherny/json-schema-to-typescript.git"
  },
  "keywords": [
    "json",
    "schema",
    "typescript",
    "compile",
    "transpile",
    "api",
    "interface",
    "typing",
    "share"
  ],
  "author": "Boris Cherny <boris@borischerny.com> (https://borischerny.com)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/bcherny/json-schema-to-typescript/issues"
  },
  "homepage": "https://github.com/bcherny/json-schema-to-typescript#readme",
  "dependencies": {
    "@apidevtools/json-schema-ref-parser": "^11.9.3",
    "@types/json-schema": "^7.0.15",
    "@types/lodash": "^4.17.25",
    "js-yaml": "^5.2.3",
    "lodash": "^4.18.1",
    "minimist": "^1.2.8",
    "prettier": "^3.9.6",
    "tinyglobby": "^0.2.17"
  },
  "devDependencies": {
    "@types/bun": "^1.4.0",
    "@types/cli-color": "^2.0.6",
    "@types/minimist": "^1.2.5",
    "@types/node": "^26.4.0",
    "@typescript-eslint/eslint-plugin": "^8.68.0",
    "@typescript-eslint/parser": "^8.68.0",
    "browserify": "^17.0.1",
    "browserify-shim": "^3.8.16",
    "cli-color": "^2.0.4",
    "eslint": "^10.9.1",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.6",
    "rimraf": "^6.1.3",
    "shx": "^0.4.0",
    "tsify": "^5.0.4",
    "typescript": "^6.0.3"
  },
  "browserify": {
    "transform": [
      "browserify-shim"
    ]
  },
  "browserify-shim": {
    "prettier": "global:prettier"
  }
}
