-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.clj
69 lines (54 loc) · 2.88 KB
/
project.clj
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
(defproject dice-and-clocks "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/clojurescript "1.10.844"
:exclusions [com.google.javascript/closure-compiler-unshaded
org.clojure/google-closure-library
org.clojure/google-closure-library-third-party]]
[thheller/shadow-cljs "2.11.23"]
[reagent "1.0.0"]
[re-frame "1.2.0"]
[cljs-bean/cljs-bean "1.5.0"]]
:plugins [[lein-shadow "0.3.1"]
[lein-shell "0.5.0"]]
:min-lein-version "2.9.0"
:source-paths ["src"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:shadow-cljs {:nrepl {:port 8777}
:builds {:app {:target :browser
:output-dir "resources/public/js/compiled"
:asset-path "/js/compiled"
:modules {:app {:init-fn dice-and-clocks.core/init
:preloads [devtools.preload]}}
:devtools {:http-root "resources/public"
:http-port 8280
}}}}
:shell {:commands {"karma" {:windows ["cmd" "/c" "karma"]
:default-command "karma"}
"open" {:windows ["cmd" "/c" "start"]
:macosx "open"
:linux "xdg-open"}}}
:aliases {"dev" ["do"
["shell" "echo" "\"DEPRECATED: Please use lein watch instead.\""]
["watch"]]
"watch" ["with-profile" "dev" "do"
["shadow" "watch" "app" "browser-test" "karma-test"]]
"prod" ["do"
["shell" "echo" "\"DEPRECATED: Please use lein release instead.\""]
["release"]]
"release" ["with-profile" "prod" "do"
["shadow" "release" "app"]]
"build-report" ["with-profile" "prod" "do"
["shadow" "run" "shadow.cljs.build-report" "app" "target/build-report.html"]
["shell" "open" "target/build-report.html"]]
"karma" ["do"
["shell" "echo" "\"DEPRECATED: Please use lein ci instead.\""]
["ci"]]
"ci" ["with-profile" "prod" "do"
["shadow" "compile" "karma-test"]
["shell" "karma" "start" "--single-run" "--reporters" "junit,dots"]]}
:profiles {
:dev {:dependencies [[binaryage/devtools "1.0.2"]]
:source-paths ["dev"]}
:prod {}
}
:prep-tasks [])