UNPKG

3.02 kBJSONView Raw
1{
2 "name": "graphql-code-generator",
3 "version": "0.3.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 "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 --file ../dev-test/githunt/schema.json --template ts --out ../dev-test/githunt/typings.d.ts ../dev-test/githunt/*.graphql",
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": "^18.0.0"
56 },
57 "config": {
58 "commitizen": {
59 "path": "./node_modules/cz-conventional-changelog"
60 }
61 },
62 "jest": {
63 "verbose": true,
64 "collectCoverage": true,
65 "collectCoverageFrom": [
66 "**/src/**/*.ts"
67 ],
68 "coverageDirectory": "./test/coverage",
69 "coveragePathIgnorePatterns": [
70 "/node_modules/",
71 ".*?handlebars-helpers.*?"
72 ],
73 "moduleFileExtensions": [
74 "ts",
75 "tsx",
76 "js"
77 ],
78 "transform": {
79 "^.+\\.(ts|tsx)$": "<rootDir>/test/jest.typescript.js"
80 },
81 "testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
82 "testEnvironment": "node"
83 },
84 "dependencies": {
85 "@types/commander": "^2.3.31",
86 "@types/common-tags": "^1.2.5",
87 "@types/glob": "^5.0.30",
88 "@types/graphql": "^0.8.2",
89 "@types/handlebars": "^4.0.31",
90 "@types/jest": "^16.0.1",
91 "@types/mkdirp": "^0.3.29",
92 "@types/node": "^6.0.53",
93 "@types/request": "^0.0.36",
94 "camel-case": "^3.0.0",
95 "commander": "^2.9.0",
96 "common-tags": "^1.4.0",
97 "glob": "^7.1.1",
98 "graphql": "^0.8.2",
99 "handlebars": "^4.0.6",
100 "mkdirp": "^0.5.1",
101 "nodemon": "^1.11.0",
102 "pascal-case": "^2.0.0",
103 "request": "^2.79.0",
104 "rimraf": "^2.5.4",
105 "tslint": "^4.0.2",
106 "typescript": "^2.1.4"
107 }
108}