-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
64 lines (51 loc) · 2.17 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
(defproject dative "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.908"]
[alandipert/storage-atom "1.2.4"]
[cljs-ajax "0.7.3"]
[day8.re-frame/http-fx "0.1.5"]
[garden "1.3.2"]
[ns-tracker "0.3.0"]
[reagent "0.7.0"]
[re-com "2.1.0"]
[re-frame "0.10.5"]
[secretary "1.2.3"]]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-garden "0.2.8"]]
:min-lein-version "2.5.3"
:source-paths ["src/clj"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"
"resources/public/css"]
:figwheel {:css-dirs ["resources/public/css"]
:server-port 3450}
:garden {:builds [{:id "screen"
:source-paths ["src/clj"]
:stylesheet dative.css/screen
:compiler {:output-to "resources/public/css/screen.css"
:pretty-print? true}}]}
:profiles
{:dev
{:dependencies [[binaryage/devtools "0.9.4"]]
:plugins [[lein-figwheel "0.5.13"]]}}
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "dative.core/mount-root"}
:compiler {:main dative.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:source-map-timestamp true
:preloads [devtools.preload]
:external-config {:devtools/config {:features-to-install :all}}
}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main dative.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}}
]}
)