Update node dependencies

This commit is contained in:
Bartek Fabiszewski 2020-12-26 21:32:31 +01:00
parent fd79e35acb
commit 0171c2afd3
11 changed files with 1871 additions and 3603 deletions

2
js/dist/1.bundle.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
js/dist/521.bundle.js vendored Normal file

File diff suppressed because one or more lines are too long

1
js/dist/521.bundle.js.map vendored Normal file

File diff suppressed because one or more lines are too long

2
js/dist/bundle.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@ const path = require('path');
module.exports = function(config) {
config.set({
basePath: 'js/',
frameworks: [ 'jasmine' ],
frameworks: [ 'jasmine', 'webpack' ],
files: [
{ pattern: 'test/*.test.js', type: 'module' },
{ pattern: 'test/helpers/*.js', type: 'module', included: false },

5414
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,42 +18,42 @@
"author": "Bartek Fabiszewski",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-loader": "^8.2.2",
"browserlist": "^1.0.1",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^6.1.1",
"core-js": "^3.6.5",
"csso": "^4.0.3",
"eslint": "^7.10.0",
"copy-webpack-plugin": "^7.0.0",
"core-js": "^3.8.1",
"csso": "^4.2.0",
"eslint": "^7.16.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jasmine": "^4.1.1",
"husky": "^4.3.0",
"husky": "^4.3.6",
"istanbul-instrumenter-loader": "^3.0.1",
"jasmine": "^3.6.1",
"jasmine": "^3.6.3",
"karma": "^5.2.3",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^4.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^4.0.2",
"karma-webpack": "^v5.0.0-alpha.5",
"prepush-if-changed": "^1.0.8",
"puppeteer": "^5.3.1",
"puppeteer": "^5.5.0",
"regenerator-runtime": "^0.13.7",
"stylelint": "^13.7.2",
"stylelint": "^13.8.0",
"stylelint-config-standard": "^20.0.0",
"terser-webpack-plugin": "^4.2.2",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-merge": "^5.1.4"
"terser-webpack-plugin": "^5.0.3",
"webpack": "^5.11.0",
"webpack-cli": "^4.3.0",
"webpack-merge": "^5.7.3"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime-corejs3": "^7.11.2",
"@babel/runtime": "^7.12.5",
"@babel/runtime-corejs3": "^7.12.5",
"chartist": "^0.11.4",
"chartist-plugin-axistitle": "0.0.7",
"ol": "^6.4.3"

View File

@ -27,9 +27,9 @@ module.exports = {
}),
new CopyWebpackPlugin({
patterns: [
{ from: 'css/src/*.css', to: cssDist, flatten: true, transform: cssTransform },
{ from: 'node_modules/ol/ol.css', to: cssDist, flatten: true, transform: cssTransform },
{ from: 'node_modules/chartist/dist/chartist.css', to: cssDist, flatten: true, transform: cssTransform }
{ from: 'css/src/*.css', to: `${cssDist}/[name].[ext]`, transform: cssTransform },
{ from: 'node_modules/ol/ol.css', to: `${cssDist}/[name].[ext]`, transform: cssTransform },
{ from: 'node_modules/chartist/dist/chartist.css', to: `${cssDist}/[name].[ext]`, transform: cssTransform }
]
})
],

View File

@ -8,9 +8,7 @@ module.exports = merge(common, {
optimization: {
minimizer: [
new TerserPlugin({
cache: true,
parallel: true,
sourceMap: true,
terserOptions: {
compress: {
pure_funcs: [ 'console.log' ]