/
project.clj
96 lines (72 loc) · 4.77 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
;; social-explorer - A generic social wallet UI which uses the social-wallet-api for a beckend
;; Copyright (C) 2019- Dyne.org foundation
;; Sourcecode designed, written and maintained by
;; TODO:
;; This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
;; This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
;; You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
;; Additional permission under GNU AGPL version 3 section 7.
;; If you modify this Program, or any covered work, by linking or combining it with any library (or a modified version of that library), containing parts covered by the terms of EPL v 1.0, the licensors of this Program grant you additional permission to convey the resulting work. Your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of the libraries (dependencies) covered by the terms of EPL v 1.0 used as well as that of the covered work.
(defproject social-explorer "0.1.0-SNAPSHOT"
:description "Basic block-explorer website"
:url "http://dyne.org"
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.10.0"]
;; Command line processing
[org.clojure/tools.cli "0.4.2"]
;; ring routing
[compojure "1.6.1"]
;; HTTP server abstraction
[ring/ring-core "1.7.1" :exclusions [ring/ring-codec]]
;; ring middleware and defaults
[ring/ring-devel "1.7.1" :exclusions [ring/ring-codec
commons-codec]]
[ring/ring-defaults "0.3.2"]
[ring-middleware-accept "2.0.3"]
; [ring-cors "0.1.13"]
; [ring/ring-session-timeout "0.2.0"]
[ring-logger "1.0.1"]
[etaoin "0.3.5"]
;; Readable time formatter lib
[clj-time "0.15.0"]
;; json
[org.clojure/data.json "0.2.6"]
;; csv
[org.clojure/data.csv "0.1.4"]
;; error handling
[failjure "1.3.0"]
;; logging done right with timbre
[com.taoensso/timbre "4.10.0"]
;; yaml config
[exoscale/yummy "0.2.6"]
;; Data validation
[prismatic/schema "1.1.10"]
;; State management
[mount "0.1.16"]
[tolitius/mount-up "0.1.2" :exclusions [org.clojure/tools.logging]]
;; HTTP server
[http-kit "2.3.0"]
;; Gravatar
[clavatar "0.2.1"]
;; QRcode
[clj.qrgen "0.4.0"]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Dyne libs
;;
;; storage lib
[org.clojars.dyne/clj-storage "0.10.0" :exclusions [com.taoensso/encore
org.clojure/tools.reader]]
;; authentication library
[org.clojars.dyne/just-auth "0.5.0" :exclusions [com.taoensso/encore
org.clojure/tools.reader]]]
:pedantic? :warn
:aliases {"test" "midje"}
:source-paths ["src"]
:resource-paths ["resources"
"test-resources"]
:main social-explorer.core
:profiles {:dev {:dependencies [[midje "1.9.6" :exclusions [io.aviso/pretty commons-codec clj-time]]
[javax.servlet/servlet-api "2.5"]
[org.jsoup/jsoup "1.9.2"]]
:plugins [[lein-midje "3.1.3"]
[lein-ring "0.12.0"]]}}
)