YOU54F/jest-pact

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "jest-pact",
  "version": "0.11.0",
  "description": "a pact adaptor for jest",
  "main": "dist/index.js",
  "scripts": {
    "lint": "eslint ./src --ext .ts --config .eslintrc",
    "lint:fix": "npm run lint -- --fix",
    "build": "rimraf dist && tsc --project tsconfig.dist.json",
    "test": "jest --coverage --runInBand --verbose --coverageReporters=lcov",
    "dist": "npm run lint && npm run test && npm run build",
    "deploy:prepare": "./scripts/create_npmrc_file.sh",
    "format:base": "prettier \"src/**/*.{ts,js}\"",
    "format:fix": "npm run format:base -- --write",
    "format:check": "npm run format:base -- --check",
    "release": "standard-version",
    "release:dryrun": "npm run test && npm publish --dry-run",
    "release:trigger": "./scripts/trigger-release.sh"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pact-foundation/jest-pact.git"
  },
  "engines": {
    "node": ">=16"
  },
  "author": "YOU54F",
  "contributors": [
    {
      "name": "Yousaf Nabi",
      "url": "https://github.com/YOU54F"
    },
    {
      "name": "Timothy Jones",
      "url": "https://github.com/TimothyJones"
    }
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/pact-foundation/jest-pact/issues"
  },
  "homepage": "https://github.com/pact-foundation/jest-pact/#readme",
  "devDependencies": {
    "@commitlint/cli": "^17.6.7",
    "@commitlint/config-conventional": "^10.0.0",
    "@pact-foundation/pact": "^12.5.0",
    "@pact-foundation/pact-js-prettier-config": "^1.0.0",
    "@tsconfig/node14": "^1.0.3",
    "@types/jest": "^29.2.3",
    "@types/supertest": "2.0.8",
    "@typescript-eslint/eslint-plugin": "^5.47.0",
    "@typescript-eslint/parser": "^5.47.0",
    "coveralls": "3.1.1",
    "cross-env": "7.0.3",
    "eslint": "^8.30.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-airbnb-typescript": "^17.0.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-import-resolver-typescript": "^3.5.2",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jest": "^27.1.7",
    "husky": "^4.3.8",
    "jest": "^29.3.1",
    "jest-junit": "14.0.1",
    "lint-staged": "13.2.3",
    "prettier": "3.1.1",
    "rimraf": "5.0.5",
    "standard-version": "^9.0.0",
    "supertest": "6.2.3",
    "ts-jest": "^29.0.3",
    "ts-node": "10.9.1",
    "typescript": "4.6.4"
  },
  "peerDependencies": {
    "@pact-foundation/pact": "^v10.0.0-beta.61 || ^10.0.2 || ^11.0.2 || ^12.0.0",
    "jest": "^24.0.0 || ^25.0.0 || ^26.0.0 || ^27.0.0 || ^28.0.0 || ^29.0.0"
  },
  "lint-staged": {
    "src/**/*.ts": [
      "npm run format:fix",
      "npm run lint:fix"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged",
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "commitlint": {
    "rules": {
      "header-max-length": [
        0,
        "always",
        72
      ],
      "subject-case": [
        2,
        "always",
        "sentence-case"
      ]
    }
  }
}