@pact-foundation/pact
Version:
Pact for all things Javascript
151 lines (150 loc) • 4.45 kB
JSON
{
"name": "@pact-foundation/pact",
"version": "17.0.1",
"description": "Pact for all things Javascript",
"main": "./src/index.js",
"types": "./src/index.d.ts",
"scripts": {
"compile": "rimraf dist && tsc",
"clean": "rimraf dist coverage .nyc_output logs pacts",
"predist": "npm run clean",
"dist": "tsc && copyfiles package.json ./dist",
"install-plugins": "node ./scripts/install-plugins.js",
"lint:biome": "biome lint",
"lint:tsc": "tsc --noEmit",
"lint": "npm run lint:biome && npm run lint:tsc",
"lint:fix:biome": "biome lint --write",
"lint:fix": "npm run lint:fix:biome",
"format": "biome format",
"format:fix": "biome format --write",
"check": "npm run format && npm run lint",
"check:fix": "npm run format:fix && npm run lint:fix",
"release": "commit-and-tag-version",
"pretest": "node ./scripts/install-plugins.js",
"test": "vitest run",
"test:regression": "npm --prefix regression run test",
"docker:alpine:build": "docker build --build-arg NODE_VERSION=${NODE_VERSION:-current} -f Dockerfile.alpine -t pact-js:alpine .",
"docker:debian:run": "docker run -e LOG_LEVEL=${LOG_LEVEL:-info} -e GIT_REF=${GIT_REF:-test} -e GITHUB_ACTIONS=${GITHUB_ACTIONS:-false} -e SKIP_EXAMPLES=${SKIP_EXAMPLES:-''} -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --rm pact-js:debian",
"docker:alpine:attach": "docker run -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --entrypoint /bin/bash --rm -it pact-js:alpine",
"docker:debian:attach": "docker run -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN -w /home -v $(pwd):/home --entrypoint /bin/bash --rm -it pact-js:debian"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pact-foundation/pact-js.git"
},
"engines": {
"node": ">=22"
},
"keywords": [
"pact",
"pact-js",
"javascript",
"contract testing",
"testing",
"consumer driven testing"
],
"author": "Matt Fellows <m@onegeek.com.au> (http://twitter.com/matthewfellows)",
"contributors": [
{
"name": "Tarcio Saraiva",
"email": "tarcio@gmail.com",
"url": "http://twitter.com/tarciosaraiva"
},
{
"name": "Michel Boudreau",
"email": "michelboudreau@gmail.com",
"url": "http://codinghitchhiker.com"
},
{
"name": "Beth Skurrie",
"email": "beth@bethesque.com",
"url": "https://github.com/bethesque"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/pact-foundation/pact-js/issues"
},
"homepage": "https://docs.pact.io/implementation_guides/javascript/",
"standard-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",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
]
},
"dependencies": {
"@pact-foundation/pact-core": "^19.2.0",
"@scarf/scarf": "^1.4.0",
"axios": "^1.12.2",
"body-parser": "^2.2.0",
"chalk": "4.1.2",
"express": "^5.1.0",
"graphql": "^16.11.0",
"graphql-tag": "^2.12.6",
"http-proxy": "^1.18.1",
"https-proxy-agent": "^7.0.6",
"js-base64": "^3.7.8",
"lodash": "^4.17.21",
"ramda": "^0.32.0",
"randexp": "^0.5.3",
"router": "^2.2.0",
"stack-utils": "^2.0.6"
},
"devDependencies": {
"@babel/cli": "8.0.1",
"@babel/core": "8.0.1",
"@babel/preset-env": "8.0.2",
"@biomejs/biome": "2.4.16",
"@tsconfig/node22": "22.0.5",
"@types/express": "4.17.25",
"@types/http-proxy": "1.17.17",
"@types/lodash": "4.17.24",
"@types/nock": "11.1.0",
"@types/node": "24.13.2",
"@types/ramda": "0.32.0",
"@types/stack-utils": "2.0.3",
"@vitest/coverage-v8": "3.2.4",
"commit-and-tag-version": "12.7.3",
"copyfiles": "2.4.1",
"nock": "14.0.15",
"rimraf": "6.1.3",
"typedoc": "0.28.19",
"typescript": "6.0.3",
"vitest": "3.2.4"
},
"pnpm": {
"onlyBuiltDependencies": [
"@pact-foundation/pact-core"
]
}
}