UNPKG

@simulacrum/github-api-simulator

Version:

Provides common functionality to frontend app and plugins.

83 lines (82 loc) 2.14 kB
{ "name": "@simulacrum/github-api-simulator", "version": "0.5.7", "description": "Provides common functionality to frontend app and plugins.", "license": "Apache-2.0", "bugs": { "url": "https://github.com/thefrontside/simulacrum/issues" }, "repository": { "type": "git", "url": "git+https://github.com/thefrontside/simulacrum.git", "directory": "packages/github-api" }, "keywords": [ "github-api", "simulation", "emulation", "mock", "mocking", "integration testing" ], "files": [ "README.md", "dist", "src", "schema", "repository-mock-data" ], "bin": "bin/start.js", "scripts": { "start": "node --import=tsx ./example/start.ts", "start:bin": "node ./bin/start.js", "test": "vitest run", "test:watch": "vitest watch", "bench": "vitest bench", "lint": "echo noop", "prepack": "npm run build", "build": "npm run generate && npm run build:cjs && npm run build:esm && copyfiles -f src/schema/* dist/schema", "generate": "graphql-codegen", "build:cjs": "tsc -build tsconfig.dist.json", "build:esm": "tsc --build tsconfig.esm.json", "clean": "npm run build:cjs -- --clean && npm run build:esm -- --clean" }, "dependencies": { "@faker-js/faker": "^9.3.0", "@simulacrum/foundation-simulator": "0.4.1", "assert-ts": "^0.3.4", "graphql": "^16.9.0", "graphql-yoga": "^5.10.4", "zod": "^3.24.1" }, "devDependencies": { "@graphql-codegen/cli": "^5.0.2", "@graphql-codegen/typescript": "^4.0.9", "@graphql-codegen/typescript-resolvers": "^4.2.1", "@types/express": "^4.17.21", "copyfiles": "^2.4.1", "tsx": "^4.19.4", "typescript": "^5.8.3" }, "exports": { "development": "./src/index.ts", "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" } }, "typesVersions": { "*": { "*": [ "dist/esm/index.d.ts" ] } }, "volta": { "extends": "../../package.json" } }