-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathshadow-cljs.edn
89 lines (78 loc) · 5.1 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{:deps {:aliases [:dev]}
:nrepl {:port 9000}
:builds {:main {:target :browser
:output-dir "resources/public/js/main"
:asset-path "/js/main"
:modules {:main {:init-fn app.client-f7/init
:entries [app.client-f7]}}
;; ghostwheel enforcement only during dev
:dev {:compiler-options
{:external-config {:ghostwheel {}}}}
:devtools {:after-load app.client-f7/refresh
:preloads [com.fulcrologic.fulcro.inspect.preload app.development-preload]}}
:cordova-app {
:target :browser
:output-dir "cordova/www/js/main"
:asset-path "/js/main"
:modules {:main {:init-fn app.client-f7/init
:entries [app.client-f7]}}
:dev {:compiler-options
{:external-config {:ghostwheel {}}}}
:devtools {
:http-port 8280
:http-root "cordova/www"
:after-load app.client-f7/refresh
:preloads [com.fulcrologic.fulcro.inspect.preload app.development-preload]
:use-document-host false}}
:cordova-inplace {
:target :browser
:output-dir "cordova/platforms/android/app/src/main/assets/www/js/main"
:asset-path "/js/main"
:modules {:main {:init-fn app.client-f7/init
:entries [app.client-f7]}}
:dev {:compiler-options
{:external-config {:ghostwheel {}}}}
:devtools {
:http-port 8284
:http-root "cordova/platforms/android/app/src/main/assets/www/"
:preloads [app.cordova-preload app.development-preload]
:use-document-host false
:devtools-url "http://172.22.99.134:9630"
}}
:ios-inplace {
:target :browser
:output-dir "cordova/platforms/ios/www/js/main"
:asset-path "/js/main"
:modules {:main {:init-fn app.client-f7/init
:entries [app.client-f7]}}
:dev {:compiler-options
{:external-config {:ghostwheel {}}}}
:devtools {
:http-port 8284
:http-root "cordova/platforms/android/app/src/main/assets/www/"
:preloads [app.cordova-preload app.development-preload]
:use-document-host false
:devtools-url "http://localhost:9630"
}}
:test {:target :browser-test
:test-dir "resources/public/js/test"
:ns-regexp "-(test|ws)$"
;; required for mocking to work
:compiler-options {:static-fns false
:external-config {:ghostwheel {}}}
:devtools {:http-port 8022
:http-resource-root "public"
:http-root "resources/public/js/test"}}
:ci-tests {:target :karma
:js-options {:js-provider :shadow}
:compiler-options {:static-fns false} ; required for mocking to work
:output-to "target/ci.js"
:ns-regexp "-(test|ws)$"}
:workspaces {:target nubank.workspaces.shadow-cljs.target
:ns-regexp "-(test|ws)$"
:output-dir "resources/public/workspaces/js"
:asset-path "/workspaces/js"
:devtools {:preloads [com.fulcrologic.fulcro.inspect.preload]
:http-root "resources/public"
:http-port 8023
:http-resource-root "."}}}}