diff --git a/package-lock.json b/package-lock.json index 70a2c69..1c98c27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "liberty-hu", "version": "0.0.1", "dependencies": { + "highlight.js": "11.5.1", "react-dom": "^18.2.0" }, "devDependencies": { @@ -1420,6 +1421,14 @@ "minimalistic-assert": "^1.0.1" } }, + "node_modules/highlight.js": { + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.5.1.tgz", + "integrity": "sha512-LKzHqnxr4CrD2YsNoIf/o5nJ09j4yi/GcH5BnYz9UnVpZdS4ucMgvP61TDty5xJcFGRjnH4DpujkS9bHT3hq0Q==", + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", diff --git a/package.json b/package.json index 1d654ec..71ca329 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "tailwindcss": "^3.3.3" }, "dependencies": { + "highlight.js": "11.5.1", "react-dom": "^18.2.0" } } diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 3c41ae5..850d7bd 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -5,10 +5,24 @@ "src/test"] :dependencies - [[reagent "1.2.0"]] + [[reagent "1.2.0"] + [re-frame "1.3.0"] + [metosin/reitit "0.7.0-alpha5"] + [day8.re-frame/tracing "0.6.2"] + [day8.re-frame/re-frame-10x "1.6.0"]] + + :dev-http {8080 "public"} :builds {:frontend {:target :browser - :modules {:main {:init-fn frontend.app/init}}}}} + :modules + {:main {:init-fn frontend.app/init}} + :devtools + {:preloads [day8.re-frame-10x.preload]} + :dev + {:compiler-options + {:closure-defines + {re-frame.trace.trace-enabled? true + day8.re-frame.tracing.trace-enabled? true}}}}}}