-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
39 lines (35 loc) · 1.55 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
(defproject rockets "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2202"]
[com.facebook/react "0.11.1"]
[figwheel "0.1.4-SNAPSHOT"]
[org.clojure/core.async "0.1.278.0-76b25b-alpha"]
[sablono "0.2.21"]
[quiescent "0.1.4"]]
:plugins [[lein-cljsbuild "1.0.3"]
[lein-figwheel "0.1.4-SNAPSHOT"]]
:source-paths ["src"]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src"]
:compiler {:output-to "resources/public/js/compiled/rockets.js"
:output-dir "resources/public/js/compiled/out"
:optimizations :none
:source-map true}}
{:id "min"
:source-paths ["src"]
:compiler {:output-to "www/rockets.min.js"
:optimizations :advanced
:pretty-print false
:preamble ["react/react.min.js"]
:externs ["react/externs/react.js"]}}]}
:figwheel {
:http-server-root "public" ;; default and assumes "resources"
:server-port 3449 ;; default
:css-dirs ["public/resources/css"] ;; watch and update CSS
;; :ring-handler rockets.server/handler
})