|
5 | 5 | :url "http://www.eclipse.org/legal/epl-v10.html"} |
6 | 6 | :dependencies [[org.clojure/clojure "1.9.0-alpha13"] |
7 | 7 | [org.clojure/clojurescript "1.9.229"] |
8 | | - [reagent "0.5.1" :exclusions [cljsjs/react]] |
| 8 | + [reagent "0.6.0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]] |
9 | 9 | [re-frame "0.7.0"] |
10 | 10 | [natal-shell "0.3.0"] |
11 | 11 | [com.andrewmcveigh/cljs-time "0.4.0"] |
12 | 12 | [tailrecursion/cljs-priority-map "1.2.0"] |
13 | 13 | [com.taoensso/timbre "4.7.4"]] |
14 | 14 | :plugins [[lein-cljsbuild "1.1.4"] |
15 | | - [lein-figwheel "0.5.0-2"]] |
| 15 | + [lein-figwheel "0.5.8"]] |
16 | 16 | :clean-targets ["target/" "index.ios.js" "index.android.js"] |
17 | 17 | :aliases {"prod-build" ^{:doc "Recompile code with prod profile."} |
18 | 18 | ["do" "clean" |
19 | 19 | ["with-profile" "prod" "cljsbuild" "once" "ios"] |
20 | 20 | ["with-profile" "prod" "cljsbuild" "once" "android"]]} |
21 | 21 | :test-paths ["test/clj"] |
22 | 22 | :figwheel {:nrepl-port 7888} |
23 | | - :profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-2"] |
| 23 | + :profiles {:dev {:dependencies [[figwheel-sidecar "0.5.8"] |
24 | 24 | [com.cemerick/piggieback "0.2.1"] |
25 | | - [io.appium/java-client "3.4.1"]] |
| 25 | + [io.appium/java-client "3.4.1"] |
| 26 | + [hawk "0.2.10"]] |
26 | 27 | :plugins [[lein-doo "0.1.6"]] |
27 | 28 | :source-paths ["src" "env/dev"] |
28 | | - :cljsbuild {:builds {:ios {:source-paths ["src" "env/dev"] |
29 | | - :figwheel true |
30 | | - :compiler {:output-to "target/ios/not-used.js" |
31 | | - :main "env.ios.main" |
32 | | - :output-dir "target/ios" |
33 | | - :optimizations :none}} |
34 | | - :android {:source-paths ["src" "env/dev"] |
35 | | - :figwheel true |
36 | | - :compiler {:output-to "target/android/not-used.js" |
37 | | - :main "env.android.main" |
38 | | - :output-dir "target/android" |
39 | | - :optimizations :none}} |
40 | | - :android-test {:source-paths ["src" "env/dev"] |
41 | | - :figwheel true |
42 | | - :compiler {:output-to "target/android/not-used.js" |
43 | | - :main "env.android-test.main" |
44 | | - :output-dir "target/android" |
45 | | - :optimizations :none}} |
46 | | - :test {:source-paths ["src" "test/cljs"] |
47 | | - :compiler |
48 | | - {:main status-im.test.runner |
49 | | - :output-to "target/test/test.js" |
50 | | - :optimizations :none |
51 | | - :target :nodejs}}}} |
52 | | - :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}} |
| 29 | + :cljsbuild {:builds [{:id :ios |
| 30 | + :source-paths ["src" "env/dev"] |
| 31 | + :figwheel true |
| 32 | + :compiler {:output-to "target/ios/not-used.js" |
| 33 | + :main "env.ios.main" |
| 34 | + :output-dir "target/ios" |
| 35 | + :optimizations :none}} |
| 36 | + {:id :android |
| 37 | + :source-paths ["src" "env/dev"] |
| 38 | + :figwheel true |
| 39 | + :compiler {:output-to "target/android/not-used.js" |
| 40 | + :main "env.android.main" |
| 41 | + :output-dir "target/android" |
| 42 | + :optimizations :none}} |
| 43 | + {:id :android-test |
| 44 | + :source-paths ["src" "env/dev"] |
| 45 | + :compiler {:output-to "target/android/not-used.js" |
| 46 | + :main "env.android-test.main" |
| 47 | + :output-dir "target/android-test" |
| 48 | + :optimizations :none}} |
| 49 | + {:id :test |
| 50 | + :source-paths ["src" "test/cljs"] |
| 51 | + :compiler |
| 52 | + {:main status-im.test.runner |
| 53 | + :output-to "target/test/test.js" |
| 54 | + :optimizations :none |
| 55 | + :target :nodejs}}]} |
| 56 | + :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl] |
| 57 | + :timeout 120000}} |
53 | 58 | :prod {:cljsbuild {:builds [{:id "ios" |
54 | 59 | :source-paths ["src" "env/prod"] |
55 | | - :compiler {:output-to "index.ios.js" |
56 | | - :main "env.ios.main" |
57 | | - :output-dir "target/ios" |
58 | | - :static-fns true |
| 60 | + :compiler {:output-to "index.ios.js" |
| 61 | + :main "env.ios.main" |
| 62 | + :output-dir "target/ios-prod" |
| 63 | + :static-fns true |
59 | 64 | :optimize-constants true |
60 | | - :optimizations :simple |
61 | | - :closure-defines {"goog.DEBUG" false}}} |
62 | | - {:id "android" |
| 65 | + :optimizations :simple |
| 66 | + :closure-defines {"goog.DEBUG" false}}} |
| 67 | + {:id "android" |
63 | 68 | :source-paths ["src" "env/prod"] |
64 | | - :compiler {:output-to "index.android.js" |
65 | | - :main "env.android.main" |
66 | | - :output-dir "target/android" |
67 | | - :static-fns true |
| 69 | + :compiler {:output-to "index.android.js" |
| 70 | + :main "env.android.main" |
| 71 | + :output-dir "target/android-prod" |
| 72 | + :static-fns true |
68 | 73 | :optimize-constants true |
69 | | - :optimizations :simple |
70 | | - :closure-defines {"goog.DEBUG" false}}}]}}}) |
| 74 | + :optimizations :simple |
| 75 | + :closure-defines {"goog.DEBUG" false}}}]}}}) |
0 commit comments