UNPKG

graphql-codegen-core

Version:

GraphQL types and code generator based on schema

80 lines (79 loc) 1.86 kB
{ "name": "graphql-codegen-core", "version": "0.18.2", "description": "GraphQL types and code generator based on schema", "main": "dist/index.js", "scripts": { "clean": "rimraf ./dist", "lint": "tslint src/**/*.ts", "prebuild": "yarn clean && yarn lint", "build": "tsc", "prestart": "yarn build", "start": "cd dist && node gql-gen.js", "debug": "cd dist && node --inspect --debug-brk gql-gen.js", "test": "jest --no-cache --verbose --runInBand" }, "repository": { "type": "git", "url": "git+https://github.com/dotansimha/graphql-codegen.git" }, "keywords": [ "gql", "generator", "code", "types", "interfaces", "graphql", "codegen", "apollo", "node", "typescript", "ts", "flow", "types", "d.ts", "typings" ], "author": "Dotan Simha <dotansimha@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/dotansimha/graphql-codegen/issues" }, "homepage": "https://github.com/dotansimha/graphql-codegen#readme", "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] }, "dependencies": { "chalk": "2.4.2", "change-case": "3.1.0", "common-tags": "1.8.0", "graphql-tag": "2.10.1", "graphql-toolkit": "0.2.0", "graphql-tools": "4.0.4", "ts-log": "2.1.4", "winston": "3.2.1" }, "peerDependencies": { "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" }, "typings": "dist/index.d.ts", "typescript": { "definition": "dist/index.d.ts" } }