-
Notifications
You must be signed in to change notification settings - Fork 5
/
project.clj
109 lines (93 loc) · 5.02 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
(defproject org.intermine/im-tables "0.15.0"
:licence "LGPL-2.1-only"
:description "ClojureScript library to display and manipulate InterMine query results on a webpage"
:url "http://www.intermine.org"
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520"]
[org.clojure/core.async "1.1.587"]
[re-frame "0.12.0"]
[reagent "0.10.0"]
[cljsjs/react-transition-group "1.2.0-0"
:exclusions [cljsjs/react cljsjs/react-dom]]
[cljsjs/highlight "9.12.0-2"]
[joshkh/ctrlz "0.3.0"]
[binaryage/oops "0.7.0"]
[inflections "0.13.2"]
[org.intermine/imcljs "1.6.0"]
[day8.re-frame/test "0.1.5"]
[cljsjs/react-day-picker "7.3.0-1"]
[cljsjs/react-select "2.4.4-0"]
[com.andrewmcveigh/cljs-time "0.5.2"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-ancient "0.6.15"]
[lein-pdo "0.1.1"]
[lein-cljfmt "0.6.1"]
[lein-shell "0.5.0"]]
:cljfmt {:indents {wait-for [[:inner 0]]
after-load [[:inner 0]]}}
:aliases ~(let [compile-less ["npx" "lessc" "less/im-tables.less" "resources/public/css/im-tables.css"]
compile-less-prod (conj compile-less "-x")
watch-less ["npx" "chokidar" "less/**/*.less" "-c" (clojure.string/join " " compile-less) "--initial"]
watch-less-silent (conj watch-less "--silent")]
{"dev" ["do" "clean,"
["pdo"
(into ["shell"] watch-less-silent)
["repl"]]]
"build" ["do" "clean,"
(into ["shell"] compile-less-prod)
["cljsbuild" "once" "min"]]
"deploy" ["with-profile" "+build" "deploy" "clojars"]
"format" ["cljfmt" "fix"]
"kaocha" ["do" "clean,"
["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]]
"less" (into ["shell"] watch-less)})
:repositories {"clojars" {:sign-releases false}}
:min-lein-version "2.8.1"
:source-paths ["src"]
:test-paths ["test/cljs"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"
"out" "test/js"]
:figwheel {:css-dirs ["resources/public/css"]
:server-port 3448}
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]
:timeout 120000}
:main im-tables.core
:profiles {:dev {:dependencies [[binaryage/devtools "1.0.0"]
[day8.re-frame/re-frame-10x "0.6.2"]
[day8.re-frame/tracing "0.5.3"]
[figwheel-sidecar "0.5.20"]
[cider/piggieback "0.4.2"]]
:plugins [[lein-figwheel "0.5.19"]]}
:build {:prep-tasks ["build"]}
:uberjar {:prep-tasks ["build"]}
:repl {:source-paths ["dev"]}
:kaocha {:dependencies [[lambdaisland/kaocha "1.0-612"]
[lambdaisland/kaocha-cljs "0.0-71"]]}}
:cljsbuild {:builds [{:id "dev"
:source-paths ["src"]
:figwheel {:on-jsload "im-tables.core/mount-root"}
:compiler {:main im-tables.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
:parallel-build true
:closure-defines {"re_frame.trace.trace_enabled_QMARK_" true
"day8.re_frame.tracing.trace_enabled_QMARK_" true}
:preloads [devtools.preload
day8.re-frame-10x.preload]
:external-config {:devtools/config {:features-to-install :all}}}}
{:id "min"
:source-paths ["src"]
:jar true
:compiler {:main im-tables.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}}
{:id "test"
:source-paths ["src" "test/cljs"]
:compiler {:main im-tables.runner
:output-to "resources/public/js/compiled/test.js"
:output-dir "resources/public/js/compiled/test/out"
:optimizations :none}}]})