forked from zalando-incubator/graphql-jit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.75 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
{
"name": "graphql-jit",
"version": "0.8.3",
"description": "GraphQL JIT Compiler to JS",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"author": "Rui Araujo",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/zalando-incubator/graphql-jit.git"
},
"scripts": {
"precommit": "lint-staged",
"prepublishOnly": "yarn && yarn build",
"format": "prettier --write 'src/**/*.ts' '*.js'",
"check-format": "prettier -l 'src/**/*.ts' '*.js'",
"lint": "eslint --ext .ts .",
"lint-fix": "eslint --ext .ts . --fix",
"build": "tsc --project tsconfig.build.json",
"test": "jest",
"mutation-test": "stryker run",
"codecov": "codecov",
"benchmark": "NODE_ENV=production ts-node -T ./src/__benchmarks__/benchmarks.ts"
},
"files": [
"dist/*"
],
"jest": {
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"testEnvironment": "node",
"testRegex": "(/tests/.*|(\\.|/)test)\\.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageThreshold": {
"global": {
"branches": 91,
"functions": 96,
"lines": 96,
"statements": 96
}
}
},
"peerDependencies": {
"graphql": ">=15"
},
"devDependencies": {
"@graphql-tools/schema": "^9.0.8",
"@stryker-mutator/core": "^2.0.0",
"@stryker-mutator/jest-runner": "^2.0.0",
"@stryker-mutator/typescript": "^2.0.0",
"@types/benchmark": "^1.0.31",
"@types/jest": "^29.5.2",
"@types/json-schema": "^7.0.1",
"@types/lodash.memoize": "^4.1.6",
"@types/lodash.merge": "^4.6.6",
"@types/lodash.mergewith": "^4.6.6",
"@types/node": "^10.17.26",
"@typescript-eslint/eslint-plugin": "5.2.0",
"@typescript-eslint/parser": "5.2.0",
"benchmark": "^2.1.4",
"codecov": "^3.3.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-standard": "^5.0.0",
"graphql": "^16.0.0",
"jest": "^29.5.0",
"lint-staged": "^8.1.5",
"prettier": "^2.4.1",
"ts-jest": "^29.1.0",
"ts-node": "^8.0.3",
"typescript": "^4.4.4"
},
"dependencies": {
"@graphql-typed-document-node/core": "^3.2.0",
"fast-json-stringify": "^5.7.0",
"generate-function": "^2.3.1",
"lodash.memoize": "^4.1.2",
"lodash.merge": "4.6.2",
"lodash.mergewith": "4.6.2"
},
"lint-staged": {
"linters": {
"*.ts": [
"eslint --fix",
"prettier --no-config --write",
"git add"
],
"*.{graphql,js,md,json,yaml,yml}": [
"prettier --no-config --write",
"git add"
]
}
}
}