-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathproject.clj
42 lines (42 loc) · 1.5 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
(defproject glosa "1.3.8"
:description "glosa"
:url "https://github.com/tanrax/glosa"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [;; Clojure
[org.clojure/clojure "1.10.1"]
;; Tadam core
[tadam-core "0.4.4"]
;; HTTP Server
[ring "1.8.0"]
;; Ring middleware that prevents CSRF attacks
[ring/ring-defaults "0.3.2"]
[ring/ring-anti-forgery "1.3.0"]
;; Routing
[compojure "1.6.1"]
;; Cors
[ring-cors "0.1.13"]
;; Templates
[selmer "1.12.12"]
;; Validations
[jkkramer/verily "0.6.0"]
;; JSON encoding
[cheshire "5.9.0"]
;; Yaml
[clj-yaml "0.4.0"]
;; SMTP
[com.draines/postal "2.0.3"]
;; Linter
[clj-kondo "RELEASE"]]
:plugins [;; DEV TOOLS
;;; Check idiomatic bug
[lein-kibit "0.1.7"]]
;; Map configuration for Ring
:ring {:handler glosa.core.wrapped-handler}
;; ALIAS
:aliases {"check-idiomatic" ["kibit" "src"]
"check-lint" ["run" "-m" "clj-kondo.main" "--lint" "src"]}
;; LEIN
:main ^:skip-aot glosa.core
:aot [glosa.core]
:repl-options {:init-ns glosa.core})