-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.clj
44 lines (37 loc) · 1.57 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
(defproject showkr "0.1.0-SNAPSHOT"
:description "Showkr"
:url "http://showkr.solovyov.net/"
:plugins [[lein-cljsbuild "1.0.3"]
[lein-figwheel "0.2.0-SNAPSHOT"]
[lein-npm "0.4.0"]]
:dependencies [[org.clojure/clojurescript "0.0-2511"]
[com.facebook/react "0.11.1"]
[quiescent "0.1.4"]
[datascript "0.7.1"]
[keybind "0.1.0"]]
:profiles {:dev {:dependencies [[figwheel "0.2.0-SNAPSHOT" :exclusions [org.clojure/core.async]]
[org.clojure/clojure "1.6.0"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]]}}
:node-dependencies [[less "1.4.2"]]
:source-paths ["src" "target/classes"]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src/" "src-dev/"]
:compiler {:output-to "resources/public/js/showkr.js"
:output-dir "resources/public/js/out"
:optimizations :none
:source-map true
:cache-analysis true}}
{:id "min"
:source-paths ["src"]
:compiler {
:output-to "www/showkr.min.js"
:optimizations :advanced
:pretty-print false
:preamble ["react/react.min.js"]
:externs ["react/externs/react.js"
"datascript/externs.js"]}}]}
:figwheel {
:server-port 8888
:css-dirs ["resources/public"]
})