-
Notifications
You must be signed in to change notification settings - Fork 12
/
project.clj
47 lines (42 loc) · 1.96 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
(defproject react-tutorial-om "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/tools.reader "0.8.3"]
;; CLJ
[ring/ring-core "1.2.0"]
[compojure "1.1.6"]
[cheshire "5.3.1"]
;; CLJS
[org.clojure/clojurescript "0.0-2138"]
[org.clojure/core.async "0.1.267.0-0d7780-alpha"]
[secretary "0.4.0"]
[markdown-clj "0.9.40"]
[cljs-http "0.1.2"]
[om "0.1.7"]]
:plugins [[lein-cljsbuild "1.0.0"]
[lein-ring "0.8.7"]]
:ring {:handler react-tutorial-om.core/app
:init react-tutorial-om.core/init}
:source-paths ["src/clj"]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src/cljs"]
:compiler {
:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
:optimizations :none
:source-map true
:externs ["om/externs/react.js"]}}
{:id "release"
:source-paths ["src/cljs"]
:compiler {
:output-to "resources/public/js/app.js"
:source-map "resources/public/js/app.js.map"
:optimizations :advanced
:pretty-print false
:output-wrapper false
:preamble ["om/react.min.js"]
:externs ["om/externs/react.js"]
:closure-warnings
{:non-standard-jsdoc :off}}}]})