This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathproject.clj
57 lines (49 loc) · 3.38 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
(defproject conduit "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.9.946"]
[reagent "0.8.0-alpha2"]
[re-frame "0.10.2"]
[cljs-ajax "0.7.3"]
[day8.re-frame/http-fx "0.1.4"]
[secretary "1.2.3"]
[com.andrewmcveigh/cljs-time "0.5.2"]
[binaryage/devtools "0.9.8"]
[proto-repl "0.3.1"]
[re-frisk "0.5.3"]]
:jvm-opts ["--add-modules" "java.xml.bind"]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-doo "0.1.8"]
[lein-figwheel "0.5.14"]]
:hooks [leiningen.cljsbuild]
:aliases {"dev" ["do" "clean" ["figwheel"]]
"prod" ["do" "clean" ["with-profile" "prod" "compile"]]}
:profiles {:dev {:cljsbuild
{:builds {:client {:compiler {:asset-path "js"
:optimizations :none
:source-map true
:source-map-timestamp true
:preloads [re-frisk.preload devtools.preload]
:main "conduit.core"}
:figwheel {:on-jsload "conduit.core/main"}}}}}
:prod {:cljsbuild
{:builds {:client {:compiler {:optimizations :advanced
:elide-asserts true
:pretty-print false}}}}}
:test {:cljsbuild
{:builds {:client {:source-paths ["src/conduit" "test"]
:compiler {:optimizations :none
:main test.runner
:output-to "resources/public/test"
:output-dir "resources/public/test/out"}}}}}}
:figwheel {:server-port 3449
:repl true}
:clean-targets ^{:protect false} ["resources/public/js" "target"]
:cljsbuild {:builds {:client {:source-paths ["src/conduit"]
:compiler {:output-dir "resources/public/js"
:output-to "resources/public/js/client.js"
:closure-warnings {:global-this :off}
:process-shim true
:install-deps true
:npm-deps {"react" "15.6.2"
"react-dom" "15.6.2"
"create-react-class" "15.6.2"}}}}})