-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
127 lines (113 loc) · 5.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
(defproject noted "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.10.238"]
[reagent "0.7.0"]
[re-frame "0.10.5"]
[com.taoensso/timbre "4.10.0"]
[com.andrewmcveigh/cljs-time "0.5.2"]
[org.clojure/core.async "0.2.391"]
[re-com "2.1.0"]
[re-pressed "0.3.0"]
[re-frisk-remote "0.5.5"]
[com.bhauman/rebel-readline-cljs "0.1.4"]
[medley "1.1.0"]
[cljsjs/fuse "2.6.2-0"]
[markdown-clj "1.0.5"]
#_[fipp "0.6.15"]
#_[com.taoensso/nippy "2.14.0"]]
:plugins [[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]
[lein-less "1.7.5"]
[lein-re-frisk "0.5.8"]]
:min-lein-version "2.5.3"
:source-paths ["src/clj" "src/cljs/ui" "src/cljs/main" "src/cljs/common"]
:clean-targets ^{:protect false} [
"resources/public/js/main-dev"
"resources/public/js/ui-out"
"resources/public/js/ui-core.js"
"resources/main.js"]
:figwheel {:css-dirs ["resources/public/css"]
:open-file-command "idea-line-opener"}
:less {:source-paths ["less"]
:target-path "resources/public/css"}
:profiles
{:dev
{:dependencies [[binaryage/devtools "0.9.10"]
[day8.re-frame/re-frame-10x "0.3.3"]
[day8.re-frame/tracing "0.5.1"]
[figwheel-sidecar "0.5.10"]
[vvvvalvalval/scope-capture "0.3.2"]]
:plugins [[lein-figwheel "0.5.16"]]
:injections [(require 'sc.api)]}
:prod {:dependencies [[day8.re-frame/tracing-stubs "0.5.1"]]}}
:cljsbuild
{:builds
[
;{:id "dev"
; :source-paths ["src/cljs"]
; :figwheel {:on-jsload "refame-transform.core/mount-root"}
; :compiler {:main refame-transform.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
; day8.re-frame-10x.preload
; re-frisk.preload]
; :closure-defines {"re_frame.trace.trace_enabled_QMARK_" true
; "day8.re_frame.tracing.trace_enabled_QMARK_" true}
; :external-config {:devtools/config {:features-to-install :all}}
; }}t
{:source-paths ["src/cljs/ui" "src/cljs/common"]
:id "ui-dev"
:figwheel {:on-jsload "noted.core/mount-root"}
:compiler {:output-to "resources/public/js/ui-core.js"
:output-dir "resources/public/js/ui-out"
;:source-map true
:asset-path "js/ui-out"
;:optimizations :simple
:optimizations :none
:cache-analysis true
:main "noted.core"
:preloads [devtools.preload
day8.re-frame-10x.preload
re-frisk.preload]
:closure-defines {"re_frame.trace.trace_enabled_QMARK_" true
"day8.re_frame.tracing.trace_enabled_QMARK_" true}
:external-config {:devtools/config {:features-to-install [:formatters :hints]
:fn-symbol "F"
:print-config-overrides true}}
}}
{:source-paths ["src/cljs/ui" "src/cljs/common"]
:id "ui-min"
:figwheel {:on-jsload "noted.core/mount-root"}
:compiler {:output-to "min/public/js/ui-core.js"
:output-dir "min/public/js/ui-proc"
:source-map false
:asset-path "js/ui-out"
:optimizations :none
:cache-analysis false
:main "noted.core"}}
{:source-paths ["src/cljs/main" "src/cljs/common"]
:id "main-dev"
:compiler {:output-to "resources/main.js"
:output-dir "resources/public/js/main-dev"
:optimizations :simple
:pretty-print true
:cache-analysis true}}
{:source-paths ["src/cljs/main" "src/cljs/common"]
:id "main-min"
:compiler {:output-to "min/main.js"
:output-dir "min/public/js/main-proc"
:optimizations :none
:pretty-print true
:cache-analysis true
:source-map-timestamp false}}
;{:id "min"
; :source-paths ["src/cljs"]
; :compiler {:main refame-transform.core
; :output-to "resources/public/js/compiled/app.js"
; :optimizations :advanced
; :closure-defines {goog.DEBUG false}
; :pretty-print false}}
] }
)