{
  "name": "stubborn-ws",
  "version": "7.1.3",
  "description": "Web server to mock external HTTP APIs in tests",
  "homepage": "https://github.com/ybonnefond/stubborn#stubborn",
  "repository": {
    "type": "git",
    "url": "https://github.com/ybonnefond/stubborn.git"
  },
  "main": "dist/src/index.js",
  "types": "dist/src/index.d.ts",
  "files": [
    "dist//src/index.{d.ts,js}",
    "dist/src/**/*.{js,ts}",
    "dist/test/**/*.{js,ts}"
  ],
  "engines": {
    "node": ">=16"
  },
  "keywords": [
    "stubborn",
    "test",
    "test api",
    "testing",
    "testing web server",
    "nock",
    "dyson",
    "jest",
    "jasmine",
    "mocha"
  ],
  "scripts": {
    "build": "tsc",
    "prepublishOnly": "yarn build",
    "test": "jest",
    "test:watch": "yarn test --watch",
    "lint": "yarn lint:tslint && yarn lint:prettier",
    "lint:fix": "yarn lint:tslint:fix && yarn lint:prettier:fix",
    "lint:tslint": "tslint --project tsconfig.json -c tslint.json 'src/**/*.ts' 'test/**/*.ts' -t stylish",
    "lint:tslint:fix": "yarn lint:tslint --fix",
    "lint:prettier": "yarn prettier -l '{src,test}/**/*.{ts,js,md,json}'",
    "lint:prettier:fix": "yarn prettier --write '{src,test}/**/*.{ts,js,md,json}'",
    "test:ci": "mkdir -p coverage && yarn lint && yarn test --coverage --coverageReporters=lcov",
    "doc": "compodoc -p tsconfig.json -d docs --disableInternal --hideGenerator",
    "release": "yarn doc && yarn publish"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "@commitlint/cli": "^17.4.4",
    "@commitlint/config-conventional": "^17.4.4",
    "@compodoc/compodoc": "^1.1.9",
    "@octokit/rest": "^19.0.7",
    "@semantic-release/changelog": "^6.0.2",
    "@semantic-release/exec": "^6.0.3",
    "@semantic-release/git": "^10.0.1",
    "@types/body-parser": "^1.17.1",
    "@types/content-type": "^1.1.3",
    "@types/got": "^9.6.7",
    "@types/hapi__accept": "^5.0.0",
    "@types/jest": "^29.4.0",
    "@types/lodash": "^4.14.191",
    "@types/multiparty": "^0.0.33",
    "@types/node": "^18.14.6",
    "axios": "^1.3.4",
    "form-data": "^4.0.0",
    "husky": "^8.0.3",
    "jest": "^29.5.0",
    "jest-diff": "^29.5.0",
    "jsdoc-to-markdown": "^8.0.0",
    "lint-staged": "^13.1.2",
    "prettier": "^2.8.4",
    "semantic-release": "^20.1.1",
    "ts-jest": "^29.0.5",
    "tslint": "^6.0.0",
    "tslint-config-prettier": "^1.18.0",
    "typescript": "^4.9.5"
  },
  "dependencies": {
    "@hapi/accept": "^6.0.1",
    "body-parser": "^1.20.2",
    "chalk": "^4.1.0",
    "content-type": "^1.0.5",
    "lodash": "^4.17.15",
    "multiparty": "^4.2.3"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "scope-enum": [
        2,
        "always",
        [
          "deps",
          "deps-dev",
          "semantic-release-config"
        ]
      ]
    }
  },
  "lint-staged": {
    "*.{ts,js}": [
      "prettier --write",
      "git add ."
    ],
    "*.{json,md}": [
      "prettier --write",
      "git add ."
    ]
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
      "pre-commit": "lint-staged"
    }
  },
  "jest": {
    "testEnvironment": "node",
    "coverageDirectory": "coverage",
    "collectCoverage": false,
    "collectCoverageFrom": [
      "src/**/*.ts",
      "!src/**/*.d.ts",
      "!src/**/@types/**"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/test/setup.ts"
    ],
    "testMatch": [
      "<rootDir>/test/specs/*.spec.ts",
      "<rootDir>/src/**/*.test.ts"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/dist/"
    ],
    "transform": {
      "\\.ts$": "ts-jest"
    }
  }
}
