-
-
Notifications
You must be signed in to change notification settings - Fork 193
/
project.clj
65 lines (59 loc) · 2.38 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
(defproject com.taoensso.examples/sente "0.15.1"
:description "Sente, reference web-app example project"
:url "https://github.com/ptaoussanis/sente"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo
:comments "Same as Clojure"}
:min-lein-version "2.3.3"
:global-vars {*warn-on-reflection* true
*assert* true}
:dependencies
[;; [org.clojure/clojure "1.6.0"]
[org.clojure/clojure "1.7.0-alpha1"] ; May use any v1.5.1+
;;
[org.clojure/clojurescript "0.0-2322"]
[org.clojure/core.async "0.1.338.0-5c5012-alpha"]
;;
[com.taoensso/sente "0.15.1"] ; <--- Sente
[com.taoensso/timbre "3.2.1"]
;;
[http-kit "2.1.19"] ; <--- http-kit (currently required)
;;
[compojure "1.1.8"] ; Or routing lib of your choice
[ring "1.3.1"]
;; [ring-anti-forgery "1.0.0"]
[ring/ring-defaults "0.1.1"] ; Incl. `ring-anti-forgery`, etc.
[hiccup "1.0.5"] ; Optional, just for HTML
[org.clojure/core.match "0.2.2"] ; Optional but quite handly
;;
;;; Transit deps optional; may be used to aid perf. of larger data payloads
;;; (see reference example for details):
[com.cognitect/transit-clj "0.8.247"]
[com.cognitect/transit-cljs "0.8.184"]]
:plugins
[[lein-pprint "1.1.1"]
[lein-ancient "0.5.5"]
[com.cemerick/austin "0.1.4"]
[com.keminglabs/cljx "0.4.0"]
[lein-cljsbuild "1.0.3"]]
:hooks [cljx.hooks leiningen.cljsbuild]
:cljx
{:builds
[{:source-paths ["src"] :rules :clj :output-path "target/classes"}
{:source-paths ["src"] :rules :cljs :output-path "target/classes"}]}
:cljsbuild
{:builds ; Compiled in parallel
[{:id :main
:source-paths ["src" "target/classes"]
:compiler {:output-to "resources/public/main.js"
:optimizations :whitespace #_:advanced
:pretty-print true}}]}
;; Call `lein start-dev` to get a (headless) development repl that you can
;; connect to with Cider+emacs or your IDE of choice:
:aliases
{"build-once" ["do" "cljx" "once," "cljsbuild" "once"]
"start-dev" ["repl" ":headless"]}
:repositories
[["sonatype" {:url "http://oss.sonatype.org/content/repositories/releases"
:snapshots false}]])