-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
160 lines (152 loc) · 7.42 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 ephyra "0.1.0-SNAPSHOT"
:description "Generic DAG Jobs Dashboard"
:url "https://github.com/infectious/ephyra"
:dependencies [[cider/cider-nrepl "0.17.0"]
[clj-http "3.9.0"]
[clj-statsd "0.4.0"]
[clj-time "0.14.4"]
[cljs-ajax "0.7.4"]
[cljs-pikaday "0.1.4"]
[clojure-future-spec "1.9.0-alpha14"] ; Backport of core.spec
[com.7theta/re-frame-fx "0.2.1"]
[com.andrewmcveigh/cljs-time "0.5.2"]
; override the version required by ring-middleware-format
[com.ibm.icu/icu4j "62.1"]
; override the version required by org.webjars/webjars-locator
[com.fasterxml.jackson.core/jackson-databind "2.9.6"] ; 2.9.5 not released yet - CVE-2018-7489
[com.google.cloud.sql/postgres-socket-factory "1.0.10"
:exclusions [com.google.guava/guava mysql/mysql-connector-java]]
[compojure "1.6.1"]
[conman "0.6.3"]
[cprop "0.1.11"]
[funcool/bide "1.6.0"]
[io.sentry/sentry-clj "0.7.2"]
[io.sentry/sentry-logback "1.7.5"]
[io.weft/gregor "0.7.0" :exclusions [log4j/log4j org.slf4j/slf4j-log4j12]]
[io.weft/gregor "0.7.0"]
[kibu/pushy "0.3.8"]
[luminus-immutant "0.2.4"]
[luminus-migrations "0.5.2"]
[luminus-nrepl "0.1.4"]
[markdown-clj "1.0.2"]
[metosin/ring-http-response "0.9.0"]
[mount "0.1.12"]
; override webjars-locator-jboss-vfs' version that causes problems with lein-nvd:
[org.apache.commons/commons-lang3 "3.7"]
[org.apache.kafka/kafka_2.12 "1.1.1"]
[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.10.339" :scope "provided"]
[org.clojure/core.async "0.4.474"]
[org.clojure/test.check "0.9.0"] ; Used by clojure.spec/gen.
[org.clojure/tools.cli "0.3.7"]
[org.clojure/tools.logging "0.4.1"]
[org.postgresql/postgresql "42.2.4"]
[org.slf4j/log4j-over-slf4j "1.7.25"] ; Kafka indirectly depends on slf4j.
[org.webjars.bower/tether "1.4.4"]
[org.webjars/bootstrap "4.1.1"]
[org.webjars/font-awesome "5.1.0"]
[org.webjars/webjars-locator-jboss-vfs "0.1.0"]
[re-frame "0.10.5"]
[reagent "0.8.1"]
[reagent-utils "0.3.1"]
[ring-middleware-format "0.7.2"]
[ring-webjars "0.2.0"]
[ring/ring-defaults "0.3.2"]
[ring/ring-core "1.6.3"] ; Override compojure's 1.6.0
[secretary "1.2.3"]
[selmer "1.11.8"]
[slingshot "0.12.2"]]
:min-lein-version "2.0.0"
:jvm-opts ["-server" "-Dconf=.lein-env"]
:source-paths ["src/clj" "src/cljc"]
:test-paths ["test/clj"]
:resource-paths ["resources" "target/cljsbuild"]
:target-path "target/%s/"
:main ephyra.core
:migratus {:store :database :db ~(get (System/getenv) "DATABASE_URL")}
:plugins [[lein-cprop "1.0.1"]
[migratus-lein "0.4.3"]
[lein-cljsbuild "1.1.4"]
[lein-immutant "2.1.0"]
[jonase/eastwood "0.2.8"]]
:clean-targets ^{:protect false}
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
:figwheel
{:http-server-root "public"
:nrepl-port 7002
:css-dirs ["resources/public/css"]
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl cider.nrepl/cider-middleware]}
:nvd {:suppression-file "security-excuses.xml"}
: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-to "target/uberjar/cljsbuild/public/js/app.js"
;:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/uberjar/cljsbuild/public/js/out"
:externs ["react/externs/react.js"
"externs/dagre.js"]
:optimizations :advanced
:source-map "target/uberjar/cljsbuild/public/js/app.map"
:pretty-print false
:closure-warnings
{:externs-validation :off :non-standard-jsdoc :off}}}}}
:aot :all
:uberjar-name "ephyra.jar"
:source-paths ["env/prod/clj"]
:resource-paths ["env/prod/resources" "target/uberjar/cljsbuild"]}
:dev [:project/dev :profiles/dev]
:test [:project/dev :project/test :profiles/test]
:project/dev {:dependencies [[prone "1.6.0"]
[ring/ring-mock "0.3.2"]
[ring/ring-devel "1.6.3"]
[pjstadig/humane-test-output "0.8.3"]
[binaryage/devtools "0.9.10"]
[com.cemerick/piggieback "0.2.2"]
[doo "0.1.10"]
[figwheel-sidecar "0.5.16"]
[day8.re-frame/re-frame-10x "0.3.3"]]
:plugins [[cider/cider-nrepl "0.16.0"]
[com.jakemccrary/lein-test-refresh "0.14.0"]
[lein-doo "0.1.7"]
[lein-figwheel "0.5.16"]
[lein-nvd "0.4.2"]
[org.clojure/clojurescript "1.10.339"]]
:cljsbuild
{:builds
{:app
{:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
:compiler
{:main "ephyra.app"
:asset-path "/js/out"
:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/cljsbuild/public/js/out"
:source-map true
:closure-defines {"re_frame.trace.trace_enabled_QMARK_" true}
:preloads [day8.re-frame-10x.preload]
:optimizations :none
:pretty-print true}}}}
:doo {:build "test"}
:source-paths ["env/dev/clj" "test/clj"]
:resource-paths ["env/dev/resources"]
:repl-options {:init-ns user
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}
:project/test {:resource-paths ["env/test/resources"]
:cljsbuild
{:builds
{:test
{:source-paths ["src/cljc" "src/cljs" "test/cljs"]
:compiler
{:output-to "target/test.js"
:main "ephyra.doo-runner"
:optimizations :whitespace
:pretty-print true}}}}
}
:profiles/dev {}
:profiles/test {}})