-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.clj
34 lines (32 loc) · 1.88 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
(defproject motherbox "0.1.1-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.946"]
[reagent "0.7.0"]
[re-frame "0.10.2"]
[cljs-react-material-ui "0.2.50"]
[cljsjs/react-dom "16.0.0-0"]
[cljsjs/react "16.0.0-0"]]
:plugins [[lein-cljsbuild "1.1.4"]]
:min-lein-version "2.5.3"
:source-paths ["src/clj"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:figwheel {:css-dirs ["resources/public/css"]}
:profiles {:dev {:dependencies [[binaryage/devtools "0.9.7"]]
:plugins [[lein-figwheel "0.5.9"]
[lein-ancient "0.6.10"]]}}
:cljsbuild {:builds [{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "bookmarks.core/mount-root"}
:compiler {:main bookmarks.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:source-map-timestamp true
:preloads [devtools.preload]
:external-config {:devtools/config {:features-to-install :all}}}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main bookmarks.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:pretty-print false}}]})