forked from teaDesign/VotingInfoApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
70 lines (58 loc) · 2.62 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
(defproject early-vote-site "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.597"]
[cljs-ajax "0.8.0"]
[cljs-pikaday "0.1.4"]
[com.andrewmcveigh/cljs-time "0.5.2"]
[day8.re-frame/http-fx "0.1.6"]
[re-frame "0.12.0"]
[reagent "0.10.0"]]
:plugins [[lein-cljsbuild "1.1.7"]]
:min-lein-version "2.5.3"
:source-paths ["src/clj"]
:resource-paths ["resources" "."]
:clean-targets ^{:protect false} ["public/assets/js/compiled" "target"
"resources/test/"]
:figwheel {:css-dirs ["resources/public/css"]
:http-server-root "public"}
:profiles
{:dev
{:dependencies [[binaryage/devtools "1.0.0"]
[cider/piggieback "0.4.2"]
[figwheel-sidecar "0.5.19"]
[doo "0.1.11"]]
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
:plugins [[lein-figwheel "0.5.19"]
[lein-doo "0.1.11"]]}}
:doo {:build "test"
:paths {:karma "env TZ=UTC node_modules/.bin/karma"}}
:aliases {"test-chrome" ["doo" "chrome-headless" "test" "once"]
"test" ["doo" "firefox-headless" "test" "once"]}
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "early-vote-site.core/mount-root"
:autoload false}
:compiler {:main early-vote-site.core
:output-to "public/assets/js/compiled/early_vote.js"
:output-dir "public/assets/js/compiled/out"
:asset-path "assets/js/compiled/out"
:source-map-timestamp true
:optimizations :none
:preloads [devtools.preload]
:external-config {:devtools/config {:features-to-install :all}}}}
{:id "test"
:source-paths ["src/cljs" "test/cljs"]
:compiler {:output-to "resources/test/compiled.js"
:output-dir "resources/test/out"
:main early-vote-site.test-runner
:optimizations :none
:pretty-print true}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main early-vote-site.core
:output-to "public/assets/js/compiled/early_vote.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}}]})