UNPKG

type-compiler

Version:

A TypeScript compiler plugin for enhanced runtime type checking and analysis with Zod validation

76 lines (75 loc) 1.92 kB
{ "name": "type-compiler", "version": "1.0.1", "description": "A TypeScript compiler plugin for enhanced runtime type checking and analysis with Zod validation", "main": "dist/index.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/hkd987/type-compiler" }, "homepage": "https://github.com/hkd987/type-compiler#readme", "bugs": { "url": "https://github.com/hkd987/type-compiler/issues" }, "scripts": { "build": "tsc -p tsconfig.plugin.json && echo 'Built modular version!'", "bootstrap": "node bootstrap.js", "postinstall": "ts-patch install", "test": "jest", "lint": "eslint src --ext .ts", "clean": "rimraf dist", "prepare": "npm run clean && npm run bootstrap", "prepublishOnly": "npm test && npm run lint", "version": "git add -A", "postversion": "git push && git push --tags" }, "keywords": [ "typescript", "compiler", "type-checking", "ast", "typescript-plugin", "tsc-plugin", "zod", "runtime-validation", "custom-error-messages", "contextual-validators", "language-service", "ide-integration" ], "author": "Lundin Matthews", "license": "MIT", "peerDependencies": { "typescript": ">=4.0.0", "zod": "^3.0.0" }, "devDependencies": { "@types/jest": "^29.5.12", "@types/node": "^20.11.24", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "eslint": "^8.57.0", "jest": "^29.7.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.2", "ts-patch": "^3.3.0", "typescript": "^5.3.3", "zod": "^3.22.4" }, "typescriptPlugin": { "transform": "dist/index.js", "languageService": "dist/language-service.js" }, "files": [ "dist", "docs", "examples", "README.md", "LICENSE", "CHANGELOG.md" ], "engines": { "node": ">=14.0.0" } }