UNPKG

2.48 kBJSONView Raw
1{
2 "name": "graphql-code-generator",
3 "version": "0.0.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 "dev": "cd dist && nodemon --ext ts,js,d.ts,template,graphql,json,handlebars index.js --dev --file ../dev-test/githunt/schema.json --template flow --out ../dev-test/githunt/typings.d.ts ../dev-test/githunt/**/*.graphql ",
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": ["**/src/**/*.ts"],
61 "moduleFileExtensions": ["ts", "tsx", "js"],
62 "transform": {
63 "^.+\\.(ts|tsx)$": "<rootDir>/jest.ts-compiler.js"
64 },
65 "testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
66 "testEnvironment": "node"
67 },
68 "dependencies": {
69 "@types/commander": "^2.3.31",
70 "@types/glob": "^5.0.30",
71 "@types/graphql": "^0.8.2",
72 "@types/handlebars": "^4.0.31",
73 "@types/jest": "^16.0.1",
74 "@types/mkdirp": "^0.3.29",
75 "@types/node": "^0.0.2",
76 "@types/pascal-case": "^0.0.29",
77 "@types/request": "^0.0.36",
78 "commander": "^2.9.0",
79 "glob": "^7.1.1",
80 "graphql": "^0.8.2",
81 "handlebars": "^4.0.6",
82 "mkdirp": "^0.5.1",
83 "nodemon": "^1.11.0",
84 "pascal-case": "^2.0.0",
85 "request": "^2.79.0",
86 "rimraf": "^2.5.4",
87 "tslint": "^4.0.2",
88 "typescript": "^2.0.10"
89 }
90}