UNPKG

4.62 kBJSONView Raw
1{
2 "name": "react-redux",
3 "version": "8.0.7",
4 "description": "Official React bindings for Redux",
5 "keywords": [
6 "react",
7 "reactjs",
8 "redux"
9 ],
10 "license": "MIT",
11 "author": "Dan Abramov <dan.abramov@me.com> (https://github.com/gaearon)",
12 "homepage": "https://github.com/reduxjs/react-redux",
13 "repository": "github:reduxjs/react-redux",
14 "bugs": "https://github.com/reduxjs/react-redux/issues",
15 "main": "./lib/index.js",
16 "types": "./es/index.d.ts",
17 "unpkg": "dist/react-redux.js",
18 "module": "es/index.js",
19 "files": [
20 "dist",
21 "lib",
22 "src",
23 "es"
24 ],
25 "scripts": {
26 "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --extensions \".js,.ts,.tsx\" --out-dir lib",
27 "build:es": "babel src --extensions \".js,.ts,.tsx\" --out-dir es",
28 "build:umd": "cross-env NODE_ENV=development rollup -c -o dist/react-redux.js",
29 "build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/react-redux.min.js",
30 "build:types": "tsc",
31 "build": "yarn build:types && yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:umd:min",
32 "clean": "rimraf lib dist es coverage",
33 "api-types": "api-extractor run --local",
34 "format": "prettier --write \"{src,test}/**/*.{js,ts,tsx}\" \"docs/**/*.md\"",
35 "lint": "eslint src --ext ts,tsx,js test/utils test/components test/hooks",
36 "prepare": "yarn clean && yarn build",
37 "pretest": "yarn lint",
38 "test": "jest",
39 "type-tests": "yarn tsc -p test/typetests/tsconfig.json",
40 "coverage": "codecov"
41 },
42 "peerDependencies": {
43 "@reduxjs/toolkit": "^1 || ^2.0.0-beta.0",
44 "@types/react": "^16.8 || ^17.0 || ^18.0",
45 "@types/react-dom": "^16.8 || ^17.0 || ^18.0",
46 "react": "^16.8 || ^17.0 || ^18.0",
47 "react-dom": "^16.8 || ^17.0 || ^18.0",
48 "react-native": ">=0.59",
49 "redux": "^4 || ^5.0.0-beta.0"
50 },
51 "peerDependenciesMeta": {
52 "@reduxjs/toolkit": {
53 "optional": true
54 },
55 "@types/react": {
56 "optional": true
57 },
58 "@types/react-dom": {
59 "optional": true
60 },
61 "react-dom": {
62 "optional": true
63 },
64 "react-native": {
65 "optional": true
66 },
67 "redux": {
68 "optional": true
69 }
70 },
71 "dependencies": {
72 "@babel/runtime": "^7.12.1",
73 "@types/hoist-non-react-statics": "^3.3.1",
74 "@types/use-sync-external-store": "^0.0.3",
75 "hoist-non-react-statics": "^3.3.2",
76 "react-is": "^18.0.0",
77 "use-sync-external-store": "^1.0.0"
78 },
79 "devDependencies": {
80 "@babel/cli": "^7.12.1",
81 "@babel/core": "^7.12.3",
82 "@babel/plugin-proposal-decorators": "^7.12.1",
83 "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
84 "@babel/plugin-transform-react-display-name": "^7.12.1",
85 "@babel/plugin-transform-react-jsx": "^7.12.1",
86 "@babel/plugin-transform-runtime": "^7.12.1",
87 "@babel/preset-env": "^7.12.1",
88 "@babel/preset-typescript": "^7.14.5",
89 "@microsoft/api-extractor": "^7.18.1",
90 "@reduxjs/toolkit": "^1.9.5",
91 "@rollup/plugin-babel": "^5.2.1",
92 "@rollup/plugin-commonjs": "^15.1.0",
93 "@rollup/plugin-node-resolve": "^9.0.0",
94 "@rollup/plugin-replace": "^2.3.3",
95 "@testing-library/jest-dom": "^5.11.5",
96 "@testing-library/jest-native": "^3.4.3",
97 "@testing-library/react": "13.0.0",
98 "@testing-library/react-12": "npm:@testing-library/react@^12",
99 "@testing-library/react-hooks": "^3.4.2",
100 "@testing-library/react-native": "^7.1.0",
101 "@types/object-assign": "^4.0.30",
102 "@types/react": "^18",
103 "@types/react-dom": "^18",
104 "@types/react-is": "^17",
105 "@types/react-native": "^0.67.4",
106 "@typescript-eslint/eslint-plugin": "^4.28.0",
107 "@typescript-eslint/parser": "^4.28.0",
108 "babel-eslint": "^10.1.0",
109 "babel-jest": "^26.6.1",
110 "codecov": "^3.8.0",
111 "cross-env": "^7.0.2",
112 "eslint": "^7.12.0",
113 "eslint-config-prettier": "^6.14.0",
114 "eslint-plugin-import": "^2.22.1",
115 "eslint-plugin-prettier": "^3.1.4",
116 "eslint-plugin-react": "^7.21.5",
117 "glob": "^7.1.6",
118 "jest": "^26.6.1",
119 "prettier": "^2.1.2",
120 "react": "18.0.0",
121 "react-17": "npm:react@^17",
122 "react-dom": "18.0.0",
123 "react-dom-17": "npm:react-dom@^17",
124 "react-native": "^0.64.1",
125 "react-test-renderer": "18.0.0",
126 "react-test-renderer-17": "npm:react-test-renderer@^17",
127 "redux": "^4.0.5",
128 "rimraf": "^3.0.2",
129 "rollup": "^2.32.1",
130 "rollup-plugin-terser": "^7.0.2",
131 "ts-jest": "26.5.6",
132 "typescript": "^4.3.4"
133 }
134}