@newmo/graphql-fake-server
Version:
GraphQL fake server for testing
85 lines (84 loc) • 2.05 kB
JSON
{
"name": "@newmo/graphql-fake-server",
"version": "0.20.1",
"private": false,
"description": "GraphQL fake server for testing",
"keywords": [
"testing",
"mock",
"graphql",
"graphql-code-generator"
],
"repository": "https://github.com/newmo-oss/graphql-fake-server.git",
"license": "MIT",
"author": "newmo, Inc.",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"./cli": {
"import": {
"types": "./dist/esm/cli.d.ts",
"default": "./dist/esm/cli.js"
}
}
},
"bin": {
"@newmo/graphql-fake-server": "./dist/esm/bin.js"
},
"files": [
"src/",
"!src/test",
"!src/**/*.test.ts",
"!src/**/__snapshots__",
"dist/"
],
"scripts": {
"prepare": "npm run build",
"build": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.build.json",
"lint": "tsc --noEmit",
"test": "vitest run",
"updateSnapshot": "vitest run -u"
},
"dependencies": {
"@apollo/server": "^4.12.2",
"@as-integrations/express5": "^1.1.0",
"@graphql-tools/mock": "^9.0.23",
"@graphql-tools/schema": "^10.0.23",
"@hono/node-server": "^1.14.4",
"@newmo/graphql-fake-core": "0.20.0",
"cors": "^2.8.5",
"express": "^5.1.0",
"graphql-depth-limit": "^1.1.0",
"hono": "^4.8.0"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.0",
"@tsconfig/strictest": "^2.0.1",
"@types/cors": "^2.8.19",
"@types/eslint": "^9.6.1",
"@types/express": "^5.0.3",
"@types/node": "^24.0.3",
"graphql": "^16.11.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4",
"vitest-github-actions-reporter": "^0.11.1"
},
"peerDependencies": {
"graphql": "^16.8.1"
},
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"gitHead": "2d3f6cfa623a37a3eab6ce59ab8b873da9a5b2ee"
}