UNPKG

create-validator-ts

Version:

Create JSON Schema validator from TypeScript.

92 lines (91 loc) 2.15 kB
{ "name": "create-validator-ts", "version": "6.0.1", "description": "Create JSON Schema validator from TypeScript.", "keywords": [ "typescript", "json-schema", "validator", "runtime", "check" ], "homepage": "https://github.com/azu/create-validator-ts", "bugs": { "url": "https://github.com/azu/create-validator-ts/issues" }, "repository": { "type": "git", "url": "https://github.com/azu/create-validator-ts.git" }, "license": "MIT", "author": "azu", "sideEffects": false, "type": "module", "exports": { ".": { "import": { "types": "./module/index.d.ts", "default": "./module/index.js" }, "default": "./module/index.js" }, "./package.json": "./package.json" }, "main": "./module/index.js", "types": "./module/index.d.ts", "bin": { "create-validator-ts": "bin/cmd.js" }, "directories": { "lib": "lib", "test": "test" }, "files": [ "bin/", "lib/", "module/", "src/" ], "scripts": { "build": "tsc -p . ", "clean": "git clean -fx lib/ module/", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", "prepare": "git config --local core.hooksPath .githooks", "prepublishOnly": "npm run clean && npm run build", "test": "mocha", "updateSnapshots": "UPDATE_SNAPSHOT=true npm test", "watch": "tsc -p . --watch" }, "lint-staged": { "*.{js,jsx,ts,tsx,css}": [ "prettier --write" ] }, "prettier": { "printWidth": 120, "singleQuote": false, "tabWidth": 4, "trailingComma": "none" }, "dependencies": { "@file-cache/core": "^2.0.0", "@file-cache/npm": "^2.0.0", "glob-watcher": "^6.0.0", "globby": "^14.1.0", "meow": "^13.2.0", "ts-json-schema-generator": "^2.3.0" }, "devDependencies": { "@types/glob-watcher": "^5.0.5", "@types/mocha": "^10.0.10", "@types/node": "^20.19.1", "ajv": "^8.17.1", "lint-staged": "^15.5.2", "mocha": "^10.8.2", "prettier": "^3.2.5", "rimraf": "^5.0.10", "tsx": "^4.19.4", "typescript": "^5.4.5" }, "packageManager": "yarn@1.22.22" }