-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
83 lines (78 loc) · 2.68 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
(defproject domino/ui "0.1.4"
:description "UI component library for Domino"
:url "https://github.com/domino-clj/domino-ui"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies
[[org.clojure/clojure "1.10.0" :scope "provided"]
[org.clojure/clojurescript "1.10.520" :scope "provided"]
[domino/core "0.3.2"]
[re-frame "0.11.0-rc2"]]
:plugins
[[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.18"]
[cider/cider-nrepl "0.21.1"]
[lein-doo "0.1.10"]]
:clojurescript? true
:jar-exclusions [#"\.swp|\.swo|\.DS_Store"]
:clean-targets ^{:protect false}
[:target-path
[:cljsbuild :builds :app :compiler :output-dir]
[:cljsbuild :builds :app :compiler :output-to]]
:profiles
{:dev
{:dependencies
[[ring-server "0.5.0"]
[ring-webjars "0.2.0"]
[ring "1.7.1"]
[ring/ring-defaults "0.3.2"]
[compojure "1.6.1"]
[hiccup "1.0.5"]
[nrepl "0.6.0"]
[binaryage/devtools "0.9.10"]
[cider/piggieback "0.4.1"]
[figwheel-sidecar "0.5.18"]
[reagent "0.8.1"]]
:source-paths ["src" "env/dev/clj" "env/dev/cljs"]
:resource-paths ["resources" "env/dev/resources" "target/cljsbuild"]
:figwheel
{:server-port 3450
:nrepl-port 7001
:nrepl-middleware [cider.piggieback/wrap-cljs-repl
cider.nrepl/cider-middleware]
:css-dirs ["resources/public/css" "env/dev/resources/public/css"]
:ring-handler domino-ui.server/app}
:cljsbuild
{:builds
{:app
{:source-paths ["src" "env/dev/cljs"]
:figwheel {:on-jsload "domino-ui.test-page/mount-root"}
:compiler {:main domino-ui.dev
:asset-path "/js/out"
:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/cljsbuild/public/js/out"
:source-map-timestamp true
:source-map true
:optimizations :none
:pretty-print true}}}}}
:test
{:cljsbuild
{:builds
{:test
{:source-paths ["src" "test"]
:compiler {:main domino-ui.runner
:output-to "target/test/core.js"
:target :nodejs
:optimizations :none
:source-map true
:pretty-print true}}}}
:doo {:build "test"}}}
:aliases
{"test"
["do"
["clean"]
["with-profile" "test" "doo" "node" "once"]]
"test-watch"
["do"
["clean"]
["with-profile" "test" "doo" "node"]]})