-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
89 lines (89 loc) · 2.5 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
{
"name": "ts-graphql-plugin",
"version": "4.0.3",
"description": "TypeScript Language Service Plugin for GraphQL",
"keywords": [
"typescript",
"graphql",
"language service"
],
"engines": {
"node": ">=18"
},
"main": "lib/index.js",
"bin": {
"tsgql": "lib/cli/cli.js",
"ts-graphql-plugin": "lib/cli/cli.js"
},
"types": "lib/index.d.ts",
"files": [
"webpack.js",
"addons/**/*.js",
"lib/**/*.js",
"lib/**/*.d.ts",
"!lib/**/*.test.*"
],
"scripts": {
"prepare": "husky install",
"clean": "rimraf -g lib \"e2e/*.log\" \"*.tsbuildinfo\"",
"build": "run-s build:ts build:doc",
"build:ts": "tsc -p . && cp src/tsmodule.js lib && cp src/tsmodule.d.ts lib",
"build:doc": "npm run doc:toc",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"jest": "jest",
"jest:ci": "jest --coverage --maxWorkers=4",
"e2e": "node e2e/run.js",
"e2e:ci": "c8 -o e2e_coverage -x e2e -r json -i \"src/**/*\" node e2e/run.js",
"test": "npm run format:check && npm run lint && npm run jest:ci && npm run e2e:ci",
"prettier": "prettier .",
"format": "npm run prettier -- --write",
"format:check": "npm run prettier -- --check",
"doc:toc": "ts-node -P tools/tsconfig.json tools/add-toc.ts",
"watch:compile": "tsc --watch -p .",
"watch:jest": "jest --watch",
"watch": "npm run 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": "^5.2.1"
},
"devDependencies": {
"@types/jest": "29.5.14",
"@types/node": "20.17.10",
"@types/node-fetch": "3.0.2",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"c8": "10.1.2",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"fretted-strings": "2.0.0",
"glob": "11.0.0",
"graphql": "16.10.0",
"graphql-config": "5.1.2",
"husky": "9.1.7",
"jest": "29.7.0",
"markdown-toc": "1.2.0",
"msw": "2.6.8",
"npm-run-all2": "6.2.6",
"prettier": "^3.2.5",
"pretty-quick": "4.0.0",
"rimraf": "6.0.1",
"talt": "2.4.4",
"ts-jest": "29.2.5",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"typescript": "5.5.4",
"typescript-eslint-language-service": "5.0.5",
"webpack": "5.97.1",
"webpack-cli": "5.1.4"
},
"peerDependencies": {
"graphql": "^15.0.0 || ^16.0.0",
"typescript": "^4.8.0 || ^5.0.0"
}
}