UNPKG

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