{
    "name": "graphql-neighbouring-rights",
    "version": "1.0.0",
    "repository": "git@github.com:theorchard/graphql-neighbouring-rights.git",
    "private": true,
    "engines": {
        "node": ">=24"
    },
    "eslintConfig": {
        "extends": [
            "@theorchard/ts-prettier"
        ],
        "overrides": [
            {
                "files": "*.spec.ts",
                "rules": {
                    "@typescript-eslint/no-floating-promises": "off",
                    "jest/no-disabled-tests": "off"
                }
            }
        ]
    },
    "prettier": "@theorchard/prettier-config",
    "scripts": {
        "dev:docker:test:unit": "docker compose up --build lint-and-test",
        "dev:docker:test:integration": "docker compose -f docker-compose.yaml -f docker-compose-dev.yaml up --build --remove-orphans local-ownership-rds local-performance-rds local-neo4j service-integration integration-tests",
        "dev:docker:localdbs": "docker compose -f docker-compose.yaml -f docker-compose-dev.yaml up --build --remove-orphans local-ownership-rds local-performance-rds local-neo4j service-integration",
        "apollo:rover:check": "yarn apollo-rover check",
        "apollo:rover:publish": "yarn apollo-rover publish",
        "build:cypher": "cp -R ./src/cypher ./build",
        "build:sql": "cp -R ./src/sql ./build",
        "build:copy_schema": "cp -R ./src/schema ./build",
        "build:server": "yarn tsc -p ./tsconfig.build.json && tscpaths -p ./tsconfig.build.json -s ./src -o ./build",
        "build": "yarn clean && yarn generate:types && yarn build:server && yarn build:copy_schema && yarn build:cypher && yarn build:sql",
        "clean": "rm -rf build && mkdir build",
        "generate:types": "yarn graphql-codegen",
        "generate:types:integration": "yarn graphql-codegen -c codegen.test.yml",
        "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",
        "lint": "yarn lint:js && yarn lint:schema",
        "start": "dotenv -- yarn nodemon -e js,json,ts,graphql --exec ts-node --project ./tsconfig.json -r tsconfig-paths/register ./src/index.ts",
        "test:integration": "yarn generate:types:integration && NODE_ENV=test dotenv -c test -- jest --verbose --config=jest.config.json --testPathIgnorePatterns src/**/* --runInBand --globalSetup=./tests/global/setup.ts",
        "test:unit": "jest src/",
        "test": "yarn test:unit && yarn dev:docker:test:integration",
        "check:lint:unit": "yarn format:check && yarn lint && yarn test:unit",
        "format": "prettier --write .",
        "format:check": "prettier --check .",
        "prepare": "husky install",
        "run:trigger-versioning": "yarn ts-node scripts/trigger-versioning/trigger-versioning-script.ts"
    },
    "dependencies": {
        "@apollo/datasource-rest": "^6.4.1",
        "@apollo/utils.keyvaluecache": "^4.0.0",
        "@aws-lambda-powertools/logger": "^2.24.1",
        "@aws-sdk/client-s3": "^3.873.0",
        "@aws-sdk/client-sfn": "^3.873.0",
        "@aws-sdk/s3-request-presigner": "^3.873.0",
        "@sentry/node": "^9.43.0",
        "@theorchard/apollo-rover": "^1.0.2",
        "@theorchard/backend-ts-pdp-sdk": "^2.0.0",
        "@theorchard/connector-neo4j": "^2.2.0",
        "@theorchard/connector-s3-upload-token": "^2.0.1",
        "@theorchard/connector-splitio": "^4.2.0",
        "@theorchard/countries": "^2.1.0",
        "@theorchard/dataloader-cypher": "^2.2.0",
        "@theorchard/dataloader-zod": "^1.1.0",
        "@theorchard/datasource-kafka": "^4.0.0",
        "@theorchard/datasource-ksql": "^3.0.9",
        "@theorchard/datasource-neo4j": "4",
        "@theorchard/graphql-constants": "^1.0.0",
        "@theorchard/graphql-integration": "^1.1.0",
        "@theorchard/graphql-server": "^4.3.0",
        "@theorchard/neighbouring-rights-common": "^8.3.0",
        "@theorchard/neighbouring-rights-ownership-delivery-common": "^19.0.0",
        "@theorchard/ows-logger": "^2.1.0",
        "csv-parser": "^3.2.0",
        "dataloader": "^2.2.3",
        "graphql-scalars": "^1.24.2",
        "kafkajs": "^2.2.3",
        "lodash": "^4.17.21",
        "mysql2": "^3.14.3",
        "neo4j-driver": "^5.28.1",
        "uuid": "^11.1.0",
        "zod": "^4.1.3"
    },
    "devDependencies": {
        "@aws-sdk/types": "^3.873.0",
        "@graphql-codegen/add": "^5.0.3",
        "@graphql-codegen/cli": "^5.0.7",
        "@graphql-codegen/near-operation-file-preset": "^3.1.0",
        "@graphql-codegen/typescript": "^4.1.6",
        "@graphql-codegen/typescript-operations": "^4.6.1",
        "@graphql-codegen/typescript-resolvers": "^4.5.1",
        "@graphql-tools/jest-transform": "^2.0.1",
        "@theorchard/eslint-config-ts-prettier": "^2.2.3",
        "@theorchard/prettier-config": "^1.0.0",
        "@theorchard/s3-utils": "^1.1.1",
        "@types/aws-lambda": "^8.10.155",
        "@types/jest": "^30.0.0",
        "@types/lodash": "^4.17.20",
        "@types/mysql": "^2.15.27",
        "@types/node": "^22.13.14",
        "@types/uuid": "^10.0.0",
        "@typescript-eslint/typescript-estree": "^8.41.0",
        "dotenv-cli": "^10.0.0",
        "graphql": "^16.6.0",
        "graphql-request": "^7.2.0",
        "graphql-schema-linter": "^3.0.1",
        "husky": "^9.1.7",
        "jest": "^30.0.5",
        "lint-staged": ">=16.1.5",
        "nodemon": "^3.1.10",
        "prettier": "^3.6.2",
        "ts-jest": "^29.4.1",
        "ts-node": "^10.9.1",
        "tsconfig-paths": "^4.2.0",
        "tscpaths": "^0.0.9",
        "typescript": "5.9.2"
    },
    "resolutions": {
        "cross-spawn": "^7.0.6",
        "axios": "^1.11.0",
        "@types/minimatch": "5.1.2"
    },
    "lint-staged": {
        "*.{js,jsx,ts,tsx,scss,css,json,md,yaml}": [
            "prettier --write"
        ]
    }
}
