UNPKG

@miragejs/graphql

Version:

A library for handling GraphQL requests with Mirage JS

84 lines (83 loc) 2.32 kB
{ "name": "@miragejs/graphql", "version": "0.2.0-beta.5", "description": "A library for handling GraphQL requests with Mirage JS", "main": "./dist/mirage-graphql.cjs", "type": "module", "module": "./dist/mirage-graphql.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "import": "./dist/mirage-graphql.js", "require": "./dist/mirage-graphql.cjs", "types": "./dist/types/index.d.ts" }, "./types/*": "./dist/types/*" }, "keywords": [ "mirage", "graphql", "fake", "mock", "server", "testing", "pretender", "prototype" ], "repository": { "type": "git", "url": "git+https://github.com/miragejs/graphql.git" }, "license": "MIT", "author": "Rocky Neurock <jneurock+npm@gmail.com>", "bugs": { "url": "https://github.com/miragejs/graphql/issues" }, "scripts": { "build": "vite build", "lint": "eslint .", "prepublishOnly": "vite build", "prettier:check": "prettier --list-different '**/*.ts'", "prettier:update": "prettier --write .", "test:generate-gql-types": "graphql-codegen-esm", "test:integration": "vitest --config vitest-integration.config.ts --run --coverage", "test:unit": "vitest --config vitest-unit.config.ts --run", "ts:check": "tsc --skipLibCheck" }, "dependencies": { "graphql": "^16.8.1", "miragejs": "^0.1.0" }, "devDependencies": { "@babel/traverse": "^7.23.2", "@graphql-codegen/cli": "^5.0.0", "@graphql-codegen/client-preset": "^4.1.0", "@rollup/plugin-graphql": "^2.0.3", "@typescript-eslint/eslint-plugin": "^5.59.5", "@typescript-eslint/parser": "^5.59.5", "@vitest/browser": "^1.1.3", "@vitest/coverage-istanbul": "^1.2.0", "@vitest/utils": "^1.1.3", "del-cli": "^5.0.0", "eslint": "^8.54.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "get-func-name": "^2.0.1", "graphql-request": "^6.0.0", "prettier": "^2.0.2", "semver": "^7.5.4", "typescript": "^5.3.0", "vite": "^4.5.1", "vite-plugin-dts": "^3.7.2", "vitest": "^1.1.3", "webdriverio": "^8.27.2" }, "resolutions": { "@babel/traverse": "^7.23.2", "get-func-name": "^2.0.1", "semver": "^7.5.4" }, "engines": { "node": ">= 18.*" } }