-
Notifications
You must be signed in to change notification settings - Fork 8
/
project.clj
175 lines (153 loc) · 10.1 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
(defproject salava "3.13.5"
:description "Salava application server"
:url "http://salava.org"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.10.0"]
[com.stuartsierra/component "0.3.2"]
[org.clojure/tools.nrepl "0.2.13"]
; Dependecy conflict overrides
[com.google.guava/guava "28.0-jre"] ; Google Core Libraries for Java
[commons-logging "1.2"]
[commons-codec "1.12"]
[com.google.code.findbugs/jsr305 "3.0.2"]
[org.apache.tika/tika-parsers "1.22"]
; Database
[org.clojure/java.jdbc "0.7.9"]
[hikari-cp "2.7.1"]
[mysql/mysql-connector-java "8.0.16"]
[yesql "0.5.3" :exclusions [instaparse]]
[migratus "1.2.3"]
; Server side
[http-kit "2.3.0"]
[ring/ring-core "1.7.1"]
[ring/ring-devel "1.7.1" :exclusions [clj-stacktrace]]
[ring/ring-defaults "0.3.2"]
[ring-webjars "0.2.0" :exclusions [com.fasterxml.jackson.core/jackson-databind]]
[ring/ring-mock "0.4.0"]
[compojure "1.6.1"]
[cheshire "5.8.1"]
[org.clojure/core.memoize "0.7.1"]
[metosin/compojure-api "1.1.12" :exclusions [potemkin]]
[hiccup "1.0.5"]
[org.clojure/data.json "0.2.6"]
[clj-time "0.15.1"]
[prismatic/schema "1.1.10"]
[clojurewerkz/propertied "1.3.0"]
[com.draines/postal "2.0.3"]
[org.clojure/core.async "0.4.490"]
[clj-http "3.10.0"]
[enlive "1.1.6" :exclusions [org.jsoup/jsoup]]
[markdown-clj "1.10.0"]
[ar.com.hjg/pngj "2.1.0"]
[com.novemberain/pantomime "2.11.0" :exclusions [org.apache.tika/tika-parsers javax.activation/activation]]
[com.github.kyleburton/clj-xpath "1.4.11"]
[digest "1.4.9"]
[org.clojure/tools.cli "0.4.2"]
[alxlit/autoclave "0.2.0"]
[clj.qrgen "0.4.0"]
[clj-pdf "2.2.34" :exclusions [org.apache.xmlgraphics/batik-bridge]]
[clj-pdf-markdown "0.2.1"]
[org.clojure/core.cache "0.7.2"]
[org.apache.xmlgraphics/batik-transcoder "1.11"]
[org.apache.xmlgraphics/batik-codec "1.11"]
[org.apache.xmlgraphics/batik-anim "1.11"]
[org.apache.xmlgraphics/xmlgraphics-commons "2.3"]
[pdfboxing "0.1.13" :exclusions [org.apache.pdfbox/pdfbox]]
[org.clojure/data.zip "0.1.1"]
[org.clojure/data.csv "1.0.0"]
[com.google.auth/google-auth-library-oauth2-http "0.20.0"
:exclusions [com.google.guava/guava org.apache.httpcomponents/httpclient org.apache.httpcomponents/httpcore com.fasterxml.jackson.core/jackson-core]]
; Client side
[org.clojure/clojurescript "1.10.520" :exclusions [com.google.errorprone/error_prone_annotations]]
[reagent "0.8.1"]
[reagent-utils "0.3.3"]
[bidi "2.1.6"]
[kibu/pushy "0.3.8"]
[com.taoensso/tower "3.1.0-beta3"]
[cljs-ajax "0.8.0"]
[org.clojars.frozenlock/reagent-modals "0.2.8"]
[com.lucasbradstreet/cljs-uuid-utils "1.0.2"]
[metosin/komponentit "0.3.8"]
[com.cemerick/url "0.1.1"]
[cljsjs/clipboard "1.6.1-1"]
[cljsjs/simplemde "1.11.2-0"]
[prismatic/dommy "1.1.0"] [org.webjars/jquery "2.2.4"]
[org.webjars/bootstrap "3.3.7"]
[org.webjars/font-awesome "4.7.0"]
[org.webjars/es5-shim "4.5.9"]
[org.webjars/es6-shim "0.20.2"]
[org.webjars/leaflet "1.4.0"]
; Logging: use logback with slf4j, redirect JUL, JCL and Log4J:
[org.clojure/tools.logging "0.4.1"]
[ch.qos.logback/logback-classic "1.2.3"]
[org.slf4j/slf4j-api "1.7.26"]
[org.slf4j/jul-to-slf4j "1.7.26"] ; JUL to SLF4J
[org.slf4j/jcl-over-slf4j "1.7.26"] ; JCL to SLF4J
[org.slf4j/log4j-over-slf4j "1.7.26"] ; Log4j to SLF4J
[cljsjs/recharts "1.6.2-0"]
; Testing
[midje "1.9.8" :exclusions [org.clojure/tools.namespace clj-time]]
; Auth
[buddy "2.0.0" :exclusions [org.bouncycastle/bcpkix-jdk15on]]]
:source-paths ["src/clj" "src/cljs" "src/cljc"]
:java-source-paths ["src/java"]
:test-paths ["test/clj" "test/cljs" "test/cljc"]
:profiles {:dev {:source-paths ["src/dev-clj"]
:dependencies [[figwheel-sidecar "0.5.18" :exclusions [args4j]]
;[com.cemerick/piggieback "0.2.1"]
;[org.clojure/tools.namespace "0.3.0-alpha4"]
[lein-midje "3.2.1"]
[reloaded.repl "0.2.4"]]
;:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:plugins [[lein-pdo "0.1.1"]
[lein-cljsbuild "1.1.7" :exclusions [org.clojure/clojure]]
[lein-scss "0.3.0"]
[lein-figwheel "0.5.18"]]
:resource-paths ["target/generated"]}
:uberjar {:resource-paths ["target/adv"]
:main salava.core.main
:omit-source true
:aot :all}}
:scss {:builds
{:dev {:source-dir "src/scss"
:dest-dir "target/generated/public/css"
:executable "sass"
:args ["--line-numbers" "-I" "src/scss" "-t" "nested"]}
:adv {:source-dir "src/scss"
:dest-dir "target/adv/public/css"
:executable "sass"
:args ["-I" "src/scss/" "-t" "compressed"]}}}
:figwheel {:http-server-root "public"
:server-port 3450
:css-dirs ["target/generated/public/css"]
:repl false
:server-logfile "target/figwheel-logfile.log"}
:cljsbuild {:builds {:dev {:source-paths ["src/cljs" "src/cljc" "src/dev-cljs"]
:compiler {:main "salava.core.ui.figwheel"
:asset-path "/js/out"
:output-to "target/generated/public/js/salava.js"
:output-dir "target/generated/public/js/out"
:source-map true
:optimizations :none
:cache-analysis true
:pretty-print true}}
:adv {:source-paths ["src/cljs" "src/cljc"]
:compiler {:main "salava.core.ui.main"
:externs ["resources/public/js/externs/jquery.ext.js" "resources/public/js/externs/externs.js"]
:output-to "target/adv/public/js/salava.js"
:optimizations :advanced
:elide-asserts true
:pretty-print false}}}}
:auto-clean false
:min-lein-version "2.7.1"
:pedantic? :abort
:aliases {"develop" ["do" "clean" ["pdo" ["figwheel"] ["scss" ":dev" "boring"]]]
"css" ["do" ["pdo" ["scss" ":dev" "boring"]]]
"uberjar" ["with-profile" "uberjar" "do" "clean" ["cljsbuild" "once" "adv"] ["scss" ":adv" "once" "boring"] "uberjar"]
"translate" ["run" "-m" "salava.core.translator/translate"]
"migrate" ["run" "-m" "salava.core.migrator/migrate"]
"rollback" ["run" "-m" "salava.core.migrator/rollback"]
"migrator-remove" ["run" "-m" "salava.core.migrator/remove-plugin"]
"migrator-seed" ["run" "-m" "salava.core.migrator/seed"]
"migrator-reset" ["run" "-m" "salava.core.migrator/reset"]})