Skip to content

Instantly share code, notes, and snippets.

@ashnur
Last active Jun 10, 2020
Embed
What would you like to do?
{:builds
{:anon-app {:asset-path "/static/js/dist"
:modules {:new-app {:init-fn anon-app.core/main}}
:output-dir "../dist"
:closure-defines {anon-app.core/BASEURL #shadow/env "/uk/api/"}
:target :browser
:devtools {:preloads [shadow.remote.runtime.cljs.browser]}
:release {:modules {:new-app {:init-fn anon-app.core/main}}
:compiler-options {:infer-externs :auto
:output-feature-set :es7
:output-dir "../dist"}}}
:cards {:asset-path "/js"
:modules {:main {:init-fn anon-app.cards/main}}
:compiler-options {:devcards true}
:output-dir "public/js"
:closure-defines {anon-app.core/BASEURL "http://localhost:8000/uk/api"}
:target :browser
:js-options {:resolve {"devcards-marked" {:target :npm :require "marked"}
"devcards-syntax-highlighter" {:target :npm :require "highlight.js"}}}
:devtools {:preloads [anon-app.spec]}
:build-options {:ns-aliases {devcards-marked cljsjs.marked}}}
; devcards-syntax-highlighter cljsjs.highlight}}
:test {:ns-regexp "app.cards"
:output-to "out/test.js"
:target :node-test}
:e2e {:ns-regexp "e2e.*"
:output-to "out/e2e.js"
:target :node-test}
:mock-host {:target :node-script
:main mock-host.core/main
:output-to "mock-host/server.js"
:devtools {:before-load-async mock-host.script/stop
:after-load mock-host.script/start}}}
:dependencies [[lilactown/helix "0.0.12"]
[devcards "0.2.6"]
[cljs-http "0.1.46"]
[sablono "0.8.6"]
[json-html "0.4.7"]
[cljs-bean "1.5.0"]
[cider/cider-nrepl "0.25.2"]]
:dev-http {3000 "public"}
:nrepl {:port 3333}
:source-paths ["src"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment