-
Notifications
You must be signed in to change notification settings - Fork 8
/
project.clj
160 lines (140 loc) · 6.03 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
156
157
158
159
160
(defproject byf "0.1.0-SNAPSHOT"
:description "Manage leagues of players uisng the Elo algorithm"
:url "http://github.com/AndreaCrotti/elo"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/tools.reader "1.3.2"]
[org.clojure/spec.alpha "0.2.176"]
[clj-http "3.10.0"]
[prone "2019-07-08"]
[integrant "0.7.0"]
[integrant/repl "0.3.1"]
[com.bhauman/figwheel-main "0.2.3"]
;; server side libs
[org.clojure/data.csv "0.1.4"]
[aero "1.1.3"]
[ring "1.7.1"]
[org.clojure/java.jdbc "0.7.10"]
[org.postgresql/postgresql "42.2.8"]
[nilenso/honeysql-postgres "0.2.6"]
[honeysql "0.9.8"]
[environ/environ.core "0.3.1"]
[hiccup "1.0.5"]
[ring/ring-json "0.5.0"]
[bk/ring-gzip "0.3.0"]
[ring-oauth2 "0.1.4"]
[ring/ring-defaults "0.3.2"]
[ring/ring-mock "0.4.0"]
[buddy "2.0.0"]
[buddy/buddy-auth "2.2.0"]
[migratus "1.0.9"]
;;TODO: move these to the test profile
[org.clojure/test.check "0.10.0"]
[junit/junit "4.12"]
;; [org.clojure/clojurescript "1.10.439"]
[org.clojure/clojurescript "1.10.520"]
[re-frame "0.10.9"]
[com.degel/re-frame-firebase "0.8.0"]
[reagent-utils "0.3.3"]
[org.webjars/font-awesome "5.10.1"]
[antizer "0.3.1"]
[day8.re-frame/tracing-stubs "0.5.3"]
[expound "0.7.2"]
[cljsjs/react "16.9.0-0"]
[cljsjs/react-dom "16.9.0-0"]
;; [metasoarous/oz "1.3.1"]
[cljsjs/vega-lite "3.4.0-0"]
[cljsjs/vega "5.4.0-0"]
[ns-tracker "0.4.0"]
[cljsjs/moment "2.24.0-0"]
[day8.re-frame/http-fx "0.1.6"]
[com.andrewmcveigh/cljs-time "0.5.2"]
[cljs-ajax "0.8.0"]
[cljs-http "0.1.46"]
[ring-cljsjs "0.2.0"]
[lambdaisland/uri "1.2.1"]
[bidi "2.1.6"]
[com.cemerick/url "0.1.1"]
[venantius/accountant "0.2.4"]
[medley "1.2.0"]
[metosin/ring-http-response "0.9.1"]
[datascript "0.18.5"]
[aysylu/loom "1.0.2"]
[reifyhealth/specmonstah "2.0.0-alpha-1"]
[com.taoensso/timbre "4.10.0" :exclusions [com.taoensso/encore]]
[http-kit "2.3.0"]
[com.taoensso/sente "1.14.0-RC2"]
[org.clojure/tools.cli "0.4.2"]]
:plugins [[lein-environ "1.1.0"]
[migratus-lein "0.5.0"]
[lein-doo "0.1.6"]
[lein-cljsbuild "1.1.4"]
[jonase/eastwood "0.3.3"]
[lein-ring "0.9.7"]
[test2junit "1.3.3"]]
;; :pedantic? :warn
:test2junit-output-dir ~(or (System/getenv "CIRCLE_TEST_REPORTS") "target/test2junit")
:uberjar-name "byf.jar"
:min-lein-version "2.8.1"
:source-paths ["src/cljc" "src/clj" "src/cljs"]
:test-paths ["test/clj" "test/cljc"]
:ring {:handler byf.api/app}
:resource-paths ["resources"]
;; :main ^:skip-aot datomic-app.core
:migratus {:store :database
:migration-dir "migrations"
;; can use environ here??
:db ~(get (System/getenv) "DATABASE_URL")}
:aliases {"fig" ["trampoline" "run" "-m" "figwheel.main"]
"fig:build" ["trampoline" "run" "-m" "figwheel.main" "-b" "dev"]
"cljs-prod" ["run" "-m" "figwheel.main" "--build-once" "prod"]
"test-cljs" ["doo" "rhino" "test" "once"]
"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]
"seed" ["run" "-m" "byf.seed"]}
:cljfmt {:indents {for-all [[:block 1]]
fdef [[:block 1]]
checking [[:inner 0]]}}
:profiles
{:kaocha {:dependencies [[lambdaisland/kaocha "0.0-541"]
[lambdaisland/kaocha-cloverage "0.0-32"]
[lambdaisland/kaocha-junit-xml "0.0-70"]]}
:uberjar {:hooks []
:source-paths ["src/clj" "src/cljc"]
:prep-tasks [["compile"]
["cljsbuild" "once" "min"]]
:omit-source true
:aot [byf.api]
:main byf.api}
:test
{:env {:environment :test}}
:dev
{:ring {:stacktrace-middleware prone.middleware/wrap-exceptions}
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
:source-paths ["src/cljc" "src/clj" "src/cljs" "dev"]
:plugins [[migratus-lein "0.5.0"]
[lein-cljfmt "0.5.7"]]
:env {:environment :dev}
:dependencies [[binaryage/devtools "0.9.10"]
[cider/piggieback "0.4.1"]
[org.mozilla/rhino "1.7.11"]
[day8.re-frame/re-frame-10x "0.4.3"]
[day8.re-frame/tracing "0.5.3"]
[com.bhauman/rebel-readline-cljs "0.1.4"]
[ring/ring-mock "0.4.0"]]}}
:cljsbuild
{:builds
[{:id "test"
:source-paths ["src/cljs" "src/cljc" "test/cljs" "test/cljc"]
:compiler {:output-to "target/unit-test.js"
:main 'byf.runner
:optimizations :whitespace}}
{:id "min"
:source-paths ["src/cljs" "src/cljc"]
:compiler {:main byf.core
:output-to "resources/public/cljs-out/dev-main.js"
:asset-path "resources/public/cljs-out/byf"
:optimizations :advanced
:parallel-build true
:closure-defines {goog.DEBUG true}
:pretty-print true}}]})