UNPKG

apiveritas

Version:

Lightweight CLI tool for consumer-driven API contract testing via JSON schema and payload comparisons.

65 lines (64 loc) 1.85 kB
{ "name": "apiveritas", "version": "1.5.0", "description": "Lightweight CLI tool for consumer-driven API contract testing via JSON schema and payload comparisons.", "main": "dist/index.js", "bin": { "apiveritas": "./dist/bin/cli.js" }, "type": "commonjs", "scripts": { "build": "tsc && npm run copy-templates && node scripts/add-shebang.js", "clean": "rimraf dist", "copy-templates": "ts-node scripts/copy-templates.ts", "start": "npm run build && node dist/bin/cli.js", "watch": "tsc --watch", "start:mock": "node dist/core/services/MockServer.js" }, "keywords": [ "api", "contract-testing", "json-schema", "cli", "consumer-driven", "testing", "rest-api", "mock-server", "typescript", "ci" ], "author": "Mario Galea <mario@example.com> (https://github.com/mariogalea)", "license": "MIT", "homepage": "https://github.com/mariogalea/qualitymatters-apiveritas#readme", "repository": { "type": "git", "url": "git+https://github.com/mariogalea/qualitymatters-apiveritas.git" }, "bugs": { "url": "https://github.com/mariogalea/qualitymatters-apiveritas/issues" }, "dependencies": { "ajv": "^8.17.1", "ajv-draft-04": "^1.0.0", "axios": "^1.9.0", "boxen": "^8.0.1", "build": "^0.1.4", "chalk": "4.0.0", "commander": "^14.0.0", "express": "^5.1.0", "express-basic-auth": "^1.2.1", "fs-extra": "^11.3.0", "generate-schema": "^2.6.0", "rimraf": "^6.0.1" }, "devDependencies": { "@types/axios": "^0.9.36", "@types/body-parser": "^1.19.5", "@types/express": "^5.0.2", "@types/fs-extra": "^11.0.4", "@types/node": "^22.15.19", "cpy-cli": "^5.0.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" } }