-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 1.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "graphql2typescript",
"version": "0.1.0",
"description": "Opinionated toolset for GraphQL + TypeScript development, including code generation",
"keywords": [
"graphql",
"typescript",
"code-generation"
],
"contributors": [
"Morris Brodersen <[email protected]> (http://morrisbrodersen.de)"
],
"license": "ISC",
"module": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"lint": "tslint --project .",
"format": "prettier --single-quote --write */*.ts */**/*.ts *.json",
"test": "nyc mocha test",
"gql2ts": "ts-node example/gql2ts.ts | prettier --parser typescript > example/src/generated/schema.ts",
"example": "ts-node-dev --no-notify example/app.ts",
"prepare": "npm run clean && npm run build"
},
"nyc": {
"extension": [
".js",
".ts"
],
"exclude": [
"**/*.d.ts",
"dist",
"example",
"test",
"coverage"
],
"reporter": [
"html"
],
"cache": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.ts": [
"tslint",
"git add"
]
},
"dependencies": {
"graphql": "^14.5.8"
},
"devDependencies": {
"@types/express": "^4.17.1",
"@types/got": "^9.6.9",
"@types/graphql-iso-date": "^3.3.3",
"@types/mocha": "^5.2.7",
"@types/node": "^10.14.20",
"@types/prettier": "^1.18.3",
"express": "^4.17.1",
"express-graphql": "^0.9.0",
"got": "^9.6.0",
"graphql-import": "^0.7.1",
"graphql-iso-date": "^3.6.1",
"graphql-tools": "^4.0.6",
"husky": "^3.0.8",
"lint-staged": "^9.4.3",
"mocha": "^6.2.1",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"source-map-support": "^0.5.13",
"ts-node": "^8.4.1",
"ts-node-dev": "^1.0.0-pre.44",
"tslint": "^5.20.0",
"typescript": "^3.6.3"
}
}