Skip to content

Commit 43d2b16

Browse files
committed
chore: packages update, excluded IE (1.5% globally) to reduce .min file
1 parent aae83e7 commit 43d2b16

File tree

3 files changed

+1557
-1359
lines changed

3 files changed

+1557
-1359
lines changed

package.json

+26-25
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"src",
1515
"index.d.ts"
1616
],
17+
"browserslist": ["> 2%"],
1718
"scripts": {
1819
"clean": "rimraf lib dist",
1920
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
@@ -35,50 +36,50 @@
3536
"pre-push": "npm run lint"
3637
},
3738
"dependencies": {
38-
"debug": "^4.3.1",
39-
"immer": "9.0.1",
39+
"debug": "^4.3.2",
40+
"immer": "9.0.5",
4041
"lodash": "^4.17.21",
4142
"reduce-reducers": "^1.0.4"
4243
},
4344
"devDependencies": {
44-
"@babel/cli": "^7.13.14",
45-
"@babel/core": "^7.13.15",
46-
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
47-
"@babel/plugin-transform-runtime": "^7.13.15",
48-
"@babel/preset-env": "^7.13.15",
49-
"@babel/preset-react": "^7.13.13",
50-
"@babel/register": "^7.13.14",
51-
"@babel/runtime": "^7.13.10",
45+
"@babel/cli": "^7.14.5",
46+
"@babel/core": "^7.14.6",
47+
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
48+
"@babel/plugin-transform-runtime": "^7.14.5",
49+
"@babel/preset-env": "^7.14.7",
50+
"@babel/preset-react": "^7.14.5",
51+
"@babel/register": "^7.14.5",
52+
"@babel/runtime": "^7.14.6",
5253
"babel-eslint": "^10.1.0",
5354
"babel-loader": "^8.2.2",
5455
"babel-plugin-lodash": "^3.3.4",
5556
"babel-plugin-module-resolver": "^4.1.0",
5657
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
5758
"chai": "^4.3.4",
58-
"codecov": "^3.8.1",
59+
"codecov": "^3.8.2",
5960
"cross-env": "^7.0.3",
60-
"eslint": "^7.24.0",
61+
"eslint": "^7.30.0",
6162
"eslint-config-airbnb-base": "^14.2.1",
6263
"eslint-config-google": "^0.14.0",
63-
"eslint-config-prettier": "^8.2.0",
64+
"eslint-config-prettier": "^8.3.0",
6465
"eslint-plugin-babel": "^5.3.1",
65-
"eslint-plugin-import": "^2.22.1",
66-
"eslint-plugin-jsdoc": "^32.3.0",
66+
"eslint-plugin-import": "^2.23.4",
67+
"eslint-plugin-jsdoc": "^35.4.3",
6768
"eslint-plugin-jsx-a11y": "^6.4.1",
6869
"eslint-plugin-prettier": "^3.4.0",
69-
"eslint-plugin-react": "^7.23.2",
70-
"firebase": "^8.4.1",
71-
"husky": "^6.0.0",
70+
"eslint-plugin-react": "^7.24.0",
71+
"firebase": "^8.7.1",
72+
"husky": "^7.0.1",
7273
"mocha": "^7.0.1",
7374
"nyc": "^15.1.0",
74-
"prettier": "2.2.1",
75-
"redux": "^4.0.5",
75+
"prettier": "2.3.2",
76+
"redux": "^4.1.0",
7677
"rimraf": "^3.0.2",
77-
"sinon": "^10.0.0",
78-
"sinon-chai": "^3.6.0",
79-
"terser-webpack-plugin": "^5.1.1",
80-
"webpack": "^5.33.2",
81-
"webpack-cli": "^4.6.0"
78+
"sinon": "^11.1.1",
79+
"sinon-chai": "^3.7.0",
80+
"terser-webpack-plugin": "^5.1.4",
81+
"webpack": "^5.44.0",
82+
"webpack-cli": "^4.7.2"
8283
},
8384
"license": "MIT",
8485
"homepage": "https://github.com/prescottprue/redux-firestore#readme",

webpack.config.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ const config = {
2525
rules: [
2626
{
2727
test: /(\.jsx|\.js)$/,
28-
use: 'babel-loader',
28+
use: {
29+
loader: 'babel-loader',
30+
options: {
31+
presets: ['@babel/preset-env'],
32+
},
33+
},
2934
exclude: /node_modules/,
3035
},
3136
],

0 commit comments

Comments
 (0)