{
  "name": "danger",
  "version": "13.0.7",
  "description": "Unit tests for Team Culture",
  "main": "distribution/danger.js",
  "typings": "distribution/danger.d.ts",
  "bin": {
    "danger": "distribution/commands/danger.js",
    "danger-ci": "distribution/commands/danger-ci.js",
    "danger-init": "distribution/commands/danger-init.js",
    "danger-js": "distribution/commands/danger.js",
    "danger-local": "distribution/commands/danger-local.js",
    "danger-pr": "distribution/commands/danger-pr.js",
    "danger-process": "distribution/commands/danger-process.js",
    "danger-reset-status": "distribution/commands/danger-reset-status.js",
    "danger-runner": "distribution/commands/danger-runner.js"
  },
  "jest": {
    "preset": "ts-jest",
    "testResultsProcessor": "jest-json-reporter",
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/distribution/",
      "/types/"
    ],
    "watchPathIgnorePatterns": [
      "<rootDir>/test-results.json"
    ],
    "cacheDirectory": ".jest/cache"
  },
  "lint-staged": {
    "*.@(json|md)": [
      "yarn prettier --write"
    ],
    "*.@(ts|tsx)": [
      "yarn lint:fix",
      "yarn prettier --write"
    ]
  },
  "pkg": {
    "scripts": "distribution/**/*.js"
  },
  "prettier": {
    "printWidth": 120,
    "semi": false,
    "singleQuote": false,
    "trailingComma": "es5",
    "bracketSpacing": true,
    "proseWrap": "always"
  },
  "scripts": {
    "release": "release-it",
    "test": "jest",
    "test:fixtures": "node ./scripts/run-fixtures.js",
    "test:update-fixtures": "yarn test:fixtures --update",
    "test:watch": "jest --watch",
    "type-check": "tsc --noEmit",
    "lint": "eslint \"source/*.ts\" \"source/**/*.ts\"",
    "lint:fix": "yarn --silent lint --fix",
    "prepublishOnly": "yarn build && yarn jest && yarn declarations && yarn build:flow-types && yarn build:pretty-types",
    "build": "shx rm -rf ./distribution && tsc -p tsconfig.production.json && yarn madge ./distribution --circular --exclude debug.js",
    "build:fast": "tsc -p tsconfig.production.json",
    "build:flow-types": "cp source/danger.d.ts source/_danger.d.ts && sed -ie 's/api: GitHub/api: any/g' source/_danger.d.ts && npx flowgen@1.3.0 source/_danger.d.ts -o distribution/danger.js.flow && node scripts/update_flow_types.js",
    "build:schemas": "typescript-json-schema tsconfig.json DangerJSON > source/danger-incoming-process-schema.json; typescript-json-schema tsconfig.json DangerResults > source/danger-outgoing-process-schema.json; yarn prettier --write source/danger-outgoing-process-schema.json source/danger-incoming-process-schema.json",
    "build:pretty-types": "yarn prettier --write distribution/danger.d.ts; yarn prettier --parser flow distribution/danger.js.flow --write",
    "build:watch": "tsc -w",
    "link": "yarn run build && chmod +x distribution/commands/danger.js && yarn link",
    "package": "yarn run pkg . --output brew-distribution/danger; zip -j brew-distribution/danger-macos.zip brew-distribution/danger; shasum -a 256 brew-distribution/danger-macos.zip",
    "package:x64": "yarn run pkg . --output brew-distribution/danger-x64 --targets node18-macos-x64; zip -j brew-distribution/danger-macos-x64.zip brew-distribution/danger-x64; shasum -a 256 brew-distribution/danger-macos-x64.zip",
    "package:arm64": "yarn run pkg . --output brew-distribution/danger-arm64 --targets node18-macos-arm64; zip -j brew-distribution/danger-macos-arm64.zip brew-distribution/danger-arm64; shasum -a 256 brew-distribution/danger-macos-arm64.zip",
    "declarations": "ts-node ./scripts/create-danger-dts.ts",
    "docs:cp_defs": "mkdir docs/docs_generate; cp source/danger.d.ts docs/docs_generate; cp node_modules/@octokit/rest/index.d.ts docs/docs_generate/github.d.ts",
    "docs": "yarn run docs:cp_defs; yarn typedoc --ignoreCompilerErrors --mode modules --json docs/js_ref_dsl_docs.json --includeDeclarations source",
    "dts-lint": "yarn run declarations && yarn dtslint types",
    "danger:prepush": "yarn build:fast && yarn test:fixtures && node distribution/commands/danger.js local --base main --dangerfile dangerfile.lite.ts"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/danger/danger-js.git"
  },
  "packageManager": "yarn@1.22.22",
  "keywords": [
    "danger",
    "ci"
  ],
  "author": "Orta Therox",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/danger/danger-js/issues"
  },
  "homepage": "https://github.com/danger/danger-js#readme",
  "engines": {
    "node": ">=18"
  },
  "devDependencies": {
    "@babel/cli": "7.16.7",
    "@babel/core": "7.16.7",
    "@babel/plugin-transform-flow-strip-types": "7.16.7",
    "@babel/plugin-transform-typescript": "7.16.7",
    "@babel/preset-env": "7.16.7",
    "@babel/traverse": "7.16.7",
    "@types/async-retry": "^1.4.1",
    "@types/debug": "0.0.30",
    "@types/ini": "^4.1.1",
    "@types/jest": "^28.0.0",
    "@types/json5": "^2.2.0",
    "@types/jsonpointer": "^4.0.0",
    "@types/jsonwebtoken": "^9.0.0",
    "@types/lodash.includes": "^4.3.4",
    "@types/lodash.mapvalues": "^4.6.6",
    "@types/lodash.memoize": "^4.1.3",
    "@types/micromatch": "^3.1.0",
    "@types/node": "18.19.18",
    "@types/node-fetch": "^2.5.12",
    "@types/parse-github-url": "^1.0.3",
    "@types/prettier": "^1.16.1",
    "@types/readline-sync": "^1.4.3",
    "@types/voca": "^1.4.0",
    "@typescript-eslint/eslint-plugin": "^5.10.1",
    "@typescript-eslint/parser": "^5.10.1",
    "danger-plugin-jest": "^1.0.1",
    "danger-plugin-yarn": "^1.3.1",
    "date-fns": "^1.29.0",
    "eslint": "^8.8.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-jest": "^26.0.0",
    "eslint-plugin-jsdoc": "^48.1.0",
    "flow-bin": "^0.77.0",
    "husky": "^1.0.1",
    "jest": "^28.0.0",
    "jest-json-reporter": "^1.2.2",
    "lint-staged": "^12.3.7",
    "madge": "^6.0.1",
    "nock": "^13.2.0",
    "pkg": "^5.8.1",
    "prettier": "^2.5.1",
    "release-it": "^18.1.2",
    "shx": "^0.3.4",
    "ts-jest": "^28.0.0",
    "ts-node": "^10.9.2",
    "typedoc": "0.9.0",
    "typescript": "^4.9.5",
    "typescript-json-schema": "^0.53.0"
  },
  "dependencies": {
    "@gitbeaker/rest": "^38.0.0",
    "@octokit/rest": "^20.1.2",
    "async-retry": "1.2.3",
    "chalk": "^4.1.2",
    "commander": "^2.18.0",
    "core-js": "^3.8.2",
    "debug": "^4.1.1",
    "fast-json-patch": "^3.0.0-1",
    "http-proxy-agent": "^7.0.2",
    "https-proxy-agent": "^7.0.2",
    "hyperlinker": "^1.0.0",
    "ini": "^5.0.0",
    "json5": "^2.2.3",
    "jsonpointer": "^5.0.0",
    "jsonwebtoken": "^9.0.0",
    "lodash.includes": "^4.3.0",
    "lodash.isobject": "^3.0.2",
    "lodash.mapvalues": "^4.6.0",
    "lodash.memoize": "^4.1.2",
    "memfs-or-file-map-to-github-branch": "^1.3.0",
    "micromatch": "^4.0.4",
    "node-cleanup": "^2.1.2",
    "node-fetch": "^2.6.7",
    "override-require": "^1.1.1",
    "parse-diff": "^0.7.0",
    "parse-github-url": "^1.0.2",
    "parse-link-header": "^2.0.0",
    "pinpoint": "^1.1.0",
    "prettyjson": "^1.2.1",
    "readline-sync": "^1.4.9",
    "regenerator-runtime": "^0.13.9",
    "require-from-string": "^2.0.2",
    "supports-hyperlinks": "^4.3.0"
  },
  "resolutions": {
    "before-after-hook": "2.2.0",
    "@octokit/rest": "^20.1.2"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged",
      "pre-push": "yarn build && yarn danger:prepush"
    }
  }
}
