Skip to content

Commit 070b838

Browse files
committed
Upgrades and remove check-es3-syntax since Rollup breaks it always
1 parent 1094724 commit 070b838

File tree

3 files changed

+708
-682
lines changed

3 files changed

+708
-682
lines changed

package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/redux.js",
2626
"build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/index.js -o dist/redux.min.js",
2727
"build": "yarn run build:commonjs && yarn run build:es && yarn run build:umd && yarn run build:umd:min",
28-
"prepublish": "yarn run clean && yarn run lint && yarn test && yarn run build && check-es3-syntax lib/ dist/ --kill --print",
28+
"prepublish": "yarn run clean && yarn run lint && yarn test && yarn run build",
2929
"examples:lint": "eslint examples",
3030
"examples:test": "cross-env CI=true babel-node examples/testAll.js",
3131
"docs:clean": "rimraf _book",
@@ -93,8 +93,7 @@
9393
"babel-plugin-transform-es3-property-literals": "^6.5.0",
9494
"babel-plugin-transform-object-rest-spread": "^6.3.13",
9595
"babel-register": "^6.3.13",
96-
"check-es3-syntax-cli": "^0.1.1",
97-
"cross-env": "^3.1.4",
96+
"cross-env": "^5.0.1",
9897
"eslint": "^3.8.1",
9998
"eslint-config-react-app": "^0.5.0",
10099
"eslint-plugin-flowtype": "^2.29.2",
@@ -105,11 +104,11 @@
105104
"glob": "^7.1.1",
106105
"jest": "^18.0.0",
107106
"rimraf": "^2.3.4",
108-
"rollup": "^0.41.4",
107+
"rollup": "^0.43.0",
109108
"rollup-plugin-babel": "^2.7.1",
110-
"rollup-plugin-node-resolve": "^2.0.0",
109+
"rollup-plugin-node-resolve": "^3.0.0",
111110
"rollup-plugin-replace": "^1.1.1",
112-
"rollup-plugin-uglify": "^1.0.1",
111+
"rollup-plugin-uglify": "^2.0.1",
113112
"rxjs": "^5.0.0-beta.6",
114113
"typescript": "^1.8.0",
115114
"typescript-definition-tester": "0.0.4"

rollup.config.js

+1-8
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,7 @@ if (env === 'production') {
2727
pure_getters: true,
2828
unsafe: true,
2929
unsafe_comps: true,
30-
warnings: false,
31-
screw_ie8: false
32-
},
33-
mangle: {
34-
screw_ie8: false
35-
},
36-
output: {
37-
screw_ie8: false
30+
warnings: false
3831
}
3932
})
4033
)

0 commit comments

Comments
 (0)