1 | {
|
2 | "name": "redux",
|
3 | "version": "3.7.2",
|
4 | "description": "Predictable state container for JavaScript apps",
|
5 | "main": "lib/index.js",
|
6 | "module": "es/index.js",
|
7 | "jsnext:main": "es/index.js",
|
8 | "typings": "./index.d.ts",
|
9 | "files": [
|
10 | "dist",
|
11 | "lib",
|
12 | "es",
|
13 | "src",
|
14 | "index.d.ts"
|
15 | ],
|
16 | "scripts": {
|
17 | "clean": "rimraf lib dist es coverage",
|
18 | "lint": "eslint src test build",
|
19 | "test": "cross-env BABEL_ENV=commonjs jest",
|
20 | "test:watch": "yarn test -- --watch",
|
21 | "test:cov": "yarn test -- --coverage",
|
22 | "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
|
23 | "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
|
24 | "build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/redux.js",
|
25 | "build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/index.js -o dist/redux.min.js",
|
26 | "build": "yarn run build:commonjs && yarn run build:es && yarn run build:umd && yarn run build:umd:min",
|
27 | "prepare": "yarn run clean && yarn run lint && yarn test && yarn run build",
|
28 | "examples:lint": "eslint examples",
|
29 | "examples:test": "cross-env CI=true babel-node examples/testAll.js",
|
30 | "docs:clean": "rimraf _book",
|
31 | "docs:prepare": "gitbook install",
|
32 | "docs:build": "yarn run docs:prepare && gitbook build -g reactjs/redux && cp logo/apple-touch-icon.png _book/gitbook/images/apple-touch-icon-precomposed-152.png && cp logo/favicon.ico _book/gitbook/images",
|
33 | "docs:watch": "yarn run docs:prepare && gitbook serve",
|
34 | "docs:publish": "yarn run docs:clean && yarn run docs:build && cp CNAME _book && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:reactjs/redux gh-pages --force"
|
35 | },
|
36 | "repository": {
|
37 | "type": "git",
|
38 | "url": "https://github.com/reactjs/redux.git"
|
39 | },
|
40 | "keywords": [
|
41 | "redux",
|
42 | "reducer",
|
43 | "state",
|
44 | "predictable",
|
45 | "functional",
|
46 | "immutable",
|
47 | "hot",
|
48 | "live",
|
49 | "replay",
|
50 | "flux",
|
51 | "elm"
|
52 | ],
|
53 | "authors": [
|
54 | "Dan Abramov <dan.abramov@me.com> (https://github.com/gaearon)",
|
55 | "Andrew Clark <acdlite@me.com> (https://github.com/acdlite)"
|
56 | ],
|
57 | "license": "MIT",
|
58 | "bugs": {
|
59 | "url": "https://github.com/reactjs/redux/issues"
|
60 | },
|
61 | "homepage": "http://redux.js.org",
|
62 | "dependencies": {
|
63 | "lodash": "^4.2.1",
|
64 | "lodash-es": "^4.2.1",
|
65 | "loose-envify": "^1.1.0",
|
66 | "symbol-observable": "^1.0.3"
|
67 | },
|
68 | "devDependencies": {
|
69 | "babel-cli": "^6.3.15",
|
70 | "babel-core": "^6.3.15",
|
71 | "babel-eslint": "^7.0.0",
|
72 | "babel-jest": "^20.0.3",
|
73 | "babel-plugin-check-es2015-constants": "^6.3.13",
|
74 | "babel-plugin-transform-es2015-arrow-functions": "^6.3.13",
|
75 | "babel-plugin-transform-es2015-block-scoped-functions": "^6.3.13",
|
76 | "babel-plugin-transform-es2015-block-scoping": "^6.3.13",
|
77 | "babel-plugin-transform-es2015-classes": "^6.3.13",
|
78 | "babel-plugin-transform-es2015-computed-properties": "^6.3.13",
|
79 | "babel-plugin-transform-es2015-destructuring": "^6.3.13",
|
80 | "babel-plugin-transform-es2015-for-of": "^6.3.13",
|
81 | "babel-plugin-transform-es2015-function-name": "^6.3.13",
|
82 | "babel-plugin-transform-es2015-literals": "^6.3.13",
|
83 | "babel-plugin-transform-es2015-modules-commonjs": "^6.3.13",
|
84 | "babel-plugin-transform-es2015-object-super": "^6.3.13",
|
85 | "babel-plugin-transform-es2015-parameters": "^6.3.13",
|
86 | "babel-plugin-transform-es2015-shorthand-properties": "^6.3.13",
|
87 | "babel-plugin-transform-es2015-spread": "^6.3.13",
|
88 | "babel-plugin-transform-es2015-sticky-regex": "^6.3.13",
|
89 | "babel-plugin-transform-es2015-template-literals": "^6.3.13",
|
90 | "babel-plugin-transform-es2015-unicode-regex": "^6.3.13",
|
91 | "babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
|
92 | "babel-plugin-transform-es3-property-literals": "^6.5.0",
|
93 | "babel-plugin-transform-object-rest-spread": "^6.3.13",
|
94 | "babel-register": "^6.3.13",
|
95 | "cross-env": "^5.0.1",
|
96 | "eslint": "^4.0.0",
|
97 | "eslint-config-react-app": "^1.0.4",
|
98 | "eslint-plugin-flowtype": "^2.29.2",
|
99 | "eslint-plugin-import": "^2.2.0",
|
100 | "eslint-plugin-jsx-a11y": "^5.0.3",
|
101 | "eslint-plugin-react": "^7.1.0",
|
102 | "gitbook-cli": "^2.3.0",
|
103 | "glob": "^7.1.1",
|
104 | "jest": "^20.0.4",
|
105 | "rimraf": "^2.3.4",
|
106 | "rollup": "^0.43.0",
|
107 | "rollup-plugin-babel": "^2.7.1",
|
108 | "rollup-plugin-node-resolve": "^3.0.0",
|
109 | "rollup-plugin-replace": "^1.1.1",
|
110 | "rollup-plugin-uglify": "^2.0.1",
|
111 | "rxjs": "^5.0.0-beta.6",
|
112 | "typescript": "^1.8.0",
|
113 | "typescript-definition-tester": "0.0.4"
|
114 | },
|
115 | "npmName": "redux",
|
116 | "npmFileMap": [
|
117 | {
|
118 | "basePath": "/dist/",
|
119 | "files": [
|
120 | "*.js"
|
121 | ]
|
122 | }
|
123 | ],
|
124 | "browserify": {
|
125 | "transform": [
|
126 | "loose-envify"
|
127 | ]
|
128 | },
|
129 | "jest": {
|
130 | "testRegex": "(/test/.*\\.spec.js)$"
|
131 | }
|
132 | }
|