1 | {
|
2 | "name": "react-redux",
|
3 | "version": "7.1.1",
|
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 | "unpkg": "dist/react-redux.js",
|
17 | "module": "es/index.js",
|
18 | "files": [
|
19 | "dist",
|
20 | "lib",
|
21 | "src",
|
22 | "es"
|
23 | ],
|
24 | "scripts": {
|
25 | "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
|
26 | "build:es": "babel src --out-dir es",
|
27 | "build:umd": "cross-env NODE_ENV=development rollup -c -o dist/react-redux.js",
|
28 | "build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/react-redux.min.js",
|
29 | "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
|
30 | "clean": "rimraf lib dist es coverage",
|
31 | "format": "prettier --write \"{src,test}/**/*.{js,ts}\" index.d.ts \"docs/**/*.md\"",
|
32 | "lint": "eslint src test/utils test/components test/hooks",
|
33 | "prepare": "npm run clean && npm run build",
|
34 | "pretest": "npm run lint",
|
35 | "test": "jest",
|
36 | "coverage": "codecov"
|
37 | },
|
38 | "peerDependencies": {
|
39 | "react": "^16.8.3",
|
40 | "redux": "^2.0.0 || ^3.0.0 || ^4.0.0-0"
|
41 | },
|
42 | "dependencies": {
|
43 | "@babel/runtime": "^7.5.5",
|
44 | "hoist-non-react-statics": "^3.3.0",
|
45 | "invariant": "^2.2.4",
|
46 | "loose-envify": "^1.4.0",
|
47 | "prop-types": "^15.7.2",
|
48 | "react-is": "^16.9.0"
|
49 | },
|
50 | "devDependencies": {
|
51 | "@babel/cli": "^7.5.5",
|
52 | "@babel/core": "^7.5.5",
|
53 | "@babel/plugin-proposal-decorators": "^7.4.4",
|
54 | "@babel/plugin-proposal-object-rest-spread": "^7.5.5",
|
55 | "@babel/plugin-transform-react-display-name": "^7.2.0",
|
56 | "@babel/plugin-transform-react-jsx": "^7.3.0",
|
57 | "@babel/plugin-transform-runtime": "^7.5.5",
|
58 | "@babel/preset-env": "^7.5.5",
|
59 | "@testing-library/jest-dom": "^4.1.0",
|
60 | "@testing-library/react": "^8.0.8",
|
61 | "@testing-library/react-hooks": "^1.1.0",
|
62 | "babel-eslint": "^10.0.3",
|
63 | "babel-jest": "^24.9.0",
|
64 | "codecov": "^3.5.0",
|
65 | "create-react-class": "^15.6.3",
|
66 | "cross-env": "^5.2.0",
|
67 | "es3ify": "^0.2.0",
|
68 | "eslint": "^6.2.2",
|
69 | "eslint-config-prettier": "^6.1.0",
|
70 | "eslint-plugin-import": "^2.18.2",
|
71 | "eslint-plugin-prettier": "^3.1.0",
|
72 | "eslint-plugin-react": "^7.14.3",
|
73 | "glob": "^7.1.4",
|
74 | "jest": "^24.9.0",
|
75 | "prettier": "^1.18.2",
|
76 | "react": "^16.8.6",
|
77 | "react-dom": "^16.8.6",
|
78 | "react-test-renderer": "^16.8.6",
|
79 | "redux": "^4.0.4",
|
80 | "rimraf": "^3.0.0",
|
81 | "rollup": "^1.20.2",
|
82 | "rollup-plugin-babel": "^4.3.3",
|
83 | "rollup-plugin-commonjs": "^10.0.2",
|
84 | "rollup-plugin-node-resolve": "^5.2.0",
|
85 | "rollup-plugin-replace": "^2.2.0",
|
86 | "rollup-plugin-terser": "^5.1.1"
|
87 | },
|
88 | "browserify": {
|
89 | "transform": [
|
90 | "loose-envify"
|
91 | ]
|
92 | },
|
93 | "jest": {
|
94 | "coverageDirectory": "./coverage/",
|
95 | "collectCoverage": true,
|
96 | "testURL": "http://localhost"
|
97 | }
|
98 | }
|