UNPKG

@jirutka/ajv-cli

Version:

CLI for Ajv JSON Schema Validator with human-friendly error messages

93 lines (92 loc) 2.61 kB
{ "name": "@jirutka/ajv-cli", "version": "6.0.0", "description": "CLI for Ajv JSON Schema Validator with human-friendly error messages", "author": { "name": "Jakub Jirutka", "email": "jakub@jirutka.cz" }, "license": "MIT", "homepage": "https://github.com/jirutka/ajv-cli", "repository": { "type": "git", "url": "https://github.com/jirutka/ajv-cli.git" }, "keywords": [ "ajv", "cli", "json-schema-validator", "json-schema", "validator", "yaml-schema" ], "type": "module", "bin": { "ajv": "lib/main.js" }, "files": [ "lib" ], "scripts": { "build": "rm -rf lib && tsc", "bundle": "rollup -c", "format": "prettier --write \"./**/*.{js,json,ts,yaml}\"", "lint": "eslint \"src/**/*.ts\" \"test/**/*.[jt]s\"", "prepublishOnly": "npm run build && npm run readme", "readme": "asciidoctor -b docbook -a npm-readme -o - README.adoc | pandoc -f docbook -t gfm --shift-heading-level-by 1 --wrap preserve -o README.md", "stylecheck": "prettier --check \"./**/*.{js,json,ts,yaml}\"", "test-cov": "c8 npm run test-only", "test-only": "TS_NODE_PROJECT=test/tsconfig.json mocha", "test": "npm run build && npm run test-cov", "typecheck": "tsc --noEmit" }, "dependencies": { "@humanwhocodes/momoa": "^3.0.2", "@json-schema-tools/traverse": "^1.10.4", "ajv": "^8.13.0", "chalk": "^5.3.0", "damerau-levenshtein": "^1.0.8", "fast-json-patch": "^3.1.0", "picomatch": "^4.0.2", "type-flag": "^3.0.0", "yaml": "^2.4.5" }, "devDependencies": { "@rollup/plugin-commonjs": "^26.0.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", "@rollup/wasm-node": "^4.17.2", "@types/damerau-levenshtein": "^1.0.2", "@types/json-schema": "^7.0.15", "@types/json5": "^2.2.0", "@types/mocha": "^10.0.0", "@types/node": "^20.14.0", "@types/picomatch": "^3.0.0", "@typescript-eslint/eslint-plugin": "^8.24.0", "@typescript-eslint/parser": "^8.24.0", "ajv-keywords": "^5.0.0", "c8": "^10.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^10.0.0", "mocha": "^11.1.0", "prettier": "^3.3.0", "rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-license": "^3.4.0", "ts-node": "^10.9.0", "tslib": "^2.6.3", "typescript": "^5.4.5", "utility-types": "^3.11.0" }, "nyc": { "exclude": [ "test", "node_modules" ], "reporter": [ "lcov", "text-summary" ], "cache": true } }