Browse Source

chore: changed options of bundle-analyser

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 5 years ago
parent
commit
553cc4a556
1 changed files with 3 additions and 1 deletions
  1. 3 1
      frontend/package.json

+ 3 - 1
frontend/package.json

@@ -9,7 +9,7 @@
   "repository": "https://github.com/Musare/MusareNode",
   "scripts": {
     "lint": "npx eslint . --ext .js,.vue",
-    "bundle-analyse": "webpack --config webpack.prod.js --profile --json > bundle-stats.json && npx webpack-bundle-analyzer bundle-stats.json",
+    "bundle-analyse": "webpack --config webpack.prod.js --profile --json > bundle-stats.json && npx webpack-bundle-analyzer bundle-stats.json --mode static --report bundle-report.html --no-open",
     "dev": "webpack-dev-server --config webpack.dev.js",
     "prod": "webpack --config webpack.prod.js",
     "test": "snyk test"
@@ -45,7 +45,9 @@
   "dependencies": {
     "@babel/runtime": "^7.5.4",
     "chart.js": "^2.5.0",
+    "chartjs-adapter-date-fns": "^0.1.2",
     "config": "^3.2.2",
+    "date-fns": "^2.0.1",
     "eslint-config-airbnb-base": "^13.2.0",
     "html-webpack-plugin": "^3.2.0",
     "vue": "^2.6.10",