{
    "name": "graphql-publishing",
    "version": "1.0.0",
    "main": "src/server.js",
    "license": "MIT",
    "engines": {
        "node": ">=24.0.0"
    },
    "scripts": {
        "start": "dotenv -- yarn nodemon --exec ts-node --project ./tsconfig.json -r tsconfig-paths/register ./src/index.ts",
        "lint": "yarn format:check && yarn lint:js && yarn lint:schema",
        "lint:js": "yarn eslint --ignore-pattern 'src/generated/index.ts' --ignore-pattern '*.graphql' --ignore-pattern '*.sql' --ignore-pattern '*.gql' --ignore-pattern '*.cypher' --ext '*.js,*.jsx,*.ts,*.tsx' 'src/**' 'tests/**'",
        "lint:schema": "graphql-schema-linter src/schema/*.graphql",
        "format": "prettier --write .",
        "format:check": "prettier --check .",
        "test": "yarn test:unit && yarn test:integration",
        "test:unit": "dotenv -c test -- jest --passWithNoTests --testPathIgnorePatterns tests/**/*",
        "test:integration": "dotenv -c test -- yarn ts-node scripts/run-test.ts --local",
        "docker:build": "docker compose -f docker-compose.yaml -f docker-compose-pipeline.yaml -f docker-compose-local.yaml up --build service",
        "docker:build:detach": "docker compose -f docker-compose.yaml -f docker-compose-pipeline.yaml -f docker-compose-local.yaml up -d --build service",
        "docker:down": "docker compose -f docker-compose.yaml -f docker-compose-pipeline.yaml -f docker-compose-local.yaml down",
        "docker:test:integration": "yarn ts-node scripts/run-test.ts",
        "generate:types": "yarn graphql-codegen",
        "generate:types:integration": "yarn graphql-codegen -c codegen.test.yml",
        "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:cypher": "cp -R ./src/cypher ./build",
        "build:sql": "cp -R ./src/sql ./build",
        "build": "yarn clean && yarn build:server && yarn build:schema && yarn build:cypher && yarn build:sql",
        "check:lint:unit": "yarn lint && yarn test:unit",
        "run:delivery-updater": "yarn ts-node scripts/delivery-updater/delivery-updater.ts",
        "run:csv-ingest": "yarn ts-node scripts/ingestion-client/ingestion-client.ts",
        "prepare": "husky install",
        "scan:vulnerabilities": "scripts/scan-vulnerabilities.sh"
    },
    "dependencies": {
        "@apollo/datasource-rest": "^6.2.2",
        "@apollo/utils.keyvaluecache": "3.1.0",
        "@aws-sdk/client-s3": "^3.1030.0",
        "@aws-sdk/client-sfn": "^3.1030.0",
        "@aws-sdk/client-sts": "^3.1030.0",
        "@aws-sdk/s3-request-presigner": "^3.1030.0",
        "@babel/core": "^7.26.10",
        "@sentry/node": "^10.36.0",
        "@theorchard/connector-neo4j": "2.0.4",
        "@theorchard/connector-splitio": "^4.0.0",
        "@theorchard/dataloader-cypher": "2.2.0",
        "@theorchard/dataloader-zod": "^1.0.0",
        "@theorchard/datasource-kafka": "3.0.0",
        "@theorchard/datasource-neo4j": "3.1.0",
        "@theorchard/graphql-constants": "^1.0.0",
        "@theorchard/graphql-server": "^5.0.4",
        "@theorchard/jwt-service-handler": "^4.6.7",
        "@theorchard/publishing-compositions-common": "^2.21.0",
        "crypto": "^1.0.1",
        "dataloader": "^2.2.2",
        "decimal.js": "^10.2.1",
        "graphql": "^16.12.0",
        "graphql-scalars": "^1.22.2",
        "kafkajs": "^2.2.4",
        "lodash": "^4.18.1",
        "mysql2": "^3.11.0",
        "neo4j-driver": "^5.18.0",
        "simple-update-notifier": "^2.0.0",
        "tsc": "^2.0.4",
        "uuid": "^10.0.0",
        "ws": "^8.17.1",
        "zod": "^3.22.4"
    },
    "devDependencies": {
        "@graphql-codegen/add": "^5.0.3",
        "@graphql-codegen/cli": "^6.3.0",
        "@graphql-codegen/near-operation-file-preset": "^3.0.0",
        "@graphql-codegen/typescript": "^4.1.6",
        "@graphql-codegen/typescript-operations": "^4.6.0",
        "@graphql-codegen/typescript-resolvers": "^4.5.0",
        "@graphql-tools/jest-transform": "^2.0.0",
        "@theorchard/eslint-config-ts-prettier": "^2.3.0",
        "@theorchard/prettier-config": "^1.0.0",
        "@types/graphql-iso-date": "^3.4.0",
        "@types/jest": "^29.5.1",
        "@types/lodash": "^4.14.168",
        "@types/memoizee": "^0.4.5",
        "@types/node": "^22.4.1",
        "@types/snowflake-sdk": "^1.6.7",
        "@types/uuid": "^10.0.0",
        "@typescript-eslint/eslint-plugin": "^8.53.1",
        "@typescript-eslint/parser": "^8.53.1",
        "csv-parse": "^5.5.6",
        "dd-trace": "^5.80.0",
        "dotenv-cli": "^7.4.4",
        "eslint-plugin-jest": "^29.12.1",
        "eslint-plugin-n": "^17.23.2",
        "graphql-request": "^6.1.0",
        "graphql-schema-linter": "^3.0.1",
        "graphql-tag": "^2.12.6",
        "husky": ">=6",
        "jest": "^29.5.0",
        "jest-junit": "^16.0.0",
        "jest-simple-dot-reporter": "^1.0.5",
        "jest-transform-graphql": "^2.1.0",
        "nodemon": "^3.1.14",
        "papaparse": "^5.4.1",
        "sinon": "^21.0.0",
        "ts-jest": "^29.1.0",
        "ts-node": "^10.9.1",
        "tsconfig-paths": "^4.2.0",
        "tscpaths": "^0.0.9",
        "typescript": "^5.5.2"
    },
    "prettier": "@theorchard/prettier-config",
    "lint-staged": {
        "*.{js,jsx,ts,tsx,scss,css,json,md,yaml}": [
            "prettier --write"
        ]
    },
    "resolutions": {
        "@theorchard/connector-neo4j": "2.0.4",
        "@kafkajs/confluent-schema-registry": "4.0.8",
        "strip-ansi": "6.0.1",
        "string-width": "4.2.2",
        "wrap-ansi": "7.0.0",
        "form-data": "4.0.4",
        "brace-expansion": "2.0.3",
        "sha.js": "2.4.12 ",
        "graphql": "16.12.0",
        "fast-xml-parser": "4.5.5",
        "immutable": "3.8.3",
        "minimatch": "10.2.3",
        "lodash": "4.18.1"
    }
}
