1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +02:00

Update dependencies and reduce build size by switching to fipp for pretty-printing

Before:  :main [JS: 742.51 KB] [GZIP: 187.08 KB]
After:   :main [JS: 634.35 KB] [GZIP: 163.7 KB]
This commit is contained in:
Arne Schlüter 2018-11-27 02:21:08 +01:00
commit 061fa174f0
4 changed files with 422 additions and 430 deletions

837
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -26,11 +26,11 @@
}, },
"dependencies": { "dependencies": {
"@hugojosefson/color-hash": "^2.0.3", "@hugojosefson/color-hash": "^2.0.3",
"bulma": "^0.7.1", "bulma": "^0.7.2",
"create-react-class": "^15.6.3", "create-react-class": "^15.6.3",
"open-iconic": "^1.1.1", "open-iconic": "^1.1.1",
"react": "^16.3.2", "react": "^16.6.3",
"react-dom": "^16.3.2" "react-dom": "^16.6.3"
}, },
"devDependencies": { "devDependencies": {
"gh-pages": "^1.2.0", "gh-pages": "^1.2.0",
@ -38,11 +38,11 @@
"karma-chrome-launcher": "^2.2.0", "karma-chrome-launcher": "^2.2.0",
"karma-cljs-test": "^0.1.0", "karma-cljs-test": "^0.1.0",
"karma-notify-reporter": "^1.0.1", "karma-notify-reporter": "^1.0.1",
"node-sass": "^4.9.2", "node-sass": "^4.10.0",
"npm-run-all": "^4.1.2", "npm-run-all": "^4.1.5",
"react-flip-move": "^3.0.1", "react-flip-move": "^3.0.3",
"react-highlight.js": "^1.0.7", "react-highlight.js": "^1.0.7",
"sass": "^1.3.2", "sass": "^1.15.1",
"shadow-cljs": "^2.6.1" "shadow-cljs": "^2.7.6"
} }
} }

View file

@ -3,11 +3,12 @@
["src/cljs", "test/cljs"] ["src/cljs", "test/cljs"]
:dependencies :dependencies
[[reagent "0.7.0"] [[reagent "0.8.0"]
[re-frame "0.10.5"] [re-frame "0.10.6"]
[day8.re-frame/http-fx "0.1.6"] [day8.re-frame/http-fx "0.1.6"]
[akiroz.re-frame/storage "0.1.2"] [akiroz.re-frame/storage "0.1.2"]
[funcool/bide "1.6.0"] [funcool/bide "1.6.0"]
[fipp "0.6.14"]
;; debugging ;; debugging
[day8.re-frame/re-frame-10x "0.3.3-react16"] [day8.re-frame/re-frame-10x "0.3.3-react16"]
[day8.re-frame/tracing "0.5.1"] [day8.re-frame/tracing "0.5.1"]

View file

@ -1,5 +1,5 @@
(ns airsonic-ui.components.debug.views (ns airsonic-ui.components.debug.views
(:require [clojure.pprint :refer [pprint]])) (:require [fipp.edn :refer [pprint]]))
(defn debug (defn debug
"Returns a nicely formatted debug view of any given data structure" "Returns a nicely formatted debug view of any given data structure"