UNPKG

@pact-foundation/pact-node

Version:

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

180 lines (179 loc) 5.57 kB
{ "version": "10.18.0", "name": "@pact-foundation/pact-node", "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-node#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-provider-verifier": "bin/pact-provider-verifier.js", "pact-message": "bin/pact-message.js" }, "os": [ "darwin", "linux", "win32" ], "cpu": [ "x64", "ia32", "arm64" ], "engine": { "node": ">=6" }, "repository": { "type": "git", "url": "git://github.com/pact-foundation/pact-node.git" }, "keywords": [ "pact", "node", "wrapper", "mock", "service", "provider", "verifier" ], "author": "Michel Boudreau <michelboudreau@gmail.com> (codinghitchhiker.com)", "contributors": [ "Matt Fellows <m@onegeek.com.au> (http://www.onegeek.com.au)" ], "license": "MIT", "bugs": { "url": "https://github.com/pact-foundation/pact-node/issues" }, "publishConfig": { "access": "public" }, "dependencies": { "@types/needle": "^2.5.3", "@types/q": "1.5.5", "@types/request": "2.48.8", "chalk": "2.4.2", "check-types": "7.4.0", "cross-spawn": "^7.0.3", "libnpmconfig": "^1.2.1", "mkdirp": "1.0.4", "needle": "^2.9.1", "pino": "^8.11.0", "pino-pretty": "^9.4.0", "q": "1.5.1", "rimraf": "2.7.1", "sumchecker": "^2.0.2", "tar": "^6.1.13", "underscore": "1.13.6", "unixify": "1.0.0", "unzipper": "^0.10.11", "url-join": "^4.0.1" }, "devDependencies": { "@pact-foundation/pact-js-prettier-config": "^1.0.0", "@types/basic-auth": "^1.1.3", "@types/chai": "4.3.4", "@types/chai-as-promised": "7.1.5", "@types/check-types": "^7.3.4", "@types/cors": "^2.8.13", "@types/cross-spawn": "^6.0.2", "@types/decompress": "^4.2.4", "@types/express": "4.17.17", "@types/jest": "^27.5.2", "@types/mkdirp": "^0.5.2", "@types/mocha": "2.2.48", "@types/node": "9.6.61", "@types/rimraf": "^2.0.5", "@types/tar": "^4.0.5", "@types/underscore": "1.11.4", "@types/unzipper": "^0.10.5", "@types/url-join": "^4.0.1", "@typescript-eslint/eslint-plugin": "^5.58.0", "@typescript-eslint/parser": "^5.58.0", "basic-auth": "2.0.1", "body-parser": "1.20.2", "chai": "4.3.7", "chai-as-promised": "7.1.1", "cors": "2.8.5", "cross-env": "^5.2.1", "decamelize": "2.0.0", "eslint": "^8.38.0", "eslint-config-prettier": "^6.15.0", "eslint-plugin-prettier": "^3.4.1", "express": "4.18.2", "jest": "^27.5.1", "mocha": "^9.2.2", "nodemon": "^2.0.22", "prettier": "^1.19.1", "sinon": "9.2.4", "snyk": "^1.1142.0", "standard-version": "^9.5.0", "ts-jest": "^27.1.5", "ts-node": "10.9.1", "typescript": "4.9.5" }, "scripts": { "postinstall": "node postinstall.js", "install:all": "npm run install:osx:arm64 && npm run install:osx:x64 && npm run install:win && npm run install:linux:x64 && npm run install:linux:arm64 && npm run install:current", "install:current": "cross-env PACT_DO_NOT_TRACK=true node postinstall.js", "install:osx:arm64": "cross-env PACT_DO_NOT_TRACK=true node postinstall.js darwin arm64", "install:osx:x64": "cross-env PACT_DO_NOT_TRACK=true node postinstall.js darwin x64", "install:win": "cross-env PACT_DO_NOT_TRACK=true node postinstall.js win32", "install:linux:x64": "cross-env PACT_DO_NOT_TRACK=true node postinstall.js linux x64", "install:linux:arm64": "cross-env PACT_DO_NOT_TRACK=true node postinstall.js linux arm64", "clean": "rimraf '{src,test,bin,standalone}/**/*.{js,map,d.ts}' 'package.zip' '.tmp' 'tmp', 'standalone/{darwin,linux,win}*'", "lint": "eslint . --ext .ts --config .eslintrc", "pretest": "npm run prettier:check && npm run lint && npm run build && npm run download-checksums && npm run install:current", "test": "cross-env LOGLEVEL=debug PACT_DO_NOT_TRACK=true mocha \"{src,test,bin,standalone}/**/*.spec.ts\" && jest", "dev": "npm run lint --force && npm test && node .", "watch": "nodemon -e ts,json --ignore '**/*.d.ts' -x npm run dev", "build": "npm run clean && tsc", "start": "npm run watch", "download-checksums": "node download-checksums.js", "release": "standard-version", "snyk-protect": "snyk protect", "prettier:base": "prettier --parser typescript", "prettier:check": "npm run prettier:base -- --list-different \"{src,standalone,bin,test}/**/*.{ts,tsx}\"", "prettier:write": "npm run prettier:base -- --write \"{src,standalone,bin,test}/**/*.{ts,tsx}\"" }, "prettier": "@pact-foundation/pact-js-prettier-config", "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 } ] }, "snyk": true }