-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
65 lines (50 loc) · 2.24 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
(defproject fleet "0.1.0-SNAPSHOT"
:dependencies [
;; Our beloved Clojure
[org.clojure/clojure "1.9.0-alpha17"]
[org.clojure/clojurescript "1.9.671"]
;; Blockchain interaction
[cljs-web3 "0.19.0-0-2"]
;; HTTP
[cljs-ajax "0.5.8"]
[org.clojure/core.async "0.3.443"]
;; Frontend
[datascript "0.16.1"]
[reagent "0.6.0"]]
:plugins [[lein-auto "0.1.2"]
[lein-cljsbuild "1.1.4"]
[lein-shell "0.5.0"]]
:min-lein-version "2.5.3"
:source-paths ["src/cljs"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:figwheel {:css-dirs ["resources/public/css"]}
:auto {"compile-contracts" {:file-pattern #"\.(sol)$"
:paths ["resources/public/contracts/src"]}}
:aliases {"compile-contracts" ["shell" "./compile-contracts.sh"]
"start-local-blockchain" ["shell" "./start-local-blockchain.sh"]}
:profiles
{:dev
{:dependencies [[binaryage/devtools "0.8.3"]
[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.8"]
[org.clojure/tools.nrepl "0.2.11"]]
:plugins [[lein-figwheel "0.5.9"]]}}
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "fleet.core/reload"}
:compiler {:main fleet.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]
:external-config {:devtools/config {:features-to-install :all}}}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main fleet.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}}]})