Open History to see the last commit
1{
2 "name": "react-query",
3 "version": "1.0.0-semantic-release",
4 "description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": "tannerlinsley/react-query",
8 "homepage": "https://github.com/tannerlinsley/react-query#readme",
9 "funding": {
10 "type": "github",
11 "url": "https://github.com/sponsors/tannerlinsley"
12 },
13 "main": "lib/index.js",
14 "unpkg": "dist/react-query.development.js",
15 "types": "types/index.d.ts",
16 "module": "es/index.js",
17 "scripts": {
18 "test": "is-ci \"test:ci\" \"test:dev\"",
19 "test:dev": "npm run test:types && npm run test:eslint && jest --watch",
20 "test:ci": "npm run test:types && npm run test:eslint && jest",
21 "test:coverage": "yarn test:ci; open coverage/lcov-report/index.html",
22 "test:types": "tsc",
23 "test:eslint": "eslint --ext .ts,.tsx ./src",
24 "build": "yarn build:commonjs && yarn build:es && yarn build:umd",
25 "build:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/*.test.tsx ./src --out-dir lib",
26 "build:es": "rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/*.test.tsx ./src --out-dir es",
27 "build:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -c && rollup-plugin-visualizer stats-react.json stats-hydration.json",
28 "build:types": "rimraf ./types && tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r && replace 'export type' 'export' ./types -r",
29 "now-build": "yarn && cd www && yarn && yarn build",
30 "start": "rollup -c -w",
31 "format": "prettier {.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,tsx,json} --write",
32 "stats": "open ./stats.html"
33 },
34 "files": [
35 "dist",
36 "lib",
37 "es",
38 "types",
39 "scripts",
40 "hydration.js",
41 "hydration.d.ts"
42 ],
43 "dependencies": {
44 "@babel/runtime": "^7.5.5"
45 },
46 "peerDependencies": {
47 "react": "^16.8.0 || ^17.0.0"
48 },
49 "peerDependenciesMeta": {
50 "react-dom": {
51 "optional": true
52 },
53 "react-native": {
54 "optional": true
55 }
56 },
57 "devDependencies": {
58 "@babel/cli": "^7.11.6",
59 "@babel/core": "^7.11.6",
60 "@babel/plugin-transform-runtime": "^7.11.5",
61 "@babel/preset-env": "^7.11.5",
62 "@babel/preset-react": "^7.10.4",
63 "@babel/preset-typescript": "^7.10.4",
64 "@rollup/plugin-replace": "^2.3.3",
65 "@svgr/rollup": "^5.4.0",
66 "@testing-library/react": "^10.4.7",
67 "@types/jest": "^26.0.4",
68 "@types/react": "^16.9.41",
69 "@types/react-dom": "^16.9.8",
70 "@typescript-eslint/eslint-plugin": "^3.6.1",
71 "@typescript-eslint/parser": "^3.6.1",
72 "babel-eslint": "^10.1.0",
73 "babel-jest": "^26.0.1",
74 "babel-plugin-const-enum": "^1.0.1",
75 "babel-plugin-transform-async-to-promises": "^0.8.15",
76 "cross-env": "^7.0.2",
77 "eslint": "7.x",
78 "eslint-config-prettier": "^6.11.0",
79 "eslint-config-react-app": "^5.2.1",
80 "eslint-config-standard": "^14.1.1",
81 "eslint-config-standard-react": "^9.2.0",
82 "eslint-plugin-flowtype": "5.x",
83 "eslint-plugin-import": "2.x",
84 "eslint-plugin-jsx-a11y": "6.x",
85 "eslint-plugin-node": "^11.1.0",
86 "eslint-plugin-prettier": "^3.1.3",
87 "eslint-plugin-promise": "^4.2.1",
88 "eslint-plugin-react": "7.20.0",
89 "eslint-plugin-react-hooks": "4.0.4",
90 "eslint-plugin-standard": "^4.0.1",
91 "is-ci-cli": "^2.1.1",
92 "jest": "^26.0.1",
93 "prettier": "^2.0.5",
94 "react": "^16.13.0",
95 "react-dom": "^16.13.1",
96 "react-error-boundary": "^2.2.2",
97 "replace": "^1.2.0",
98 "rimraf": "^3.0.2",
99 "rollup": "^2.16.1",
100 "rollup-plugin-babel": "^4.4.0",
101 "rollup-plugin-commonjs": "^10.1.0",
102 "rollup-plugin-jscc": "^1.0.0",
103 "rollup-plugin-node-resolve": "^5.2.0",
104 "rollup-plugin-peer-deps-external": "^2.2.2",
105 "rollup-plugin-prettier": "^2.1.0",
106 "rollup-plugin-size": "^0.2.2",
107 "rollup-plugin-terser": "^6.1.0",
108 "rollup-plugin-visualizer": "^4.0.4",
109 "typescript": "^3.9.5"
110 }
111}