-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
155 lines (138 loc) · 6.59 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
(defproject analyze-change-measurements "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[baking-soda "0.2.0" :exclusions [cljsjs/react-bootstrap]]
[ch.qos.logback/logback-classic "1.2.3"]
[cljs-ajax "0.7.5"]
[cljsjs/react-popper "0.10.4-0"]
[cljsjs/react-transition-group "2.4.0-0"]
[clojure.java-time "0.3.2"]
[com.cognitect/transit-clj "0.8.313"]
[com.fasterxml.jackson.core/jackson-core "2.9.7"]
[com.fasterxml.jackson.datatype/jackson-datatype-jdk8 "2.9.7"]
[com.google.guava/guava "25.1-jre"]
[compojure "1.6.1"]
[cprop "0.1.13"]
[day8.re-frame/http-fx "0.1.6"]
[funcool/struct "1.3.0"]
[kee-frame "0.3.1"]
[luminus-http-kit "0.1.6"]
[luminus-transit "0.1.1"]
[luminus/ring-ttl-session "0.3.2"]
[markdown-clj "1.0.5"]
[metosin/muuntaja "0.6.1"]
[metosin/reitit "0.2.4"]
[metosin/ring-http-response "0.9.0"]
[mount "0.1.14"]
[nrepl "0.4.5"]
[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.439" :scope "provided"]
[org.clojure/tools.cli "0.4.1"]
[org.clojure/tools.logging "0.4.1"]
[org.webjars.bower/tether "1.4.4"]
[org.webjars/bootstrap "4.1.3"]
[org.webjars/font-awesome "5.4.1"]
[org.webjars/webjars-locator "0.34"]
[re-frame "0.10.6"]
[reagent "0.8.1"]
[ring-webjars "0.2.0"]
[ring/ring-core "1.7.1"]
[ring/ring-defaults "0.3.2"]
[secretary "1.2.3"]
[selmer "1.12.3"]
[re-posh "0.3.0"]
[com.datomic/datomic-pro "0.9.5786"]
[org.postgresql/postgresql "9.3-1102-jdbc41"]
[me.raynes/fs "1.4.6"]]
:min-lein-version "2.0.0"
:repositories {"my.datomic.com" {:url "https://my.datomic.com/repo"
:creds :gpg}}
:source-paths ["src/clj" "src/cljs" "src/cljc"]
:test-paths ["test/clj"]
:resource-paths ["resources" "target/cljsbuild"]
:target-path "target/%s/"
:main ^:skip-aot analyze-change-measurements.core
:plugins [[lein-cljsbuild "1.1.7"]]
:clean-targets ^{:protect false}
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
:figwheel
{:server-ip ~(.getHostAddress (java.net.InetAddress/getLocalHost)) ; ~(-> "http://checkip.amazonaws.com" slurp clojure.string/trim)
:http-server-root "public"
:server-logfile "log/figwheel-logfile.log"
:nrepl-port 7002
:css-dirs ["resources/public/css"]
:nrepl-middleware
[cider/wrap-cljs-repl cider.piggieback/wrap-cljs-repl]}
:profiles
{:uberjar {:omit-source true
:prep-tasks ["compile" ["cljsbuild" "once" "min"]]
:cljsbuild
{:builds
{:min
{:source-paths ["src/cljc" "src/cljs" "env/prod/cljs"]
:compiler
{:output-dir "target/cljsbuild/public/js"
:output-to "target/cljsbuild/public/js/app.js"
:source-map "target/cljsbuild/public/js/app.js.map"
:optimizations :advanced
:pretty-print false
:infer-externs true
:closure-warnings
{:externs-validation :off :non-standard-jsdoc :off}
:externs ["react/externs/react.js"]}}}}
:aot :all
:uberjar-name "analyze-change-measurements.jar"
:source-paths ["env/prod/clj"]
:resource-paths ["env/prod/resources"]}
:dev [:project/dev :profiles/dev]
:test [:project/dev :project/test :profiles/test]
:project/dev {:jvm-opts ["-Dconf=dev-config.edn"]
:dependencies [[binaryage/devtools "0.9.10"]
[cider/piggieback "0.3.10"]
[doo "0.1.10"]
[expound "0.7.1"]
[figwheel-sidecar "0.5.17"]
[pjstadig/humane-test-output "0.9.0"]
[prone "1.6.1"]
[re-frisk "0.5.4"]
[ring/ring-devel "1.7.1"]
[ring/ring-mock "0.3.2"]]
:plugins [[com.jakemccrary/lein-test-refresh "0.23.0"]
[lein-doo "0.1.10"]
[lein-figwheel "0.5.17"]]
:cljsbuild
{:builds
{:app
{:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
:figwheel
{:on-jsload "analyze-change-measurements.core/mount-components"
:websocket-host :js-client-host}
:compiler
{:main "analyze-change-measurements.app"
:asset-path "/js/out"
:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/cljsbuild/public/js/out"
:source-map true
:optimizations :none
:pretty-print true
:closure-defines {"re_frame.trace.trace_enabled_QMARK_" true}
:preloads [re-frisk.preload]}}}}
:doo {:build "test"}
:source-paths ["env/dev/clj"]
:resource-paths ["env/dev/resources"]
:repl-options {:init-ns user :nrepl-middleware [cider.piggieback/wrap-cljs-repl]}}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:project/test {:jvm-opts ["-Dconf=test-config.edn"]
:resource-paths ["env/test/resources"]
:cljsbuild
{:builds
{:test
{:source-paths ["src/cljc" "src/cljs" "test/cljs"]
:compiler
{:output-to "target/test.js"
:main "analyze-change-measurements.doo-runner"
:optimizations :whitespace
:pretty-print true}}}}}
:profiles/dev {}
:profiles/test {}})