-
Notifications
You must be signed in to change notification settings - Fork 2
/
shadow-cljs.edn
54 lines (49 loc) · 2.57 KB
/
shadow-cljs.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{:dependencies [[camel-snake-kebab "0.4.1"]
[cljs-bean "1.5.0"]
[cljsjs/moment "2.24.0-0"]
[com.cognitect/transit-cljs "0.8.256"]
[com.taoensso/timbre "4.10.0"]
[com.taoensso/encore "3.19.0"]
[enlive "1.1.6"]
[hiccup "1.0.5"]
[markdown-clj "1.10.1"]
[matthiasn/systems-toolbox "0.6.41"]
[matthiasn/systems-toolbox-electron "0.6.29"]
[matthiasn/systems-toolbox-sente "0.6.32"]
[org.clojure/core.async "0.7.559"]
[org.clojure/data.avl "0.1.0"]
[org.clojure/tools.reader "1.3.2"]
[re-frame "0.11.0"]
[reagent "0.9.1"]
[vincit/venia "0.2.5"]]
:source-paths ["src/cljc" "src/cljs" "src/js" "src/test"]
:nrepl {:port 8231}
:builds {:main
{:target :node-script
:output-dir "prod/main-shadow"
:output-to "prod/main-shadow/main.js"
:js-options {:js-provider :shadow
:keep-native-requires true
:keep-as-require #{"electron" "keytar"}}
:compiler-options {:optimizations :simple
:output-feature-set :es-next}
:main meins.electron.main.core/init}
:shared-tests
{:target :node-test
:output-to "out/shared-tests.js"}
:renderer
{:target :browser
:output-dir "target/renderer-shadow"
:modules {:main {:init-fn meins.electron.renderer.core/main}}
:js-options {:js-provider :require}
:release {:compiler-options {:optimizations :simple
:output-feature-set :es-next}
:output-dir "prod/renderer-shadow"
:js-options {:js-provider :shadow
:keep-native-requires true
:keep-as-require #{"cldr-data" "electron"}}}
:devtools {:use-document-host false
:loader-mode :eval
:ignore-warnings true
:watch-dir "resources"
:autoload true}}}}