-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
57 lines (56 loc) · 2.71 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
; Copyright (c) 2014 Kevin Bell. All rights reserved.
; See the file license.txt for copying permission.
(defproject comsole "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"}
:dependencies [[org.clojure/clojure "1.7.0-alpha1"]
[org.clojure/clojurescript "0.0-2371"]
[org.clojure/core.async "0.1.338.0-5c5012-alpha"]
[com.stuartsierra/component "0.2.2"]
[org.clojure/core.memoize "0.5.6"]
[ring "1.2.1"]
[fogus/ring-edn "0.2.0"]
[http-kit "2.1.18"]
[om "0.7.3"]
[sablono "0.2.22"]
[cljs-http "0.1.16"]
[prismatic/om-tools "0.3.2"]
[bidi "1.12.0"]
[kibu/pushy "0.2.1"]
[prone "0.6.0"]
[com.cemerick/piggieback "0.1.3"] ;; TODO: move to dev deps
[weasel "0.4.2"] ;; TODO: move to dev deps
[figwheel "0.1.3-SNAPSHOT"] ;; TODO: move to dev deps
[com.facebook/react "0.11.2"]
[com.datomic/datomic-free "0.9.4815.10"]]
:plugins [[lein-cljsbuild "1.0.3"]
[lein-resource "0.3.1"]
[lein-figwheel "0.1.3-SNAPSHOT"]
[com.keminglabs/cljx "0.4.0" :exclusions [org.clojure/clojure]]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:figwheel {:http-server-root "public"}
:source-paths ["src"]
:target-path "target/"
:uberjar-exclusions [#".*\.cljs"]
:cljx {:builds [{:source-paths ["src/comsole"]
:output-path "target/classes"
:rules :clj}
{:source-paths ["src/comsole"]
:output-path "target/classes"
:rules :cljs}]}
:cljsbuild {:builds [{:id "dev"
:source-paths ["target/classes" "src" "dev-src"]
:compiler {:output-to "resources/public/js/main.js"
:output-dir "resources/public/js"
:optimizations :none
:pretty-print true
:source-map true}}
{:id "prod"
:source-paths ["src"]
:compiler {:output-to "dist/static/js/main.js"
:optimizations :advanced
:pretty-print false
:preamble ["react/react.min.js"]
:externs ["react/externs/react.js"]}}]})