UNPKG

from-schema

Version:

Infer TypeScript types from JSON schemas

54 lines (53 loc) 1.25 kB
{ "name": "from-schema", "version": "0.1.54", "description": "Infer TypeScript types from JSON schemas", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", "scripts": { "build": "vite build", "test": "vitest run", "dev": "vite", "format": "prettier -w . && eslint --fix", "lint": "prettier -c . && eslint", "clean": "rm -rf dist build tmp node_modules .nx/cache", "build-anew": "bun run clean && bun i && bun run build" }, "repository": { "type": "git", "url": "git+https://github.com/airgap/from-schema.git" }, "keywords": [ "jsonschema", "tson", "typescript", "validator", "schema", "json" ], "author": "airgap", "license": "GPL-3.0", "bugs": { "url": "https://github.com/airgap/from-schema/issues" }, "homepage": "https://github.com/airgap/from-schema#readme", "devDependencies": { "@types/node": "^22.13.0", "@typescript-eslint/eslint-plugin": "5.62.0", "@typescript-eslint/parser": "5.62.0", "ajv": "^8.17.1", "eslint": "8.46.0", "eslint-config-prettier": "8.1.0", "from-schema": "^0.0.13", "prettier": "^4.0.0-alpha.10", "vite-plugin-dts": "^3.9.1", "vitest": "^3.1.3" }, "peerDependencies": { "typescript": "^5.4.2" }, "files": [ "dist" ] }