{
  "name": "ama-backend",
  "version": "1.28.2",
  "description": "SMA backend",
  "main": "index.js",
  "scripts": {
    "prestart": "node engines && npm run build",
    "start": "node dist/server.js",
    "tslint": "tsc --noEmit",
    "build": "npm run generate-types && npm run build-ts && npm run lint",
    "pretty": "pretty-quick --staged",
    "watch-node": "npm run build; nodemon --inspect --exitcrash --watch dist dist/server.js",
    "prewatch": "node engines",
    "container": "command -v docker || command -v podman",
    "redis:stop": "$(npm run --silent container) stop rti-redis",
    "redis:rm": "npm run redis:stop; $(npm run --silent container) rm rti-redis",
    "redis": "npm run redis:rm; $(npm run --silent container) run --name rti-redis --publish 6379:6379 redis",
    "watch": "concurrently --kill-others --names 'TypeScript,Node,GraphQLCodegen,Cache' --prefix-colors 'cyan.bold,green.bold,yellow.bold,red.bold' 'npm:watch-ts' 'npm:watch-node' 'npm:watch-generate-types' 'npm:redis'",
    "build-ts": "tsc --project tsconfig.build.production.json",
    "watch-ts": "tsc --watch --project tsconfig.build.json",
    "lint": "prettier --check \"**/*.{json,md,ts,js}\" && tsc --noEmit && eslint \"**/*.{js,ts}\"",
    "format": "prettier --write \"**/*.{json,md,ts,js}\"",
    "pretest": "node engines",
    "test": "jest --forceExit --coverage --verbose --detectOpenHandles",
    "version": "echo $npm_package_version > VERSION && git add VERSION",
    "prepare": "test -d .git && git config core.hooksPath .githooks || echo '.git not found, or git config command failed, skipped prepare'",
    "postversion": "echo 'To push this tag, run `git push origin HEAD --follow-tags`'",
    "generate-types": "graphql-codegen",
    "watch-generate-types": "npm run generate-types -- --watch"
  },
  "engines": {
    "npm": "8",
    "node": "16"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/filtr/ama-backend.git"
  },
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/filtr/ama-backend/issues"
  },
  "homepage": "https://github.com/filtr/ama-backend#readme",
  "dependencies": {
    "@graphql-tools/schema": "^8.2.0",
    "@graphql-tools/utils": "^8.2.0",
    "@koa/cors": "^3.1.0",
    "@sentry/node": "6.17.7",
    "@types/koa__cors": "^3.1.1",
    "apollo-server": "^3.6.6",
    "apollo-server-core": "^3.6.6",
    "apollo-server-koa": "^3.6.6",
    "aws-sdk": "^2.1073.0",
    "dataloader": "^2.1.0",
    "date-fns": "^2.28.0",
    "dd-trace": "^2.2.0",
    "dotenv": "^16.0.0",
    "fp-ts": "^2.11.8",
    "graphql": "^16.3.0",
    "io-ts": "^2.2.16",
    "ioredis": "^5.0.5",
    "jsonwebtoken": "^8.5.1",
    "jwks-rsa": "^2.0.5",
    "jwt-decode": "^3.1.2",
    "koa": "^2.13.4",
    "koa-bodyparser": "^4.3.0",
    "koa-compose": "^4.1.0",
    "koa-json": "^2.0.2",
    "koa-jwt": "^4.0.3",
    "koa-router": "^10.1.1",
    "lodash": "^4.17.21",
    "msgpackr": "^1.5.7",
    "pino": "^6.13.4",
    "pino-pretty": "^7.5.1",
    "point-in-polygon": "^1.1.0",
    "superagent": "^7.1.1"
  },
  "devDependencies": {
    "@graphql-codegen/cli": "^2.2.0",
    "@graphql-codegen/schema-ast": "^2.2.0",
    "@graphql-codegen/typescript": "^2.2.0",
    "@graphql-codegen/typescript-graphql-files-modules": "^2.1.0",
    "@graphql-codegen/typescript-operations": "^2.1.4",
    "@graphql-codegen/typescript-resolvers": "^2.2.1",
    "@shopify/jest-koa-mocks": "^3.1.3",
    "@types/concurrently": "^7.0.0",
    "@types/date-fns": "^2.6.0",
    "@types/jest": "^27.4.0",
    "@types/jsonwebtoken": "^8.5.8",
    "@types/koa": "^2.13.4",
    "@types/koa-bodyparser": "^4.3.5",
    "@types/koa-json": "^2.0.20",
    "@types/koa-logger": "^3.1.2",
    "@types/koa-router": "^7.4.4",
    "@types/lodash": "^4.14.178",
    "@types/node": "^16.11.24",
    "@types/node-forge": "^0.10.10",
    "@types/pino": "^6.3.12",
    "@types/point-in-polygon": "^1.1.1",
    "@types/superagent": "^4.1.15",
    "@types/supertest": "^2.0.11",
    "@typescript-eslint/eslint-plugin": "^5.11.0",
    "@typescript-eslint/parser": "^5.11.0",
    "concurrently": "^7.0.0",
    "eslint": "^8.8.0",
    "jest": "^27.5.1",
    "jest-transform-graphql": "^2.1.0",
    "mock-jwks": "^1.0.3",
    "nock": "^13.2.4",
    "nodemon": "^2.0.15",
    "prettier": "^2.5.1",
    "pretty-quick": "^3.1.3",
    "semver": "^7.3.5",
    "supertest": "^6.2.2",
    "ts-graphql-plugin": "^2.1.8",
    "ts-jest": "^27.1.3",
    "typescript": "^4.5.5"
  },
  "prettier": {
    "trailingComma": "es5",
    "semi": false,
    "singleQuote": true
  },
  "jest": {
    "preset": "ts-jest",
    "testEnvironment": "node",
    "roots": [
      "src"
    ],
    "transform": {
      "^.+\\.(gql|graphql)$": "jest-transform-graphql"
    }
  }
}
