-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshadow-cljs.edn
More file actions
70 lines (62 loc) · 2.48 KB
/
shadow-cljs.edn
File metadata and controls
70 lines (62 loc) · 2.48 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
{:source-paths ["src" "test"]
:nrepl {:port 3333}
:dev-http {8021 "out/test"}
:dependencies [[bidi "2.1.5"]
[binaryage/devtools "1.0.7"]
[borkdude/edamame "1.4.24"]
[cljs-ajax/cljs-ajax "0.8.4"]
[camel-snake-kebab/camel-snake-kebab "0.4.3"]
[com.lambdaisland/deja-fu "1.5.62"]
[com.taoensso/timbre "6.2.2"]
[day8.re-frame/re-frame-10x "1.8.1"]
[day8.re-frame/tracing "0.6.2"]
[day8.re-frame/tracing-stubs "0.6.2"]
[kibu/pushy "0.3.8"]
;; [metosin/malli "0.14.0"]
[org.clj-commons/hickory "0.7.4"]
[org.slf4j/slf4j-simple "2.0.11"]
[testdouble/clojurescript.csv "0.8.0"]
[tupelo "23.07.04"]
[reagent "1.2.0"]
[re-frame "1.4.0"]]
:builds {;; テスト on Node.js
:test-local-server
{:target :node-test
:output-to "out/node-tests.js"
:autorun false}
;; テスト on ブラウザ
:test-local-browser
{:target :browser-test
:test-dir "out/test"}
;; テスト on CI
:test-ci
{:target :karma
:output-to "target/ci.js"}
;; ローカル起動 on ブラウザ
:web-local
{:target :browser
:output-dir "public/js"
:asset-path "/js"
:modules {:main {:init-fn moody.core/init}}
:dev
{:closure-defines
{moody.config.env/moody-env "DEV"}
:build-options {:ns-aliases {day8.re-frame.tracing-stubs day8.re-frame.tracing}}
:compiler-options {:closure-defines {re-frame.trace/trace-enabled? true
day8.re-frame.tracing/trace-enabled? true}}}
:devtools
{:http-root "public"
:http-port 3330
;; NOTE: after released 10x over 1.8.3 versions to remove warning related to react 18
:preloads [day8.re-frame-10x.preload #_day8.re-frame-10x.preload.react-18]}}
;; リリースビルド on ブラウザ
:web-github-pages
{:target :browser
:output-dir "public/js"
:asset-path "/js"
:modules
{:main {:init-fn moody.core/init}}
:release
{:build-options {}
:closure-defines
{moody.config.env/moody-env "PROD"}}}}}