-
Notifications
You must be signed in to change notification settings - Fork 7
/
project.clj
52 lines (43 loc) · 2.31 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
(defproject org.revert/backtester "0.0.1"
:description "A fast backtester for Uniswap v3 positions"
:url "https://github.com/revert-finance/revert-backtester"
:license {:name "MIT License"
:distribution :repo}
:min-lein-version "2.9.0"
;; We need to add src/cljs too, because cljsbuild does not add its
;; source-paths to the project source-paths
:source-paths ["src/clj" "src/cljs"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/clojurescript "1.10.773"
:exclusions [com.google.javascript/closure-compiler-unshaded
org.clojure/google-closure-library
org.clojure/google-closure-library-third-party]]
[thheller/shadow-cljs "2.11.26"]
[reagent "1.0.0"]
[district0x/bignumber "1.0.3"]
[cljs-http "0.1.46"]
[metasoarous/oz "1.6.0-alpha36"]]
:plugins [[cider/cider-nrepl "0.25.9"]
[lein-shadow "0.3.1"]]
:repositories [["revert-backtester"
{:url "https://maven.pkg.github.com/revert-finance/revert-backtester"
:username "private-user"
:password :env/GITHUB_TOKEN}]]
:shadow-cljs {:nrepl {:port 8778}
:builds {:app {:target :browser
:output-dir "resources/public/js/compiled"
:asset-path "/js/compiled"
:modules {:app {:init-fn revert-backtester.core/main
:preloads [devtools.preload]}}
:compiler-options {:infer-externs :auto
:cross-chunk-method-motion false
:optimizations :simple
:output-feature-set :es8}
:js-options {:js-provider :shadow}
:devtools {:http-root "resources/public"
:http-port 8280}}}}
:profiles {:dev
{:dependencies [[binaryage/devtools "1.0.2"]]
:source-paths ["dev"]}
:prod {}})