forked from zalando-incubator/graphql-jit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 2.91 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
110
111
112
113
114
{
"name": "graphql-jit",
"version": "0.8.4",
"description": "GraphQL JIT Compiler to JS",
"author": "Rui Araujo",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/zalando-incubator/graphql-jit.git"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"scripts": {
"precommit": "lint-staged",
"prepublishOnly": "yarn && yarn build",
"format": "prettier --write 'src/**/*.ts'",
"check-format": "prettier -l 'src/**/*.ts'",
"lint": "eslint --ext .ts .",
"lint-fix": "eslint --ext .ts . --fix",
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"test": "jest",
"mutation-test": "stryker run",
"codecov": "codecov",
"benchmark": "NODE_ENV=production ./src/__benchmarks__/benchmarks.ts"
},
"files": [
"dist/*"
],
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"testEnvironment": "node",
"testRegex": "(/tests/.*|(\\.|/)test)\\.ts$",
"transform": {
"^.+\\.ts$": [
"@swc/jest"
]
},
"coverageThreshold": {
"global": {
"branches": 91,
"functions": 96,
"lines": 96,
"statements": 96
}
}
},
"peerDependencies": {
"graphql": ">=15"
},
"devDependencies": {
"@graphql-tools/schema": "^10.0.0",
"@stryker-mutator/core": "^7.1.1",
"@stryker-mutator/jest-runner": "^7.1.1",
"@stryker-mutator/typescript": "^4.0.0",
"@swc-node/register": "^1.6.7",
"@swc/core": "^1.3.84",
"@swc/jest": "^0.2.29",
"@types/benchmark": "^2.1.2",
"@types/jest": "^29.5.4",
"@types/json-schema": "^7.0.12",
"@types/lodash.memoize": "^4.1.7",
"@types/lodash.merge": "^4.6.7",
"@types/lodash.mergewith": "^4.6.7",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"benchmark": "^2.1.4",
"codecov": "^3.8.2",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"graphql": "^16.8.0",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
},
"dependencies": {
"@graphql-typed-document-node/core": "^3.2.0",
"fast-json-stringify": "^5.8.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"
]
}
},
"resolutions": {
"jest/jest-cli/yargs/**/wrap-ansi": "7.0.0"
}
}