forked from rtk-incubator/rtk-query
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 2.89 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
{
"name": "@rtk-incubator/rtk-query",
"repository": "https://github.com/rtk-incubator/rtk-query",
"version": "0.1.0",
"license": "MIT",
"public": true,
"author": "Lenz Weber",
"main": "dist/index.js",
"module": "dist/rtk-query.esm.js",
"sideEffects": false,
"types": "dist/index.d.ts",
"typesVersions": {
">=4.1": {
"dist": [
"dist/min-4.1/index.d.ts"
],
"dist/*": [
"dist/min-4.1/*"
]
}
},
"files": [
"dist",
"src"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build && node typesversions.js",
"test": "tsdx test",
"lint": "tsdx lint",
"prepare": "yarn build",
"prepareExamples": "./prepare-examples.sh",
"size": "size-limit",
"format": "prettier --write \"src/**/*.ts\" \"**/*.md\"",
"analyze": "size-limit --why",
"list-unused-exports": "ts-unused-exports tsconfig.json"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 120,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": "*.ts",
"options": {
"parser": "babel-ts"
}
}
]
},
"size-limit": [
{
"path": "dist/rtk-query.cjs.production.min.js",
"limit": "25 KB"
},
{
"path": "dist/rtk-query.esm.js",
"limit": "25 KB"
}
],
"dependencies": {
"immer": ">=8.0.0"
},
"peerDependencies": {
"@reduxjs/toolkit": "^1.5.0",
"react": "^16.14.0 || ^17.0.0",
"react-dom": "^16.14.0 || ^17.0.0",
"react-redux": "^7.2.1"
},
"jest": {
"modulePathIgnorePatterns": [
"examples"
]
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"react-redux": {
"optional": true
}
},
"devDependencies": {
"@reduxjs/toolkit": "^1.5.0",
"@size-limit/preset-small-lib": "^4.6.0",
"@testing-library/react": "^11.1.0",
"@testing-library/react-hooks": "^3.4.2",
"@testing-library/user-event": "^12.2.2",
"@types/react-redux": "^7.1.9",
"axios": "^0.21.0",
"cross-fetch": "^3.0.6",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"msw": "^0.24.2",
"node-fetch": "^2.6.1",
"prettier": "^2.2.0",
"react": "^16.14.0 || 17.0.0",
"react-dom": "^16.14.0 || 17.0.0",
"react-redux": "^7.2.1",
"react-test-renderer": "^17.0.1",
"shelljs": "^0.8.4",
"size-limit": "^4.6.0",
"ts-node": "^9.0.0",
"ts-unused-exports": "^7.0.0",
"tsdx": "^0.14.1",
"tslib": "^2.0.3"
},
"resolutions": {
"typescript": "4.1.2",
"@typescript-eslint/parser": "4.7.0",
"prettier": "^2.2.0",
"immer": "^8.0.0",
"ts-jest": "^26.4.4",
"jest": "^26.6.3",
"@types/jest": "^26.0.15"
}
}