package.json
{
"name": "@pact-foundation/pact",
"version": "13.1.4",
"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",
"coverage": "nyc report --reporter=lcov",
"dist": "tsc && copyfiles package.json ./dist",
"lint": "eslint --config .eslintrc.json \"{src,test}/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"format:base": "prettier \"{src,test,examples}/**/*.{ts,js}\"",
"format:fix": "npm run format:base -- --write",
"format:check": "npm run format:base -- --check",
"postdist": "npm test",
"predist": "npm run clean && npm run format:check && npm run lint",
"release": "commit-and-tag-version",
"test": "nyc --check-coverage --reporter=html --reporter=text-summary mocha -t 120000",
"pretest": "bash scripts/install-plugins.sh",
"docker:alpine:build": "docker build --build-arg NODE_VERSION=${NODE_VERSION:-current} -f Dockerfile.alpine -t pact-js:alpine .",
"docker:debian:build": "docker build --build-arg NODE_VERSION=${NODE_VERSION:-current} -f Dockerfile.debian -t pact-js:debian .",
"docker:alpine: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:-''} -w /home -v $(pwd):/home --rm 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:-''} -w /home -v $(pwd):/home --rm pact-js:debian",
"docker:alpine:attach": "docker run -w /home -v $(pwd):/home --entrypoint /bin/bash --rm -it pact-js:alpine",
"docker:debian:attach": "docker run -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": ">=16"
},
"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": "^15.1.0",
"@types/express": "^4.17.11",
"axios": "^1.7.4",
"body-parser": "^1.20.3",
"cli-color": "^2.0.1",
"express": "^4.21.0",
"graphql": "^14.0.0",
"graphql-tag": "^2.9.1",
"http-proxy": "^1.18.1",
"https-proxy-agent": "^7.0.4",
"js-base64": "^3.6.1",
"lodash": "^4.17.21",
"lodash.isfunction": "3.0.8",
"lodash.isnil": "4.0.0",
"lodash.isundefined": "3.0.1",
"lodash.omit": "^4.5.0",
"pkginfo": "^0.4.1",
"ramda": "^0.30.0",
"randexp": "^0.5.3"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@pact-foundation/pact-js-prettier-config": "^1.0.0",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.1",
"@types/cli-color": "^0.3.29",
"@types/http-proxy": "^1.17.9",
"@types/lodash": "^4.14.182",
"@types/lodash.isnil": "^4.0.7",
"@types/mocha": "^8.0.4",
"@types/nock": "^9.1.2",
"@types/node": "^18.11.9",
"@types/ramda": "^0.26.43",
"@types/sinon": "^7.0.6",
"@types/sinon-chai": "^2.7.29",
"@types/tough-cookie": "^2.3.2",
"@typescript-eslint/eslint-plugin": "^5.30.4",
"@typescript-eslint/parser": "^5.30.4",
"chai": "~4.1.2",
"chai-as-promised": "^7.1.1",
"commit-and-tag-version": "^10.1.0",
"copyfiles": "^2.4.1",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.2.1",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.0.5",
"lodash.clone": "^4.5.0",
"mocha": "^9.1.1",
"mocha-lcov-reporter": "^1.3.0",
"neon-cli": "^0.9.1",
"nock": "^9.1.6",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"proxyquire": "^2.0.1",
"rimraf": "^2.7.1",
"sinon": "^7.2.4",
"sinon-chai": "^3.3.0",
"source-map-support": "^0.4.18",
"ts-mock-imports": "^1.2.6",
"ts-node": "^3.3.0",
"typescript": "^4.7.4"
}
}