-
Notifications
You must be signed in to change notification settings - Fork 6
/
project.clj
72 lines (59 loc) · 2.9 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
(defproject org.intermine/imcljs "1.6.0"
:description "imcljs"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.8.1"
:deploy-repositories {"clojars" {:sign-releases false}}
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520"]
[org.clojure/core.async "0.4.500"]
[cljs-http "0.1.46"]
[clj-http "3.10.0"]
[cheshire "5.8.1"]
[aysylu/loom "1.0.2"]]
:plugins [[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]
[org.clojure/core.unify "0.5.7"]
[lein-cljfmt "0.6.1"]
[lein-codox "0.10.7"]]
:aliases {"format" ["cljfmt" "fix"]}
:source-paths ["src/cljc" "src/cljs" "src/clj" "test/clj" "test/cljs"]
:codox {:language :clojurescript
:source-paths ["src"]}
:figwheel {:server-port 5003
:reload-clj-files {:clj true :cljc true}}
:doo {:build "test"
:paths {:phantom "phantomjs --web-security=false"}
:alias {:default [:phantom]}}
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:cljsbuild {:builds
[{:id "dev"
:source-paths ["src/cljc" "src/cljs"]
:figwheel {:on-jsload "imcljs.core/on-js-reload"
:open-urls ["http://localhost:5003/index.html"]}
:compiler {:main imcljs.core
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/imcljs.js"
:output-dir "resources/public/js/compiled/out"
:source-map-timestamp true
:preloads [devtools.preload]}}
{:id "min"
:source-paths ["src/cljc" "src/cljs"]
:compiler {:output-to "resources/public/js/compiled/imcljs.js"
:main imcljs.core
:optimizations :advanced
:pretty-print false}}
{:id "test"
:source-paths ["src" "test/cljs"]
:compiler {:output-to "resources/public/js/test/test.js"
:output-dir "resources/public/js/test"
:main imcljs.runner
:optimizations :none}}]}
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
:profiles {:dev {:dependencies [[binaryage/devtools "0.9.10"]
[figwheel-sidecar "0.5.19"]
[cider/piggieback "0.4.1"]]
:plugins [[lein-figwheel "0.5.19"]
[lein-doo "0.1.10"]]}
:repl {:source-paths ["dev"]}
:java9 {:jvm-opts ["--add-modules" "java.xml.bind"]}}
:cljfmt {:indents {async [[:inner 0]]}})