UNPKG

ajv-cli

Version:

Command line interface for Ajv JSON schema validator

88 lines (87 loc) 2.33 kB
{ "name": "ajv-cli", "version": "5.0.0", "description": "Command line interface for Ajv JSON schema validator", "scripts": { "build": "rimraf dist && tsc", "prepublish": "npm run build", "eslint": "eslint \"src/**/*.*s\" \"test/**/*.js\"", "prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"", "prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"", "test-spec": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha -r ts-node/register \"test/**/*.spec.{ts,js}\" -R spec", "test-cov": "nyc npm run test-spec", "test": "npm run build && npm run eslint && npm run test-cov" }, "nyc": { "exclude": [ "test", "node_modules" ], "reporter": [ "lcov", "text-summary" ], "cache": true }, "bin": { "ajv": "dist/index.js" }, "preferGlobal": true, "author": "Jesse Collis <jesse@jcmultimedia.com.au>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/ajv-validator/ajv-cli" }, "dependencies": { "ajv": "^8.0.0", "fast-json-patch": "^2.0.0", "glob": "^7.1.0", "js-yaml": "^3.14.0", "json-schema-migrate": "^2.0.0", "json5": "^2.1.3", "minimist": "^1.2.0" }, "devDependencies": { "@ajv-validator/config": "^0.3.0", "@types/glob": "^7.1.3", "@types/js-yaml": "^3.12.5", "@types/json5": "^2.2.0", "@types/minimist": "^1.2.1", "@types/mocha": "^8.0.4", "@types/node": "^14.14.10", "@typescript-eslint/eslint-plugin": "^4.9.0", "@typescript-eslint/parser": "^4.9.0", "ajv-keywords": "^5.0.0", "coveralls": "^3.0.0", "cross-env": "^7.0.3", "eslint": "^7.1.0", "eslint-config-prettier": "^6.15.0", "eslint-plugin-prettier": "^3.3.1", "husky": "^5.1.3", "lint-staged": "^10.5.2", "mocha": "^8.1.3", "nyc": "^15.0.1", "prettier": "^2.2.1", "rimraf": "^3.0.2", "ts-node": "^9.1.0", "typescript": "^4.1.2" }, "peerDependencies": { "ts-node": ">=9.0.0" }, "peerDependenciesMeta": { "ts-node": { "optional": true } }, "prettier": "@ajv-validator/config/prettierrc.json", "husky": { "hooks": { "pre-commit": "lint-staged && npm test" } }, "lint-staged": { "*.{json,yaml,js,ts}": "prettier --write" } }