-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.clj
51 lines (43 loc) · 2.17 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
(defproject nchart "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src/clj" "src/cljs"]
:dependencies [[com.cemerick/piggieback "0.1.3"]
[compojure "1.1.9"]
[enlive "1.1.5"]
[environ "1.0.0"]
[figwheel "0.1.4-SNAPSHOT"]
[om "0.7.1"]
[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2342"]
[org.clojure/core.rrb-vector "0.0.11"]
[ring "1.3.1"]
[weasel "0.4.0-SNAPSHOT"]]
:plugins [[com.cemerick/austin "0.1.5"]
[lein-cljsbuild "1.0.3"]]
:min-lein-version "2.0.0"
:uberjar-name "nchart.jar"
:cljsbuild {:builds {:app {:source-paths ["src/cljs"]
:compiler {:output-to "resources/public/app.js"
:output-dir "resources/public/out"
:source-map "resources/public/out.js.map"
:preamble ["react/react.min.js"]
:externs ["react/externs/react.js"]
:optimizations :none
:pretty-print true}}}}
:profiles {:dev {:repl-options {:init-ns nchart.server
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:plugins [[lein-figwheel "0.1.4-SNAPSHOT"]]
:figwheel {:http-server-root "public"
:port 3449}
:env {:is-dev true}}
:uberjar {:hooks [leiningen.cljsbuild]
:env {:production true}
:omit-source true
:aot :all
:cljsbuild {:builds {:app
{:compiler
{:optimizations :advanced
:pretty-print false}}}}}})