-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
117 lines (94 loc) · 5.06 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
(defproject todomvc-icc-cljs "lein-git-inject/version"
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/clojurescript "1.10.773"
:exclusions [com.google.javascript/closure-compiler-unshaded
org.clojure/google-closure-library
org.clojure/google-closure-library-third-party]]
[thheller/shadow-cljs "2.11.24"]
[reagent "1.0.0"]
[re-frame "1.2.0"]
[day8.re-frame/tracing "0.6.2"]
[garden "1.3.10"]
[ns-tracker "0.4.0"]
[clj-commons/secretary "1.2.4"]]
:plugins [[cider/cider-nrepl "0.25.6"]
[lein-shadow "0.3.1"]
[lein-garden "0.3.0"]
[lein-shell "0.5.0"]
[lein-pprint "1.3.2"]
[day8/lein-git-inject "0.0.14"]]
:middleware [leiningen.git-inject/middleware]
:min-lein-version "2.9.0"
:jvm-opts ["-Xmx1G"]
:source-paths ["src/clj" "src/cljs"]
:test-paths ["test/cljs"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"
"test/js"
"resources/public/css"]
:garden {:builds [{:id "screen"
:source-paths ["src/clj"]
:stylesheet todomvc-icc-cljs.css/screen
:compiler {:output-to "resources/public/css/screen.css"
:pretty-print? true}}]}
:shadow-cljs {:nrepl {:port 8777}
:builds {:app {:target :browser
:output-dir "resources/public/js/compiled"
:asset-path "/js/compiled"
:modules {:app {:init-fn todomvc-icc-cljs.core/init
:preloads [devtools.preload
day8.re-frame-10x.preload
re-frisk.preload]}}
:compiler-options {:closure-defines { todomvc-icc-cljs.config/version "lein-git-inject/version"}}
:dev {:compiler-options {:closure-defines {re-frame.trace.trace-enabled? true
day8.re-frame.tracing.trace-enabled? true}}}
:release {:build-options
{:ns-aliases
{day8.re-frame.tracing day8.re-frame.tracing-stubs}}}
:devtools {:http-root "resources/public"
:http-port 8280
}}
:browser-test
{:target :browser-test
:ns-regexp "-test$"
:runner-ns shadow.test.browser
:test-dir "target/browser-test"
:devtools {:http-root "target/browser-test"
:http-port 8290}}
:karma-test
{:target :karma
:ns-regexp "-test$"
:output-to "target/karma-test.js"}}}
: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"]
[day8.re-frame/re-frame-10x "1.0.2"]
[spec-provider "0.4.14"]
[re-frisk "1.3.12"]]
:source-paths ["dev"]}
:prod {}
}
:prep-tasks [["garden" "once"]])