1 | {
|
2 | "name": "graphql-code-generator",
|
3 | "version": "0.1.1",
|
4 | "description": "GraphQL types and code generator based on schema",
|
5 | "main": "dist/index.js",
|
6 | "scripts": {
|
7 | "build-tests": "tsc -p tsconfig.test.json",
|
8 | "watch": "tsc --watch",
|
9 | "clean": "rimraf ./dist",
|
10 | "lint": "tslint src/**/*.ts",
|
11 | "prebuild": "npm run clean && npm run lint",
|
12 | "build": "tsc",
|
13 | "prestart": "npm run build",
|
14 | "start": "cd dist && node index.js",
|
15 | "debug": "cd dist && node --inspect --debug-brk index.js",
|
16 | "create-git-tag": "",
|
17 | "dev": "cd dist && nodemon --ext ts,js,d.ts,template,graphql,json,handlebars index.js --dev --url http://localhost:3010/graphql --template flow --out ../dev-test/githunt/typings.d.ts",
|
18 | "prepublish": "npm run build && npm run test",
|
19 | "test": "jest"
|
20 | },
|
21 | "repository": {
|
22 | "type": "git",
|
23 | "url": "git+https://github.com/dotansimha/graphql-codegen.git"
|
24 | },
|
25 | "bin": {
|
26 | "gql-gen": "dist/index.js"
|
27 | },
|
28 | "keywords": [
|
29 | "gql",
|
30 | "generator",
|
31 | "code",
|
32 | "types",
|
33 | "interfaces",
|
34 | "graphql",
|
35 | "codegen",
|
36 | "apollo",
|
37 | "node",
|
38 | "typescript",
|
39 | "ts",
|
40 | "flow",
|
41 | "types",
|
42 | "d.ts",
|
43 | "typings"
|
44 | ],
|
45 | "author": "Dotan Simha <dotansimha@gmail.com>",
|
46 | "license": "MIT",
|
47 | "bugs": {
|
48 | "url": "https://github.com/dotansimha/graphql-codegen/issues"
|
49 | },
|
50 | "homepage": "https://github.com/dotansimha/graphql-codegen#readme",
|
51 | "devDependencies": {
|
52 | "conventional-changelog": "^1.1.0",
|
53 | "cz-conventional-changelog": "^1.2.0",
|
54 | "jest": "^17.0.3"
|
55 | },
|
56 | "config": {
|
57 | "commitizen": {
|
58 | "path": "./node_modules/cz-conventional-changelog"
|
59 | }
|
60 | },
|
61 | "jest": {
|
62 | "collectCoverage": true,
|
63 | "collectCoverageFrom": [
|
64 | "**/src/**/*.ts"
|
65 | ],
|
66 | "coverageDirectory": "./test/coverage",
|
67 | "coveragePathIgnorePatterns": [
|
68 | "/node_modules/",
|
69 | ".*?handlebars-helpers.*?"
|
70 | ],
|
71 | "moduleFileExtensions": [
|
72 | "ts",
|
73 | "tsx",
|
74 | "js"
|
75 | ],
|
76 | "transform": {
|
77 | "^.+\\.(ts|tsx)$": "<rootDir>/test/jest.typescript.js"
|
78 | },
|
79 | "testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
|
80 | "testEnvironment": "node"
|
81 | },
|
82 | "dependencies": {
|
83 | "@types/commander": "^2.3.31",
|
84 | "@types/common-tags": "^1.2.5",
|
85 | "@types/glob": "^5.0.30",
|
86 | "@types/graphql": "^0.8.2",
|
87 | "@types/handlebars": "^4.0.31",
|
88 | "@types/jest": "^16.0.1",
|
89 | "@types/mkdirp": "^0.3.29",
|
90 | "@types/node": "^0.0.2",
|
91 | "@types/pascal-case": "^0.0.29",
|
92 | "@types/request": "^0.0.36",
|
93 | "commander": "^2.9.0",
|
94 | "common-tags": "^1.4.0",
|
95 | "glob": "^7.1.1",
|
96 | "graphql": "^0.8.2",
|
97 | "handlebars": "^4.0.6",
|
98 | "mkdirp": "^0.5.1",
|
99 | "nodemon": "^1.11.0",
|
100 | "pascal-case": "^2.0.0",
|
101 | "request": "^2.79.0",
|
102 | "rimraf": "^2.5.4",
|
103 | "tslint": "^4.0.2",
|
104 | "typescript": "^2.0.10"
|
105 | }
|
106 | }
|