{ "name": "apollo-server-monorepo", "private": true, "license": "MIT", "repository": "github:apollographql/apollo-server", "type": "module", "scripts": { "clean": "git clean -dfqX -- ./node_modules **/{dist,node_modules}/ **/tsconfig*tsbuildinfo", "precompile": "node scripts/precompile.mjs", "compile": "tsc --build tsconfig.build.json", "postcompile": "node scripts/postcompile.mjs", "watch": "tsc --build tsconfig.esm.json --watch", "pretest": "npm run compile", "test": "jest --verbose", "test:watch": "jest --verbose --watchAll", "test:smoke": "npm run test:smoke:prepare && npm run test:smoke:run", "test:smoke:prepare": "smoke-test/prepare.sh", "test:smoke:run": "smoke-test/smoke-test.sh", "test:ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit", "coverage": "npm test -- --coverage", "codegen": "graphql-codegen", "codegen-check": "(npm run codegen && npm run compile) || (echo 'Current schema types are incompatible with existing usage. Update generated types with `npm run codegen` and resolve any TypeScript errors.'; exit 1)", "lint": "eslint .", "prettier-check": "prettier -v && prettier --check .", "prettier-fix": "prettier -v && prettier --write .", "spell-check": "cspell lint '**' '.changeset/**' --no-progress || (echo 'Add any real words to cspell-dict.txt.'; exit 1)", "changeset-publish": "npm run compile && changeset publish", "changeset-check": "changeset status --verbose --since=origin/main", "changeset-version": "changeset version && npm i" }, "workspaces": [ "packages/*" ], "engines": { "node": ">=20", "npm": ">=8.19.2" }, "devDependencies": { "@apollo/client": "3.14.0", "@apollo/gateway": "2.11.2", "@apollo/subgraph": "2.11.2", "@apollo/utils.createhash": "3.0.1", "@changesets/changelog-github": "0.5.1", "@changesets/cli": "2.29.6", "@graphql-codegen/cli": "5.0.7", "@graphql-codegen/typescript-operations": "4.6.1", "@graphql-tools/mock": "9.0.25", "@graphql-tools/schema": "10.0.25", "@rollup/plugin-commonjs": "28.0.6", "@types/async-retry": "1.4.9", "@types/body-parser": "1.19.6", "@types/content-type": "1.1.9", "@types/cors": "2.8.19", "@types/express": "5.0.3", "@types/express-serve-static-core": "5.0.7", "@types/finalhandler": "1.2.4", "@types/lodash.sumby": "4.6.9", "@types/negotiator": "0.6.4", "@types/node": "20.19.11", "@types/superagent": "8.1.9", "@types/supertest": "6.0.3", "@types/whatwg-mimetype": "3.0.2", "awaiting": "3.0.0", "cors": "2.8.5", "cspell": "9.2.0", "eslint": "9.34.0", "eslint-plugin-import": "2.32.0", "graphql": "16.11.0", "graphql-subscriptions": "3.0.0", "graphql-tag": "2.12.6", "iconv-lite": "0.7.2", "jest": "30.0.5", "jest-config": "30.0.5", "jest-junit": "16.0.0", "jest-mock": "30.0.5", "jest-mock-random": "1.1.1", "jest-serializer-html": "7.1.0", "lodash.sumby": "4.6.0", "nock": "14.0.10", "prettier": "3.6.2", "requisition": "1.7.0", "rollup": "4.59.0", "supertest": "7.1.4", "ts-jest": "29.4.1", "typescript": "5.8.3", "typescript-eslint": "8.40.0" }, "jest": { "projects": [ "/packages/*/jest.config.js" ] } }