-
Notifications
You must be signed in to change notification settings - Fork 5
/
project.clj
33 lines (27 loc) · 1.51 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
(defproject unearthing-clojurescript "0.0.1"
:description "A set of demos detailing how to make a basic reagent application"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]
[binaryage/devtools "0.9.4"]
[org.clojure/clojurescript "1.10.238" :scope "provided"]
[reagent "0.7.0"]]
:source-paths ["src/cljs"]
:plugins [[lein-figwheel "0.5.16"]
[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]]
:cljsbuild {:builds
[{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "unearthing-clojurescript.core/on-js-reload"
:open-urls ["http://localhost:3449/index.html"]}
:compiler {:main unearthing-clojurescript.core
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/unearthing-clojurescript.js"
:output-dir "resources/public/js/compiled/out"
:source-map-timestamp true}}]}
:figwheel {:css-dirs ["resources/public/css"]}
:profiles {:dev {:dependencies [[binaryage/devtools "0.9.9"]
[figwheel-sidecar "0.5.16"]
[cider/piggieback "0.3.1"]]
:source-paths ["dev"]
:clean-targets ^{:protect false} ["resources/public/js/compiled"]}})