UNPKG

@pact-foundation/pact-core

Version:

Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.

175 lines (174 loc) 4.84 kB
{ "name": "@pact-foundation/pact-core", "version": "18.0.0", "description": "Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.", "main": "src/index.js", "homepage": "https://github.com/pact-foundation/pact-js-core#readme", "types": "src/index.d.ts", "os": [ "darwin", "linux", "win32" ], "cpu": [ "x64", "ia32", "arm64" ], "engines": { "node": ">=20" }, "repository": { "type": "git", "url": "git://github.com/pact-foundation/pact-js-core.git" }, "keywords": [ "pact", "node", "wrapper", "mock", "service", "provider", "verifier" ], "author": "Matt Fellows <m@onegeek.com.au> (http://www.onegeek.com.au)", "contributors": [ "Michel Boudreau <michelboudreau@gmail.com> (codinghitchhiker.com)" ], "license": "MIT", "bugs": { "url": "https://github.com/pact-foundation/pact-js-core/issues" }, "publishConfig": { "access": "public" }, "dependencies": { "check-types": "11.2.3", "detect-libc": "^2.0.3", "node-gyp-build": "^4.6.0", "pino": "^10.0.0", "pino-pretty": "^13.1.1", "underscore": "1.13.7" }, "devDependencies": { "@eslint/compat": "2.0.0", "@eslint/eslintrc": "3.3.3", "@eslint/js": "9.39.1", "@grpc/grpc-js": "1.14.3", "@grpc/proto-loader": "0.8.0", "@pact-foundation/pact-js-prettier-config": "1.0.0", "@snyk/protect": "1.1301.0", "@tsconfig/node14": "14.1.8", "@types/basic-auth": "1.1.8", "@types/chai": "5.2.3", "@types/chai-as-promised": "8.0.2", "@types/check-types": "11.2.2", "@types/cors": "2.8.19", "@types/decompress": "4.2.7", "@types/express": "5.0.6", "@types/mocha": "10.0.10", "@types/needle": "3.3.0", "@types/node": "24.10.1", "@types/rimraf": "3.0.2", "@types/sinon": "21.0.0", "@types/tar": "6.1.13", "@types/underscore": "1.13.0", "@types/unixify": "1.0.2", "@types/url-join": "5.0.0", "@typescript-eslint/eslint-plugin": "8.49.0", "@typescript-eslint/parser": "8.49.0", "axios": "1.13.2", "basic-auth": "2.0.1", "body-parser": "2.2.1", "chai": "6.2.1", "chai-as-promised": "8.0.2", "commit-and-tag-version": "12.6.1", "cors": "2.8.5", "cross-env": "10.1.0", "decamelize": "6.0.1", "eslint": "9.39.1", "eslint-config-prettier": "10.1.8", "eslint-import-resolver-typescript": "4.4.4", "eslint-plugin-chai-friendly": "1.1.0", "eslint-plugin-import": "2.32.0", "eslint-plugin-mocha": "11.2.0", "express": "5.2.1", "form-data": "4.0.5", "globals": "16.5.0", "grpc-promise": "1.4.0", "mocha": "11.7.5", "node-addon-api": "8.5.0", "nodemon": "3.1.11", "prettier": "3.7.4", "protobufjs": "7.5.4", "rimraf": "6.1.2", "sinon": "21.0.0", "ts-node": "10.9.2", "typescript": "5.9.3", "typescript-eslint": "8.49.0" }, "overrides": { "semver": "7.7.3" }, "scripts": { "clean": "rimraf -g '{src,test}/**/*.{js,map,d.ts}' 'package.zip' '.tmp' 'tmp'", "lint": "eslint .", "lint:fix": "npm run lint -- --fix", "prebuild": "npm run clean", "download-libs": "npm run clean && bash script/download-libs.sh", "clean-libs": "rimraf 'ffi'", "build": "tsc --project tsconfig.build.json", "release": "commit-and-tag-version", "test": "cross-env PACT_DO_NOT_TRACK=true mocha \"{src,test}/**/*.spec.ts\"", "format:base": "prettier --parser typescript", "format:check": "npm run format:base -- --list-different \"{src,test}/**/*.{ts,tsx}\"", "format:fix": "npm run format:base -- --write \"{src,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 } ] }, "optionalDependencies": { "@pact-foundation/pact-core-darwin-arm64": "18.0.0", "@pact-foundation/pact-core-darwin-x64": "18.0.0", "@pact-foundation/pact-core-linux-arm64-glibc": "18.0.0", "@pact-foundation/pact-core-linux-arm64-musl": "18.0.0", "@pact-foundation/pact-core-linux-x64-glibc": "18.0.0", "@pact-foundation/pact-core-linux-x64-musl": "18.0.0", "@pact-foundation/pact-core-windows-x64": "18.0.0" } }