forked from district0x/district0x-network-token
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
97 lines (86 loc) · 4.93 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
(defproject contribution "0.1.0-SNAPSHOT"
:description "Contribution period for district0x"
:url "http://contribution.district0x.io"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[cljs-react-material-ui "0.2.44"]
[cljs-web3 "0.19.0-0-2"]
[day8.re-frame/async-flow-fx "0.0.6"]
[district0x "0.1.19"]
[lein-doo "0.1.7"]
[madvas/reagent-patched "0.6.1" :exclusions [cljsjs/react cljsjs/react-dom]]
[medley "0.8.3"]
[org.clojure/clojurescript "1.9.671"]
[print-foo-cljs "2.0.3"]
[re-frame "0.9.4" :exclusions [reagent]]]
:plugins [[lein-auto "0.1.2"]
[lein-cljsbuild "1.1.4"]
[lein-shell "0.5.0"]
[deraen/lein-less4j "0.5.0"]
[lein-npm "0.6.2"]
[lein-doo "0.1.7"]]
:jvm-opts ["-Xss3m" "-XX:+TieredCompilation" "-XX:TieredStopAtLevel=1"]
:npm {:dependencies [[source-map-support "0.4.0"]
[web3 "0.19.0"]
[ws "2.0.1"]
[ethereumjs-testrpc "3.0.3"]
[solc "0.4.11"]]}
:min-lein-version "2.5.3"
:source-paths ["src/cljs"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:figwheel {:server-port 6376}
:auto {"compile-solidity" {:file-pattern #"\.(sol)$"
:paths ["resources/public/contracts/src"]}}
:aliases {"compile-solidity" ["shell" "./compile-solidity.sh"]}
:less {:source-paths ["resources/public/less"]
:target-path "resources/public/css"
:target-dir "resources/public/css"
:source-map true
:compression true}
:profiles {:dev
{:dependencies [[org.clojure/clojure "1.8.0"]
[binaryage/devtools "0.9.4"]
[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.10"]
[org.clojure/tools.nrepl "0.2.13"]]
:plugins [[lein-figwheel "0.5.10"]]
:source-paths []
:resource-paths ["resources"]
:cljsbuild {:builds [{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "contribution.core/mount-root"}
:compiler {:main "contribution.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 [print.foo.preloads.devtools]
:closure-defines {goog.DEBUG true}
:external-config {:devtools/config {:features-to-install :all}}}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main "contribution.core"
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false
:pseudo-names false}}
{:id "test-fig"
:source-paths ["src/cljs" "test"]
:figwheel true
:compiler {:main "contribution.cmd"
:output-to "test-fig-compiled/contribution-tests.js",
:output-dir "test-fig-compiled",
:target :nodejs,
:optimizations :none,
:verbose true
:source-map true}}
{:id "test"
:source-paths ["src/cljs" "test"]
:compiler {:main "contribution.cmd"
:output-to "contribution-tests.js",
:output-dir "test-compiled",
:target :nodejs,
:optimizations :simple,
:verbose false
:source-map "contribution-tests.js.map" #_ true}}]}}})