forked from TanStack/query
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 4.22 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
{
"name": "react-query",
"version": "1.0.0-semantic-release",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
"author": "tannerlinsley",
"license": "MIT",
"repository": "tannerlinsley/react-query",
"homepage": "https://github.com/tannerlinsley/react-query#readme",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"main": "lib/index.js",
"unpkg": "dist/react-query.development.js",
"types": "types/index.d.ts",
"module": "es/index.js",
"sideEffects": [
"es/react/setBatchUpdatesFn.js",
"es/react/setLogger.js",
"lib/react/setBatchUpdatesFn.js",
"lib/react/setLogger.js"
],
"scripts": {
"test": "is-ci \"test:ci\" \"test:dev\"",
"test:dev": "npm run test:types && npm run test:eslint && jest --watch",
"test:ci": "npm run test:types && npm run test:eslint && jest",
"test:coverage": "yarn test:ci; open coverage/lcov-report/index.html",
"test:types": "tsc",
"test:eslint": "eslint --ext .ts,.tsx ./src",
"build": "yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types",
"build:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib",
"build:es": "rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es",
"build:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -c && rollup-plugin-visualizer stats-react.json",
"build:types": "rimraf ./types && tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
"now-build": "yarn && cd www && yarn && yarn build",
"start": "rollup -c -w",
"format": "prettier {.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,tsx,json} --write",
"stats": "open ./stats.html"
},
"files": [
"core",
"dist",
"es",
"hydration",
"devtools",
"persist-localstorage-experimental",
"lib",
"react",
"scripts",
"types"
],
"dependencies": {
"@babel/runtime": "^7.5.5",
"match-sorter": "^6.0.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@rollup/plugin-replace": "^2.3.3",
"@svgr/rollup": "^5.4.0",
"@testing-library/react": "^10.4.7",
"@types/jest": "^26.0.4",
"@types/react": "^16.9.41",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"babel-plugin-const-enum": "^1.0.1",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"cross-env": "^7.0.2",
"eslint": "7.x",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^5.2.1",
"eslint-config-standard": "^14.1.1",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-flowtype": "5.x",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "7.20.0",
"eslint-plugin-react-hooks": "4.0.4",
"eslint-plugin-standard": "^4.0.1",
"is-ci-cli": "^2.1.1",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"react": "^16.13.0",
"react-dom": "^16.13.1",
"react-error-boundary": "^2.2.2",
"replace": "^1.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.16.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-jscc": "^1.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.2",
"rollup-plugin-prettier": "^2.1.0",
"rollup-plugin-size": "^0.2.2",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-visualizer": "^4.0.4",
"typescript": "^4.1.2"
}
}