Skip to content

Commit f204804

Browse files
committed
chore: dependencies update
- chore: drop @babel/polyfill in favour of core-js@3 and regenerator-runtime - update: `@coreui/coreui` to `^2.1.12` - update: `@coreui/coreui-plugin-chartjs-custom-tooltips` to `^1.3.1` - update: `chart.js` to `^2.8.0` - update: `core-js` to `^3.1.3` - update: `flag-icon-css` to `^3.3.0` - update: `jquery` to `^3.4.1` - update: `popper.js` to `^1.15.0` - add: `regenerator-runtime` to `^0.13.2` - update: `@babel/cli` to `^7.4.4` - update: `@babel/core` to `^7.4.5` - update: `@babel/plugin-proposal-object-rest-spread` to `^7.4.4` - add: `@babel/plugin-proposal-throw-expressions` to `^7.2.0` - update: `@babel/preset-env` to `^7.4.5` - update: `autoprefixer` to `^9.6.0` - update: `browser-sync` to `^2.26.7` - update: `clean-css-cli` to `^4.3.0` - update: `js-beautify` to `^1.10.0` - update: `nodemon` to `^1.19.1` - update: `node-sass` to `^4.12.0` - update: `eslint` to `^5.16.0` - update: `eslint-plugin-compat` to `^3.1.1` - update: `stylelint` to `^10.1.0` - update: `stylelint-config-recommended-scss` to `^3.3.0` - update: `stylelint-config-standard` to `^18.3.0` - update: `stylelint-order` to `^3.0.0` - update: `stylelint-scss` to `^3.8.0`
1 parent 07e8192 commit f204804

File tree

3 files changed

+46
-31
lines changed

3 files changed

+46
-31
lines changed

.babelrc.js

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,33 @@
11
module.exports = {
22
presets: [
33
[
4-
'@babel/env',
4+
"@babel/preset-env",
55
{
6+
"targets": {
7+
"esmodules": true,
8+
"ie": 10
9+
},
10+
useBuiltIns: "usage",
11+
corejs: {version: 3, proposals: true},
612
loose: true,
713
modules: false,
8-
exclude: ['transform-typeof-symbol']
14+
exclude: ["transform-typeof-symbol"]
915
}
1016
]
1117
],
1218
plugins: [
13-
process.env.PLUGINS && 'transform-es2015-modules-strip',
14-
['@babel/proposal-object-rest-spread', {loose: true, useBuiltIns: true}]
19+
process.env.PLUGINS && "transform-es2015-modules-strip",
20+
[
21+
"@babel/proposal-object-rest-spread", {
22+
loose: true,
23+
useBuiltIns: true
24+
}
25+
],
26+
"@babel/plugin-proposal-throw-expressions"
1527
].filter(Boolean),
1628
env: {
1729
test: {
18-
plugins: [ 'istanbul' ]
30+
plugins: ["istanbul"],
1931
}
2032
}
2133
};

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"no-extra-parens": "error",
1414
"no-prototype-builtins": "error",
1515
"no-template-curly-in-string": "error",
16-
"compat/compat": "error",
16+
"compat/compat": "warn",
1717
"valid-jsdoc": "error",
1818

1919
// Best Practices
@@ -31,6 +31,7 @@
3131
"guard-for-in": "error",
3232
"no-alert": "error",
3333
"no-caller": "error",
34+
"no-console": "warn",
3435
"no-div-regex": "error",
3536
"no-else-return": "error",
3637
"no-empty-function": "error",

package.json

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -63,49 +63,51 @@
6363
"watch-pug": "nodemon -e pug -x \"npm run pug\""
6464
},
6565
"dependencies": {
66-
"@coreui/coreui": "^2.1.7",
67-
"@coreui/coreui-plugin-chartjs-custom-tooltips": "1.2.0",
66+
"@coreui/coreui": "^2.1.12",
67+
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1",
6868
"@coreui/icons": "0.3.0",
6969
"bootstrap": "^4.3.1",
70-
"chart.js": "2.7.3",
71-
"core-js": "^2.6.5",
72-
"flag-icon-css": "^3.2.1",
73-
"font-awesome": "4.7.0",
74-
"jquery": "3.3.1",
70+
"chart.js": "^2.8.0",
71+
"core-js": "^3.1.3",
72+
"flag-icon-css": "^3.3.0",
73+
"font-awesome": "~4.7.0",
74+
"jquery": "^3.4.1",
7575
"pace-progress": "1.0.2",
7676
"perfect-scrollbar": "^1.4.0",
77-
"popper.js": "^1.14.7",
77+
"popper.js": "^1.15.0",
78+
"regenerator-runtime": "^0.13.2",
7879
"simple-line-icons": "2.4.1"
7980
},
8081
"devDependencies": {
81-
"@babel/cli": "^7.2.3",
82-
"@babel/core": "^7.3.3",
83-
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
84-
"@babel/preset-env": "^7.3.1",
85-
"autoprefixer": "^9.4.8",
82+
"@babel/cli": "^7.4.4",
83+
"@babel/core": "^7.4.5",
84+
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
85+
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
86+
"@babel/preset-env": "^7.4.5",
87+
"autoprefixer": "^9.6.0",
8688
"babel-eslint": "^10.0.1",
8789
"babel-plugin-transform-es2015-modules-strip": "^0.1.1",
88-
"browser-sync": "^2.26.3",
90+
"browser-sync": "^2.26.7",
8991
"chalk": "^2.4.2",
90-
"clean-css-cli": "^4.2.1",
92+
"clean-css-cli": "^4.3.0",
9193
"copyfiles": "^2.1.0",
9294
"cross-env": "^5.2.0",
93-
"eslint": "^5.14.1",
94-
"eslint-plugin-compat": "^2.7.0",
95+
"eslint": "^5.16.0",
96+
"eslint-plugin-compat": "^3.1.1",
9597
"foreach-cli": "^1.8.1",
96-
"js-beautify": "^1.8.9",
97-
"node-sass": "^4.11.0",
98-
"nodemon": "^1.18.10",
98+
"js-beautify": "^1.10.0",
99+
"node-sass": "^4.12.0",
100+
"nodemon": "^1.19.1",
99101
"npm-run-all": "^4.1.5",
100102
"postcss-cli": "^6.1.2",
101103
"pug": "^2.0.3",
102104
"rimraf": "^2.6.3",
103105
"shelljs": "^0.8.3",
104-
"stylelint": "^9.10.1",
105-
"stylelint-config-recommended-scss": "^3.2.0",
106-
"stylelint-config-standard": "^18.2.0",
107-
"stylelint-order": "^2.0.0",
108-
"stylelint-scss": "^3.5.3"
106+
"stylelint": "^10.1.0",
107+
"stylelint-config-recommended-scss": "^3.3.0",
108+
"stylelint-config-standard": "^18.3.0",
109+
"stylelint-order": "^3.0.0",
110+
"stylelint-scss": "^3.8.0"
109111
},
110112
"engines": {
111113
"node": ">=6"

0 commit comments

Comments
 (0)