UNPKG

@pact-foundation/pact-core

Version:

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

156 lines (155 loc) 3.97 kB
{ "name": "@pact-foundation/pact-core", "version": "20.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": ">=22" }, "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.8" }, "devDependencies": { "@biomejs/biome": "2.4.15", "@grpc/grpc-js": "1.14.4", "@grpc/proto-loader": "0.8.1", "@snyk/protect": "1.1305.0", "@tsconfig/node22": "22.0.5", "@types/basic-auth": "1.1.8", "@types/check-types": "11.2.2", "@types/cors": "2.8.19", "@types/decompress": "4.2.7", "@types/express": "5.0.6", "@types/needle": "3.3.0", "@types/node": "24.12.4", "@types/rimraf": "3.0.2", "@types/sinon": "21.0.1", "@types/tar": "7.0.87", "@types/underscore": "1.13.0", "@types/unixify": "1.0.2", "@types/url-join": "5.0.0", "@vitest/coverage-v8": "4.1.7", "axios": "1.16.1", "basic-auth": "2.0.1", "body-parser": "2.2.2", "commit-and-tag-version": "12.7.3", "cors": "2.8.6", "decamelize": "6.0.1", "express": "5.2.1", "form-data": "4.0.5", "grpc-promise": "1.4.0", "node-addon-api": "8.8.0", "nodemon": "3.1.14", "protobufjs": "8.4.2", "rimraf": "6.1.3", "sinon": "22.0.0", "typescript": "5.9.3", "vitest": "4.1.7" }, "overrides": { "semver": "7.8.1" }, "scripts": { "clean": "rimraf -g '{src,test}/**/*.{js,map,d.ts}' 'package.zip' '.tmp' 'tmp'", "lint": "biome lint", "lint:fix": "biome lint --write", "format": "biome format", "format:fix": "biome format --write", "check": "biome check", "check:fix": "biome check --write", "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": "vitest run", "test:watch": "vitest", "install": "" }, "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": "20.0.0", "@pact-foundation/pact-core-darwin-x64": "20.0.0", "@pact-foundation/pact-core-linux-arm64-glibc": "20.0.0", "@pact-foundation/pact-core-linux-arm64-musl": "20.0.0", "@pact-foundation/pact-core-linux-x64-glibc": "20.0.0", "@pact-foundation/pact-core-linux-x64-musl": "20.0.0", "@pact-foundation/pact-core-windows-x64": "20.0.0" } }