1 | {
|
2 | "name": "graphql-codegen-core",
|
3 | "version": "0.8.4",
|
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 | "@types/graphql": "^0.10.0",
|
74 | "graphql": "^0.10.4",
|
75 | "graphql-tag": "^2.4.2",
|
76 | "graphql-tools": "^1.0.0"
|
77 | },
|
78 | "devDependencies": {
|
79 | "@types/jest": "^20.0.2",
|
80 | "@types/node": "7",
|
81 | "jest": "^20.0.4",
|
82 | "rimraf": "^2.6.1",
|
83 | "tslint": "^5.4.3",
|
84 | "typescript": "^2.4.1"
|
85 | },
|
86 | "typings": "dist/index.d.ts",
|
87 | "typescript": {
|
88 | "definition": "dist/index.d.ts"
|
89 | }
|
90 | }
|