forked from vcq88ts/voidnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshadow-cljs.edn
More file actions
77 lines (62 loc) · 2.9 KB
/
shadow-cljs.edn
File metadata and controls
77 lines (62 loc) · 2.9 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
;; shadow-cljs configuration
{:source-paths
["src"]
:dependencies
[
[reagent "1.2.0"]
[cider/cider-nrepl "0.43.3"] ;; mandatory (unless it's inherited from deps.edn or otherwise present in the classpath of shadow-cljs's JVM process)
[refactor-nrepl/refactor-nrepl "3.9.0"]
[org.clojure/spec.alpha "LATEST" ]
[taipei.404/html-to-hiccup "0.1.8"]
[hiccups "0.3.0"]
[cljs-http "0.1.48"]
[com.rpl/specter "1.1.4"]
[cljs-ajax "0.8.4"]
[thi.ng/color "1.5.1"]
[net.mikera/core.matrix "0.63.0"]
;; [rum "0.12.11"]
]
;; :dev-http {8080 "public"}
:nrepl {:middleware [cider.nrepl/cider-middleware ;; it's advisable to explicitly add this middleware. It's automatically added by shadow-cljs (if available in the classpath), unless `:nrepl {:cider false}`
refactor-nrepl.middleware/wrap-refactor] ;; refactor-nrepl is optional
:port 50655} ;; optional - if not specified, a random free port will be used
:builds
{
:voidnet {
;; :asset-path "public/voidnet"
:modules {:main {:init-fn symautre.voidnet/init}}
:output-dir "resources/public/voidnet/js"
:target :browser
;; :dev-http {8081 "public/voidnet"}
:devtools {:after-load symautre.voidnet/init
:http-root "resources/public/voidnet"
:http-port 3005
;; :preloads [shadow.cljs.devtools.client.hud
;; day8.re-frame-10x.preload
;; dirac.runtime.preload
;; devtools.preload]
}
}
;; :voidnet-node {
;; ;; :asset-path "public/voidnet"
;; :modules {:main {:init-fn symautre.voidnet-node/init}}
;; :output-dir "resources/public/voidnet-node/js"
;; :output-to "resources/public/voidnet-node/js/script.js"
;; :target :node-script
;; :main symautre.voidnet-node/init
;; :devtools {:repl-init-ns symautre.voidnet-node/init, :repl-pprint true},
;; :port 3010
;; ;; :nrepl {:port 9000
;; ;; :middleware []} ; optional list of namespace-qualified symbols
;; ;; :dev-http {8081 "public/voidnet"}
;; ;; :devtools {:after-load symautre.voidnet-node/init
;; ;; :http-root "resources/public/voidnet-node"
;; ;; :http-port 3005
;; ;; ;; :preloads [shadow.cljs.devtools.client.hud
;; ;; ;; day8.re-frame-10x.preload
;; ;; ;; dirac.runtime.preload
;; ;; ;; devtools.preload]
;; ;; }
;; }
}
}