{
  "name": "ms-choices",
  "version": "3.3.0",
  "description": "Microservice that choose the right campaign for a given ad request",
  "license": "MIT",
  "scripts": {
    "build": "tsc",
    "build:proto": "./scripts/proto_to_ts.sh",
    "format": "prettier --write \"src/**/*.ts\"",
    "start": "node ./dist/index.js",
    "start-local:int": "OGURY_ENV=local INVENTORY=internal ts-node ./src/index.ts",
    "start-local:ext": "OGURY_ENV=local INVENTORY=external ts-node ./src/index.ts",
    "test": "yarn test:unit && yarn test:integration",
    "test:unit": "NODE_ENV=test OGURY_ENV=test mocha --timeout 200000 --exit test/unit",
    "test:integration": "yarn test:integration:int && yarn test:integration:ext",
    "test:integration:int": "NODE_ENV=test OGURY_ENV=integration_test mocha --timeout 200000 --exit test/integration/internal",
    "test:integration:ext": "NODE_ENV=test OGURY_ENV=integration_test INVENTORY=external mocha --timeout 200000 --exit test/integration/external",
    "test:cov": "nyc yarn test:unit --forbid-only && nyc --no-clean yarn test:integration:int --forbid-only && nyc --no-clean yarn test:integration:ext --forbid-only",
    "test:report": "nyc --reporter lcov --reporter text --report-dir .nyc_output report",
    "test-install": "NODE_ENV=test scripts/beeswax_test_install.sh",
    "lint": "eslint --ext .js,.ts ./src ./test",
    "lint:fix": "eslint --ext .js,.ts --fix ./src ./test",
    "lint:ci": "eslint --ext .js,.ts ./src ./test --max-warnings 0",
    "prepare": "husky install",
    "ms-auction-proxy": "npx ts-node ./scripts/ms-auction-proxy",
    "sonar": "SONAR_BINARY_CACHE=./.sonar/cache sonar-scanner",
    "sonar:pr": "SONAR_BINARY_CACHE=./.sonar/cache sonar-scanner -Dsonar.pullrequest.key=$CHANGE_ID -Dsonar.pullrequest.branch=$BRANCH_NAME"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:Ogury/ms-choices.git"
  },
  "dependencies": {
    "@ogury/dax-client-az-aware": "^1.3.3",
    "@ogury/feature-config-sdk": "^1.8.3",
    "@ogury/ogury-kafka-connector": "2.4.5",
    "@ogury/ogy-cache": "^0.2.1",
    "@types/amazon-dax-client": "^1.2.3",
    "@types/body-parser": "^1.19.2",
    "@types/cors": "^2.8.12",
    "@types/express": "4.17.13",
    "@types/ioredis": "^4.28.8",
    "@types/lodash": "^4.14.178",
    "@types/node": "^17.0.16",
    "@types/opossum": "^6.2.0",
    "@types/redlock": "^4.0.2",
    "amazon-dax-client": "^1.2.7",
    "aws-sdk": "2.1117.0",
    "axios": "^0.22.0",
    "body-parser": "1.19.0",
    "cors": "^2.8.5",
    "csv-parser": "3.0.0",
    "express": "4.17.1",
    "express-prom-bundle": "^6.4.1",
    "grpc": "^1.24.4",
    "heapdump": "^0.3.15",
    "inspector-api": "1.4.3",
    "ioredis": "^4.17.3",
    "joi": "^17.5.0",
    "jstat": "^1.9.5",
    "lodash": "^4.17.21",
    "memory-cache": "0.2.0",
    "moment": "2.29.1",
    "node-cache": "^5.1.2",
    "node-yaml-config": "0.0.6",
    "opossum": "^6.3.0",
    "prom-client": "^14.0.0",
    "protobufjs": "^6.11.2",
    "psl": "^1.8.0",
    "redlock": "4.2.0",
    "reflect-metadata": "^0.1.13",
    "request": "2.88.2",
    "rfdc": "^1.1.4",
    "sonarqube-scanner": "^2.8.1",
    "typed-rest-client": "^1.8.9",
    "typescript": "^4.5.5",
    "uuid": "^8.3.2",
    "winston": "3.3.3"
  },
  "devDependencies": {
    "@istanbuljs/nyc-config-typescript": "^1.0.1",
    "@types/chai": "^4.2.22",
    "@types/joi": "^17.2.3",
    "@types/mocha": "^9.0.0",
    "@types/sinon": "^10.0.4",
    "@types/supertest": "^2.0.11",
    "@typescript-eslint/eslint-plugin": "^5.33.0",
    "@typescript-eslint/parser": "^5.33.0",
    "aws-sdk-mock": "5.4.0",
    "chai": "4.3.4",
    "eslint": "^8.21.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-prettier": "^4.2.1",
    "husky": "^7.0.2",
    "mocha": "9.2.2",
    "mockdate": "^3.0.5",
    "nock": "^13.1.3",
    "nyc": "^15.1.0",
    "prettier": "^2.4.1",
    "recursive-readdir": "^2.2.2",
    "sinon": "13.0.1",
    "supertest": "^6.1.6",
    "ts-mockito": "2.6.1",
    "ts-node": "^10.2.1"
  }
}
