UNPKG

react-redux

Version:

Official React bindings for Redux

124 lines (123 loc) 4.43 kB
{ "name": "react-redux", "version": "8.0.0-alpha.0", "description": "Official React bindings for Redux", "keywords": [ "react", "reactjs", "redux" ], "license": "MIT", "author": "Dan Abramov <dan.abramov@me.com> (https://github.com/gaearon)", "homepage": "https://github.com/reduxjs/react-redux", "repository": "github:reduxjs/react-redux", "bugs": "https://github.com/reduxjs/react-redux/issues", "main": "./lib/index.js", "types": "./es/index.d.ts", "unpkg": "dist/react-redux.js", "module": "es/index.js", "files": [ "dist", "lib", "src", "es" ], "scripts": { "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --extensions \".js,.ts,.tsx\" --out-dir lib", "build:es": "babel src --extensions \".js,.ts,.tsx\" --out-dir es", "build:umd": "cross-env NODE_ENV=development rollup -c -o dist/react-redux.js", "build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/react-redux.min.js", "build:types": "tsc", "build": "yarn build:types && yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:umd:min", "clean": "rimraf lib dist es coverage", "api-types": "api-extractor run --local", "format": "prettier --write \"{src,test}/**/*.{js,ts}\" \"docs/**/*.md\"", "lint": "eslint src --ext ts,js test/utils test/components test/hooks", "prepare": "yarn clean && yarn build", "pretest": "yarn lint", "test": "jest", "type-tests": "yarn tsc -p test/typetests", "coverage": "codecov" }, "peerDependencies": { "react": "^16.8.3 || ^17 || ^18" }, "peerDependenciesMeta": { "react-dom": { "optional": true }, "react-native": { "optional": true } }, "dependencies": { "@babel/runtime": "^7.12.1", "@types/hoist-non-react-statics": "^3.3.1", "@types/use-sync-external-store": "^0.0.0", "hoist-non-react-statics": "^3.3.2", "loose-envify": "^1.4.0", "prop-types": "^15.7.2", "react-is": "^16.13.1", "use-sync-external-store": "0.0.0-experimental-7d38e4fd8-20210930" }, "devDependencies": { "@babel/cli": "^7.12.1", "@babel/core": "^7.12.3", "@babel/plugin-proposal-decorators": "^7.12.1", "@babel/plugin-proposal-object-rest-spread": "^7.12.1", "@babel/plugin-transform-react-display-name": "^7.12.1", "@babel/plugin-transform-react-jsx": "^7.12.1", "@babel/plugin-transform-runtime": "^7.12.1", "@babel/preset-env": "^7.12.1", "@babel/preset-typescript": "^7.14.5", "@microsoft/api-extractor": "^7.18.1", "@reduxjs/toolkit": "^1.6.1", "@rollup/plugin-babel": "^5.2.1", "@rollup/plugin-commonjs": "^15.1.0", "@rollup/plugin-node-resolve": "^9.0.0", "@rollup/plugin-replace": "^2.3.3", "@testing-library/jest-dom": "^5.11.5", "@testing-library/jest-native": "^3.4.3", "@testing-library/react": "https://pkg.csb.dev/testing-library/react-testing-library/commit/0e2cf7da/@testing-library/react#.tgz", "@testing-library/react-hooks": "^3.4.2", "@testing-library/react-native": "^7.1.0", "@types/create-react-class": "^15.6.3", "@types/object-assign": "^4.0.30", "@types/react": "17.0.19", "@types/react-dom": "^17.0.9", "@types/react-is": "^17.0.1", "@types/react-native": "^0.64.12", "@types/react-redux": "^7.1.18", "@typescript-eslint/eslint-plugin": "^4.28.0", "@typescript-eslint/parser": "^4.28.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.1", "codecov": "^3.8.0", "create-react-class": "^15.7.0", "cross-env": "^7.0.2", "es3ify": "^0.2.0", "eslint": "^7.12.0", "eslint-config-prettier": "^6.14.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.5", "glob": "^7.1.6", "jest": "^26.6.1", "prettier": "^2.1.2", "react": "0.0.0-experimental-7d38e4fd8-20210930", "react-dom": "0.0.0-experimental-7d38e4fd8-20210930", "react-native": "^0.64.1", "react-test-renderer": "0.0.0-experimental-7d38e4fd8-20210930", "redux": "^4.0.5", "rimraf": "^3.0.2", "rollup": "^2.32.1", "rollup-plugin-terser": "^7.0.2", "ts-jest": "26.5.6", "typescript": "^4.3.4" }, "browserify": { "transform": [ "loose-envify" ] } }