-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
91 lines (79 loc) · 3.83 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
(defproject re-frame-git "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.9.0-alpha4"]
[org.clojure/clojurescript "1.9.36"]
[ring/ring-core "1.4.0"]
[ring/ring-jetty-adapter "1.4.0"]
[reagent "0.6.0-alpha"]
[environ "1.0.3"]
[re-frame "0.7.0"]
[cljs-http "0.1.40"]
[garden "1.3.2"]
[cljsjs/d3 "3.5.16-0"]
[cljsjs/highlight "8.4-0"]
[secretary "1.2.3"]
[metosin/reagent-dev-tools "0.1.0"]
[compojure "1.5.0"]
[clj-http "3.1.0"]
[ring "1.4.0"]
[ring/ring-json "0.4.0"]
[prismatic/schema "1.1.1"]
[markdown-clj "0.9.89"]]
:min-lein-version "2.5.3"
:source-paths ["src/clj" "src/cljs"]
:plugins [[lein-cljsbuild "1.1.3"]
[lein-figwheel "0.5.2"]
[lein-garden "0.2.6"]
[lein-doo "0.1.6"]
[lein-ring "0.9.7"]
[lein-environ "1.0.3"]]
:clean-targets ^{:protect false} ["resources/public/js/compiled"
"target"
"test/js"
"resources/public/css/compiled"]
:profiles {:dev {:dependencies [[com.cemerick/piggieback "0.2.1"]
[org.clojure/tools.nrepl "0.2.12"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
:uberjar {:main re-frame-git.server.core
:source-paths ["src/clj" "src/cljs"]
:prep-tasks ["compile" ["cljsbuild" "once" "min"]]
:hooks [leiningen.garden]
:aot :all
:omit-source true}}
:main ^:skip-aot re-frame-git.server.core
:ring {:handler re-frame-git.server.core/app}
:figwheel {:ring-handler re-frame-git.server.core/app
:repl false
:css-dirs ["resources/public/css"]}
:garden {:builds [{:id "screen"
:source-paths ["src/clj"]
:stylesheet re-frame-git.styles.core/screen
:compiler {:output-to "resources/public/css/compiled/screen.css"
:pretty-print? true}}]}
:doo {:build "test"}
:cljsbuild {:builds [{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "re-frame-git.core/mount-root"}
:compiler {:main re-frame-git.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:optimizations :none
:source-map true
:source-map-timestamp true
:verbose true}}
{:id "test"
:source-paths ["src/cljs" "src/clj" "test/cljs"]
:compiler {:output-to "resources/public/js/compiled/test.js"
:main re-frame-git.runner
:optimizations :none}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main re-frame-git.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print true
:pseudo-names true
:verbose true}}]}
:uberjar-name "re-frame-git.jar"
:uberjar-exclusions [#"test/cljs"])