UNPKG

2.19 kBJSONView Raw
1{
2 "name": "graphql-codegen-core",
3 "version": "0.8.11",
4 "description": "GraphQL types and code generator based on schema",
5 "main": "dist/index.js",
6 "scripts": {
7 "clean": "rimraf ./dist",
8 "lint": "tslint src/**/*.ts",
9 "prebuild": "npm run clean && npm run lint",
10 "build": "tsc",
11 "prestart": "npm run build",
12 "start": "cd dist && node gql-gen.js",
13 "debug": "cd dist && node --inspect --debug-brk gql-gen.js",
14 "test": "jest --no-cache --verbose --runInBand"
15 },
16 "repository": {
17 "type": "git",
18 "url": "git+https://github.com/dotansimha/graphql-codegen.git"
19 },
20 "keywords": [
21 "gql",
22 "generator",
23 "code",
24 "types",
25 "interfaces",
26 "graphql",
27 "codegen",
28 "apollo",
29 "node",
30 "typescript",
31 "ts",
32 "flow",
33 "types",
34 "d.ts",
35 "typings"
36 ],
37 "author": "Dotan Simha <dotansimha@gmail.com>",
38 "license": "MIT",
39 "bugs": {
40 "url": "https://github.com/dotansimha/graphql-codegen/issues"
41 },
42 "homepage": "https://github.com/dotansimha/graphql-codegen#readme",
43 "config": {
44 "commitizen": {
45 "path": "./node_modules/cz-conventional-changelog"
46 }
47 },
48 "jest": {
49 "verbose": true,
50 "collectCoverage": true,
51 "collectCoverageFrom": [
52 "src/**/*.ts"
53 ],
54 "coverageDirectory": "./tests/coverage",
55 "coveragePathIgnorePatterns": [
56 "/node_modules/",
57 ".*?handlebars-helpers.*?",
58 "src/index.ts",
59 "src/types.ts"
60 ],
61 "moduleFileExtensions": [
62 "ts",
63 "tsx",
64 "js"
65 ],
66 "transform": {
67 "^.+\\.(ts|tsx)$": "<rootDir>/tests/jest.typescript.js"
68 },
69 "testRegex": "tests/.*\\.ts$",
70 "testEnvironment": "node"
71 },
72 "dependencies": {
73 "graphql-tag": "^2.4.2",
74 "graphql-tools": "^1.0.0"
75 },
76 "peerDependencies": {
77 "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0"
78 },
79 "devDependencies": {
80 "@types/graphql": "^0.10.0",
81 "@types/jest": "^20.0.2",
82 "@types/node": "7",
83 "graphql": "^0.10.4",
84 "jest": "^20.0.4",
85 "rimraf": "^2.6.1",
86 "tslint": "^5.4.3",
87 "typescript": "^2.4.1"
88 },
89 "typings": "dist/index.d.ts",
90 "typescript": {
91 "definition": "dist/index.d.ts"
92 }
93}