@pact-foundation/pact-cli
Version:
Broker CLI for @pact-foundation/pact
173 lines (172 loc) • 5.04 kB
JSON
{
"name": "@pact-foundation/pact-cli",
"version": "16.1.2",
"description": "Broker CLI for @pact-foundation/pact",
"main": "src/index.js",
"homepage": "https://github.com/pact-foundation/pact-js-cli#readme",
"types": "src/index.d.ts",
"bin": {
"pact": "bin/pact.js",
"pact-broker": "bin/pact-broker.js",
"pact-mock-service": "bin/pact-mock-service.js",
"pact-stub-service": "bin/pact-stub-service.js",
"pact-mock-server": "bin/pact-mock-server.js",
"pact-stub-server": "bin/pact-stub-server.js",
"pact-plugin": "bin/pact-plugin.js",
"pact-verifier": "bin/pact-verifier.js",
"pact-provider-verifier": "bin/pact-provider-verifier.js",
"pact-message": "bin/pact-message.js",
"pactflow": "bin/pactflow.js"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "git://github.com/pact-foundation/pact-js-cli.git"
},
"keywords": [
"pact",
"node",
"wrapper",
"mock",
"service",
"provider",
"verifier"
],
"author": "Timothy Jones <timothy.l.jones@gmail.com>",
"contributors": [
"Matt Fellows <m@onegeek.com.au> (http://www.onegeek.com.au)",
"Michel Boudreau <michelboudreau@gmail.com> (codinghitchhiker.com)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/pact-foundation/pact-cli/issues"
},
"publishConfig": {
"access": "public"
},
"optionalDependencies": {
"@pact-foundation/pact-cli-darwin-arm64": "16.1.2",
"@pact-foundation/pact-cli-darwin-x64": "16.1.2",
"@pact-foundation/pact-cli-linux-arm64": "16.1.2",
"@pact-foundation/pact-cli-linux-x64": "16.1.2",
"@pact-foundation/pact-cli-windows-x64": "16.1.2"
},
"dependencies": {
"chalk": "4.1.2",
"check-types": "11.2.3",
"cross-spawn": "7.0.6",
"mkdirp": "3.0.1",
"needle": "^3.3.1",
"pino": "^9.7.0",
"pino-pretty": "^13.0.0",
"promise-timeout": "1.3.0",
"rimraf": "4.4.1",
"underscore": "1.13.7"
},
"devDependencies": {
"@pact-foundation/pact-js-prettier-config": "^1.0.0",
"@tsconfig/node14": "^14.1.2",
"@types/basic-auth": "^1.1.8",
"@types/chai": "5.2.2",
"@types/chai-as-promised": "8.0.2",
"@types/check-types": "^11.2.2",
"@types/cors": "^2.8.17",
"@types/cross-spawn": "^6.0.6",
"@types/express": "4.17.23",
"@types/mkdirp": "^2.0.0",
"@types/mocha": "10.0.10",
"@types/needle": "3.3.0",
"@types/node": "^22.0.0",
"@types/promise-timeout": "^1.3.3",
"@types/underscore": "1.8.7",
"@types/url-join": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"basic-auth": "2.0.1",
"body-parser": "^2.0.0",
"chai": "5.2.1",
"chai-as-promised": "8.0.1",
"commit-and-tag-version": "^12.0.0",
"cors": "2.8.5",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-chai-friendly": "^1.0.1",
"eslint-plugin-mocha": "^10.5.0",
"express": "4.21.2",
"form-data": "^4.0.1",
"mocha": "^11.0.0",
"prettier": "^3.0.0",
"ts-node": "10.9.2",
"typescript": "4.9.5"
},
"overrides": {
"semver": "7.7.2"
},
"scripts": {
"clean": "rimraf --glob '{src,test,bin,standalone}/**/*.{js,map,d.ts}' 'package.zip' '.tmp' 'tmp'",
"lint": "eslint . --ext .ts --config .eslintrc",
"lint:fix": "npm run lint -- --fix",
"prebuild": "npm run clean",
"download-libs": "npm run clean && bash script/download-libs.sh",
"clean-libs": "rimraf --glob standalone/*.{js,map,d.ts} standalone/{windows**,linux**,darwin**} 'ffi'",
"build": "tsc --project tsconfig.build.json",
"release": "commit-and-tag-version",
"test": "cross-env LOG_LEVEL=debug PACT_DO_NOT_TRACK=true mocha \"{src,test,bin,standalone}/**/*.spec.ts\"",
"format:base": "prettier --parser typescript",
"format:check": "npm run format:base -- --list-different \"{src,standalone,bin,test}/**/*.{ts,tsx}\"",
"format:fix": "npm run format:base -- --write \"{src,standalone,bin,test}/**/*.{ts,tsx}\"",
"install": ""
},
"prettier": "@pact-foundation/pact-js-prettier-config",
"commit-and-tag-version": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Fixes and Improvements"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"section": "Fixes and Improvements"
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
]
}
}