UNPKG

2.69 kBJSONView Raw
1{
2 "name": "graphql-code-generator",
3 "version": "0.1.0",
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 "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",
17 "test": "jest"
18 },
19 "repository": {
20 "type": "git",
21 "url": "git+https://github.com/dotansimha/graphql-codegen.git"
22 },
23 "bin": {
24 "gql-gen": "dist/index.js"
25 },
26 "keywords": [
27 "gql",
28 "generator",
29 "code",
30 "types",
31 "interfaces",
32 "graphql",
33 "codegen",
34 "apollo",
35 "node",
36 "typescript",
37 "ts",
38 "flow",
39 "types",
40 "d.ts",
41 "typings"
42 ],
43 "author": "Dotan Simha <dotansimha@gmail.com>",
44 "license": "MIT",
45 "bugs": {
46 "url": "https://github.com/dotansimha/graphql-codegen/issues"
47 },
48 "homepage": "https://github.com/dotansimha/graphql-codegen#readme",
49 "devDependencies": {
50 "cz-conventional-changelog": "^1.2.0",
51 "jest": "^17.0.3"
52 },
53 "config": {
54 "commitizen": {
55 "path": "./node_modules/cz-conventional-changelog"
56 }
57 },
58 "jest": {
59 "collectCoverage": true,
60 "collectCoverageFrom": [
61 "**/src/**/*.ts"
62 ],
63 "coverageDirectory": "./test/coverage",
64 "coveragePathIgnorePatterns": [
65 "/node_modules/",
66 ".*?handlebars-helpers.*?"
67 ],
68 "moduleFileExtensions": [
69 "ts",
70 "tsx",
71 "js"
72 ],
73 "transform": {
74 "^.+\\.(ts|tsx)$": "<rootDir>/test/jest.typescript.js"
75 },
76 "testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
77 "testEnvironment": "node"
78 },
79 "dependencies": {
80 "@types/commander": "^2.3.31",
81 "@types/common-tags": "^1.2.5",
82 "@types/glob": "^5.0.30",
83 "@types/graphql": "^0.8.2",
84 "@types/handlebars": "^4.0.31",
85 "@types/jest": "^16.0.1",
86 "@types/mkdirp": "^0.3.29",
87 "@types/node": "^0.0.2",
88 "@types/pascal-case": "^0.0.29",
89 "@types/request": "^0.0.36",
90 "commander": "^2.9.0",
91 "common-tags": "^1.4.0",
92 "glob": "^7.1.1",
93 "graphql": "^0.8.2",
94 "handlebars": "^4.0.6",
95 "mkdirp": "^0.5.1",
96 "nodemon": "^1.11.0",
97 "pascal-case": "^2.0.0",
98 "request": "^2.79.0",
99 "rimraf": "^2.5.4",
100 "tslint": "^4.0.2",
101 "typescript": "^2.0.10"
102 }
103}