{
  "name": "graphql-moneyhub",
  "version": "1.0.0",
  "repository": "git@github.com:theorchard/graphql-moneyhub.git",
  "private": true,
  "engines": {
    "node": ">=16.14.2"
  },
  "eslintConfig": {
    "extends": "@theorchard/ts"
  },
  "scripts": {
    "start": "dotenv -- yarn nodemon --exec ts-node --project ./tsconfig.json -r tsconfig-paths/register ./src/index.ts",
    "lint": "yarn lint:js && yarn lint:schema",
    "lint:js": "eslint src/ tests/",
    "lint:schema": "graphql-schema-linter src/schema/*.graphql",
    "test": "yarn test:unit && yarn test:integration",
    "test:unit": "dotenv -c test -- jest",
    "test:integration": "dotenv -c test -- jest --verbose",
    "generate:types": "yarn generate:schema && rm -rf tests/definitions/* && apollo client:codegen -c apollo.test.config.js --localSchemaFile schema.graphql --globalTypesFile=tests/definitions/globalTypes.ts --target typescript --outputFlat tests/definitions --no-addTypename",
    "clean": "rm -rf build && mkdir build",
    "build:server": "yarn tsc -p ./tsconfig.build.json && tscpaths -p ./tsconfig.build.json -s ./src -o ./build",
    "build:schema": "cp -R ./src/schema ./build",
    "build": "yarn clean && yarn build:server && yarn build:schema",
    "generate:schema": "yarn ts-node scripts/buildSchema.ts",
    "apollo:check": "./scripts/apollo.sh check",
    "apollo:push": "./scripts/apollo.sh push"
  },
  "dependencies": {
    "@elastic/elasticsearch": "^7.12.0",
    "@sentry/node": "^6.3.1",
    "@theorchard/graphql-server": "^1.5.0",
    "@theorchard/ows-utils": "^1.0.1",
    "apollo-datasource": "^0.8.0",
    "apollo-datasource-rest": "^0.12.0",
    "apollo-server-plugin-response-cache": "^0.7.0",
    "elastic-ts": "^0.6.0",
    "graphql": "^15.5.0",
    "graphql-tag": "^2.11.0",
    "lodash": "^4.17.21"
  },
  "devDependencies": {
    "@elastic/elasticsearch-mock": "^0.3.0",
    "@theorchard/eslint-config-ts": "^1.0.6",
    "@types/jest": "^26.0.22",
    "@types/lodash": "^4.14.168",
    "@types/node": "^14.14.41",
    "apollo": "^2.32.8",
    "dotenv-cli": "^4.0.0",
    "graphql-request": "^3.4.0",
    "graphql-schema-linter": "^2.0.1",
    "jest": "^26.6.3",
    "jest-file-snapshot": "^0.5.0",
    "jest-transform-graphql": "^2.1.0",
    "nodemon": "^2.0.7",
    "ts-jest": "26.5.5",
    "ts-node": "^9.1.1",
    "tsconfig-paths": "^3.9.0",
    "tscpaths": "^0.0.9",
    "typescript": "^4.1.5"
  }
}
