@newmo/graphql-fake-server
Version:
GraphQL fake server for testing
84 lines (83 loc) • 2.29 kB
JSON
{
"name": "@newmo/graphql-fake-server",
"version": "0.18.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.11.3",
"@graphql-tools/mock": "^9.0.15",
"@graphql-tools/schema": "^10.0.16",
"@hono/node-server": "^1.13.8",
"@newmo/graphql-fake-core": "0.18.0",
"cors": "^2.8.5",
"express": "^4.21.2",
"graphql-depth-limit": "^1.1.0",
"hono": "^4.7.0"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.0",
"@tsconfig/strictest": "^2.0.1",
"@types/cors": "^2.8.17",
"@types/eslint": "^9.6.1",
"@types/express": "^4.17.21",
"@types/node": "^22.13.1",
"graphql": "^16.10.0",
"typescript": "^5.7.3",
"vitest": "^3.0.5",
"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": "5a8c60195af68f05ffae6f51d6414caf8ada4d37"
}