forked from Quramy/ts-graphql-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.86 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "ts-graphql-plugin",
"version": "1.12.1",
"description": "TypeScript Language Service Plugin for GraphQL",
"keywords": [
"typescript",
"graphql",
"language service"
],
"main": "lib/index.js",
"bin": {
"tsgql": "lib/cli/cli.js",
"ts-graphql-plugin": "lib/cli/cli.js"
},
"typings": "lib/index.d.ts",
"scripts": {
"clean": "rimraf lib e2e/*.log",
"compile": "tsc -p .",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"jest": "jest",
"jest:ci": "jest --coverage",
"e2e": "node e2e/run.js",
"e2e:ci": "c8 -o e2e_coverage -x e2e -r json -i \"src/**/*\" node e2e/run.js",
"test": "yarn format:check && yarn lint && yarn jest:ci && yarn e2e:ci",
"prettier": "prettier \"*.js\" \"*.md\" \"*.json\" \"*.yml\" \"src/**/*\" \"e2e/**/*\"",
"format": "yarn prettier --write",
"format:check": "yarn prettier --check",
"watch:compile": "tsc --watch -p .",
"watch:jest": "jest --watch",
"watch": "yarn run clean && run-p watch:*"
},
"author": "Quramy",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Quramy/ts-graphql-plugin.git"
},
"dependencies": {
"graphql-language-service-interface": "^2.0.0",
"graphql-language-service-types": "^1.5.2"
},
"devDependencies": {
"@types/express": "^4.17.2",
"@types/graphql": "^14.2.3",
"@types/jest": "^25.1.1",
"@types/node": "^14.0.1",
"@types/node-fetch": "^2.5.4",
"@types/webpack": "^4.41.2",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"apollo-server": "^2.9.15",
"apollo-server-express": "^2.9.16",
"c8": "^7.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.8.0",
"express": "^4.17.1",
"fretted-strings": "^1.0.0",
"glob": "^7.1.2",
"graphql": "^14.5.0",
"husky": "^4.0.2",
"jest": "^25.1.0",
"node-fetch": "^2.6.0",
"npm-run-all": "^4.1.1",
"prettier": "^2.0.1",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.0",
"ts-jest": "^26.0.0",
"ts-loader": "^6.2.1",
"typescript": "~3.7.0",
"typescript-eslint-language-service": "^2.0.3",
"vscode-languageserver-types": "^3.14.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^14.0.0",
"typescript": "^2.3.0 || ^3.0.0 || ^4.0.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"jest": {
"globals": {
"ts-jest": {
"diagnostics": false
}
},
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(src/.*\\.test)\\.ts$",
"testPathIgnorePatterns": [
"/node_modules/",
"\\.d\\.ts$",
"lib/.*"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!**/testing/**"
],
"moduleFileExtensions": [
"js",
"ts",
"json"
]
}
}