{
  "name": "gateway-social-auth",
  "version": "1.0.0",
  "private": true,
  "engines": {
    "node": ">=12.18.1"
  },
  "description": "Handling all operations pertaining to social platforms for The Orchard",
  "author": "The Orchard",
  "license": "MIT",
  "main": "dist/server.js",
  "scripts": {
    "build": " yarn run build:ts",
    "build:ts": "tsc",
    "debug": "yarn run build && yarn run watch:debug",
    "lint": "tsc --noEmit && eslint \"**/*.{js,ts}\"  --fix",
    "start": "node -r dotenv/config dist/server.js",
    "watch:start": "nodemon --inspect -r dotenv/config dist/server.js --trace-sync-io",
    "test": "env NODE_ENV=testing jest --coverage --verbose",
    "watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\"  \"yarn run watch:ts\" \"yarn run watch:node\"",
    "watch:debug": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"yarn run watch:ts\" \"yarn run start:debug\"",
    "watch:test": "yarn run test --watchAll",
    "watch:node": "nodemon -r dotenv/config dist/server.js",
    "watch:ts": "tsc -w",
    "prettier:write": "yarn prettier --write src",
    "clean": "rm -rf dist/ coverage/ node_modules/ yarn.lock"
  },
  "dependencies": {
    "@sentry/node": "^5.20.1",
    "ajv": "^6.12.6",
    "aws-sdk": "^2.761.0",
    "axios": "^0.19.2",
    "compression": "^1.7.4",
    "dd-trace": "^1.3.0",
    "dotenv": "^8.2.0",
    "express": "^4.17.1",
    "express-async-handler": "^1.1.4",
    "helmet": "^4.2.0",
    "lodash": "^4.17.20",
    "pino": "^6.7.0",
    "split2": "^3.2.2",
    "uuid": "^8.3.0"
  },
  "devDependencies": {
    "@orchard/eslint-config-frontend-ts": "^1.0.8",
    "@types/compression": "^1.7.0",
    "@types/express": "^4.17.7",
    "@types/lodash": "^4.14.158",
    "@types/node": "^14.0.27",
    "@types/pino": "^6.3.3",
    "@types/split2": "^2.1.6",
    "@types/supertest": "^2.0.10",
    "@types/uuid": "^8.0.1",
    "@typescript-eslint/eslint-plugin": "^3.7.0",
    "@typescript-eslint/eslint-plugin-tslint": "^4.6.1",
    "@typescript-eslint/parser": "^3.7.0",
    "aws-sdk-mock": "^5.1.0",
    "concurrently": "^5.2.0",
    "eslint": "^7.5.0",
    "eslint-plugin-tsdoc": "^0.2.6",
    "jest": "^26.1.0",
    "nodemon": "^2.0.4",
    "prettier": "2.0.5",
    "supertest": "^4.0.2",
    "ts-jest": "^26.1.3",
    "tslint": "^6.1.3",
    "typescript": "^3.9.7"
  },
  "eslintConfig": {
    "plugins": [
      "@typescript-eslint",
      "@typescript-eslint/tslint",
      "eslint-plugin-tsdoc"
    ],
    "extends": [
      "plugin:@typescript-eslint/recommended"
    ],
    "rules": {
      "tsdoc/syntax": "warn",
      "operator-linebreak": [
        "warn",
        "after"
      ],
      "indent": "off",
      "arrow-body-style": "off",
      "curly": "off",
      "@typescript-eslint/no-var-requires": "off"
    }
  },
  "jest": {
    "globals": {
      "ts-jest": {
        "tsconfig": "tsconfig.json"
      }
    },
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "roots": [
      "<rootDir>/src"
    ],
    "setupFiles": [
      "dotenv/config"
    ],
    "testEnvironment": "node",
    "testMatch": [
      "**/e2e/**/*.test.(ts|js)",
      "**/__tests__/**/*.+(ts|tsx|js)",
      "**/?(*.)+(spec|test).+(ts|tsx|js)"
    ],
    "transform": {
      "^.+\\.(ts|tsx)$": "ts-jest"
    }
  }
}
