-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
119 lines (119 loc) · 3.26 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
115
116
117
118
119
{
"name": "@freshcells/apollo-link-field-keep",
"version": "1.0.0",
"main": "build/main/index.js",
"module": "build/module/index.js",
"files": [
"build/module",
"build/main"
],
"peerDependencies": {
"@apollo/client": ">=3",
"apollo-utilities": ">=1",
"graphql": ">=15"
},
"keywords": [
"apollo",
"apollo-link",
"graphql",
"directive",
"freshcells"
],
"description": "Similar to `@include` and `@skip`, but allows bypassing certain parts of the query completely before sending it to the server",
"scripts": {
"test-watch": "jest --watch",
"fix": "run-s 'fix:*'",
"fix:prettier": "prettier \"src/**/*.{ts,tsx}\" --write",
"fix:eslint": "eslint . --ext .ts,.tsx --fix",
"test": "run-s 'test:*'",
"test:lint": "yarn eslint . --ext .ts,.tsx && prettier \"src/**/*.{ts,tsx}\" --list-different",
"test:jest": "JEST_JUNIT_OUTPUT_NAME=\"test-results/js-test-results.xml\" jest --ci --reporters=default --reporters=jest-junit --coverage --coverageDirectory=coverage",
"build": "run-s clean && run-p 'build:*'",
"lint": "tsc --noEmit",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"cov:send": "codecov",
"clean": "rimraf build",
"doc": "run-s 'doc:html'",
"doc:html": "typedoc src/ --exclude \"**/+(__tests__|examples)/*\" --out build/docs/api",
"doc:json": "typedoc src/ --exclude \"**/+(__tests__|examples)/*\" --json build/docs/api/typedoc.json"
},
"devDependencies": {
"@apollo/client": "^3.5.10",
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/istanbul-lib-coverage": "^2.0.4",
"@types/jest": "^27.4.1",
"@types/react": "^17.0.39",
"@types/zen-observable": "^0.8.3",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"@yarnpkg/pnpify": "^3.0.1-rc.1",
"@yarnpkg/sdks": "^2.4.1-rc.4",
"apollo-utilities": "^1.3.4",
"babel-jest": "^27.0.6",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"graphql": "^15.8.0",
"jest": "^28.0.0",
"jest-junit": "^13.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"react": "^17.0.2",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.2",
"ts-jest": "^27.1.4",
"ts-loader": "^9.2.8",
"typedoc": "^0.22.15",
"typescript": "^4.6.3"
},
"jest": {
"coverageReporters": [
"text",
"cobertura"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"setupFilesAfterEnv": [],
"testPathIgnorePatterns": [
"/node_modules/",
"/build/"
],
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"roots": [
"src/"
],
"testMatch": [
"**/__tests__/**/*.spec.[jt]s?(x)"
],
"transform": {
"\\.(ts|tsx)$": [
"babel-jest",
{
"rootMode": "upward"
}
]
}
},
"publishConfig": {
"access": "public"
},
"release": {
"branches": [
"main",
"next"
]
},
"packageManager": "[email protected]"
}