-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproject.clj
59 lines (59 loc) · 2.82 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
58
59
(defproject sauna-todo "0.1.0-SNAPSHOT"
:description "Simple full-stack TODO app example for demonstrating Clojure(script)"
:url "https://github.com/metosin/sauna-todo"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.9.946"]
[binaryage/devtools "0.9.7"]
[integrant "0.6.1"]
[integrant/repl "0.2.0"]
[org.immutant/web "2.1.9"]
[hiccup "2.0.0-alpha1"]
[reagent "0.8.0-alpha2"]
[metosin/eines "0.0.7"]
[metosin/reagent-dev-tools "0.1.0"]]
:main ^:skip-aot backend.main
:source-paths ["src/clj" "src/cljc"]
:test-paths ["test/clj" "test/cljc"]
:target-path "target/%s"
:repl-options {:init-ns user}
:profiles {:dev {:resource-paths ["target/dev/resources"]
:sass {:target-path "target/dev/resources/css"}}
:prod {:sass {:target-path "target/prod/resources/css"}
:resource-paths ["target/prod/resources"]}
:uberjar {:uberjar-name "app.jar"
:aot [backend.main]}}
:plugins [[lein-pdo "0.1.1"]
[deraen/lein-sass4clj "0.3.1"]
[lein-figwheel "0.5.13"]
[lein-cljsbuild "1.1.7"]
[metosin/boot-alt-test "0.4.0-SNAPSHOT"]]
:sass {:source-paths ["src/sass"]
:source-map true
:output-style :compressed}
:alt-test {:report :pretty}
:cljsbuild {:builds [{:id "dev"
:source-paths ["src/cljc" "src/cljs"]
:figwheel true
:compiler {:main "frontend.main"
:asset-path "js/out"
:external-config {:devtools/config {:features-to-install :all}}
:preloads [devtools.preload]
:output-to "target/dev/resources/js/main.js"
:output-dir "target/dev/resources/js/out"}}
{:id "prod"
:source-paths ["src/cljc" "src/cljs"]
:compiler {:main "frontend.main"
:optimizations :advanced
:output-to "target/prod/resources/js/main.js"
:output-dir "target/prod/resources/js/out"}}]}
:auto-clean false
:figwheel {:css-dirs ["target/dev/resources/css"]}
:aliases {"dev" ["do" "clean"
["pdo" ["sass4clj" "auto"] ["figwheel"]]]
"prod" ["with-profile" "prod" "do"
"clean"
["sass4clj" "once"]
["cljsbuild" "once" "prod"]
"uberjar"]})