forked from urql-graphql/urql-exchange-graphcache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
136 lines (136 loc) · 3.71 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@urql/exchange-graphcache",
"version": "1.1.2",
"description": "A normalized and configurable cache exchange for urql",
"repository": "https://github.com/FormidableLabs/urql-exchange-graphcache",
"keywords": [
"normalized cache",
"cache",
"urql",
"graphql",
"exchange"
],
"bugs": {
"url": "https://github.com/FormidableLabs/urql-exchange-graphcache/issues"
},
"homepage": "https://github.com/FormidableLabs/urql-exchange-graphcache",
"main": "dist/urql-exchange-graphcache.js",
"module": "dist/urql-exchange-graphcache.es.js",
"types": "dist/types/index.d.ts",
"source": "src/index.ts",
"sideEffects": false,
"scripts": {
"clean": "rimraf ./dist ./node_modules/.cache",
"build": "rollup -c rollup.config.js",
"watch": "rollup -w -c rollup.config.js",
"check": "tsc --noEmit",
"test": "jest",
"coverage": "jest --coverage",
"lint": "eslint . --ext .ts,.tsx",
"prepare:extras": "./scripts/prepare-extras.js",
"prepublishOnly": "run-s clean test build prepare:extras",
"codecov": "codecov"
},
"author": "Formidable",
"license": "MIT",
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"setupFiles": [
"./scripts/setupTests.js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(src/.*(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx",
"json"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.{ts,tsx}"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src.*/index.ts"
]
},
"lint-staged": {
"*.{json,md}": [
"prettier --write",
"git add"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"pessimism": "^1.1.4",
"wonka": "^3.2.1"
},
"peerDependencies": {
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0",
"urql": ">= 1.6.0"
},
"devDependencies": {
"@babel/core": "^7.7.0",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.7.0",
"@testing-library/react": "^9.3.2",
"@types/enzyme": "3.10.3",
"@types/graphql": "^14.5.0",
"@types/jest": "^24.0.22",
"@types/react": "16.9.11",
"@types/react-test-renderer": "16.9.1",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"babel-plugin-closure-elimination": "^1.3.0",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"codecov": "^3.6.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme-to-json": "^3.4.3",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"graphql": "^14.5.8",
"graphql-tag": "^2.10.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.1",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-hooks-testing-library": "^0.6.0",
"react-is": "^16.11.0",
"react-ssr-prepass": "^1.0.7",
"react-test-renderer": "^16.11.0",
"rimraf": "^3.0.0",
"rollup": "^1.26.3",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript2": "^0.25.2",
"terser": "^4.3.9",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4",
"urql": "^1.6.2"
}
}