Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. (defproject status-im "0.1.0-SNAPSHOT"
  2. :url "https://github.com/status-im/status-react/"
  3. :license {:name "Eclipse Public License"
  4. :url "http://www.eclipse.org/legal/epl-v10.html"}
  5. :dependencies [[org.clojure/clojure "1.10.0"]
  6. [org.clojure/clojurescript "1.10.520"
  7. :exclusions
  8. [com.google.javascript/closure-compiler-unshaded
  9. org.clojure/google-closure-library]]
  10. ;; [com.google.javascript/closure-compiler-unshaded "v20180319"]
  11. ;; v20180506
  12. [com.google.javascript/closure-compiler-unshaded "v20190325"]
  13. [org.clojure/google-closure-library "0.0-20190213-2033d5d9"]
  14. [org.clojure/core.async "0.4.474"]
  15. [reagent "0.7.0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server cljsjs/create-react-class]]
  16. [status-im/re-frame "0.10.5"]
  17. [com.andrewmcveigh/cljs-time "0.5.2"]
  18. [status-im/timbre "4.10.0-2-status"]
  19. [com.taoensso/encore "2.94.0"]
  20. [hickory "0.7.1"]
  21. [cljs-bean "1.3.0"]
  22. [com.cognitect/transit-cljs "0.8.248"]
  23. [mvxcvi/alphabase "1.0.0"]
  24. [rasom/cljs-react-navigation "0.1.4"]]
  25. :plugins [[rasom/lein-githooks "0.1.5"]
  26. [lein-cljsbuild "1.1.7"]
  27. [lein-re-frisk "0.5.8"]
  28. [lein-cljfmt "0.5.7"]]
  29. :githooks {:auto-install true
  30. :pre-commit ["lein cljfmt check src/status_im/core.cljs $(git diff --diff-filter=d --cached --name-only src test/cljs)"]}
  31. :cljfmt {:indents {letsubs [[:inner 0]]}}
  32. :clean-targets ["target/" "index.ios.js" "index.android.js" "status-modules/cljs"]
  33. :aliases {"jsbundle" ^{:doc "Recompile code with prod profile."}
  34. ["do" "clean"
  35. ["with-profile" "prod" "cljsbuild" "once" "ios"]
  36. ["with-profile" "prod" "cljsbuild" "once" "android"]
  37. ["with-profile" "prod" "cljsbuild" "once" "desktop"]]
  38. "jsbundle-android" ^{:doc "Recompile code for Android with prod profile."}
  39. ["do" "clean"
  40. ["with-profile" "prod" "cljsbuild" "once" "android"]]
  41. "jsbundle-ios" ^{:doc "Recompile code for iOS with prod profile."}
  42. ["do" "clean"
  43. ["with-profile" "prod" "cljsbuild" "once" "ios"]]
  44. "jsbundle-desktop" ^{:doc "Recompile code for desktop with prod profile."}
  45. ["do" "clean"
  46. ["with-profile" "prod" "cljsbuild" "once" "desktop"]]
  47. "figwheel-repl" ["with-profile" "+figwheel" "run" "-m" "clojure.main" "env/dev/run.clj"]
  48. "test-cljs" ["with-profile" "test" "doo" "node" "test" "once"]
  49. "test-protocol" ["with-profile" "test" "doo" "node" "protocol" "once"]
  50. "test-env-dev-utils" ["with-profile" "test" "doo" "node" "env-dev-utils" "once"]}
  51. :profiles {:dev {:dependencies [[cider/piggieback "0.4.0"]]
  52. :cljsbuild {:builds
  53. {:ios
  54. {:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/mobile" "src" "dev"]
  55. :compiler {:output-to "target/ios/app.js"
  56. :main "env.ios.main"
  57. :output-dir "target/ios"
  58. :optimizations :none}}
  59. :android
  60. {:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/mobile" "src" "dev"]
  61. :compiler {:output-to "target/android/app.js"
  62. :main "env.android.main"
  63. :output-dir "target/android"
  64. :optimizations :none}
  65. :warning-handlers [status-im.utils.build/warning-handler]}
  66. :desktop
  67. {:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/desktop" "src" "dev"]
  68. :compiler {:output-to "target/desktop/app.js"
  69. :main "env.desktop.main"
  70. :output-dir "target/desktop"
  71. :optimizations :none}}}}
  72. :repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]
  73. :timeout 240000}}
  74. :figwheel [:dev
  75. {:dependencies [[figwheel-sidecar "0.5.18"]
  76. [re-frisk-remote "0.5.5"]
  77. [re-frisk-sidecar "0.5.7"]
  78. [day8.re-frame/tracing "0.5.0"]
  79. [hawk "0.2.11"]]
  80. :source-paths ["src" "env/dev" "react-native/src/cljsjs" "components/src" "dev"]}]
  81. :test {:dependencies [[day8.re-frame/test "0.1.5"]]
  82. :plugins [[lein-doo "0.1.9"]]
  83. :cljsbuild {:builds
  84. [{:id "test"
  85. :source-paths ["components/src" "src" "test/cljs" "dev"]
  86. :compiler {:main status-im.test.runner
  87. :output-to "target/test/test.js"
  88. :output-dir "target/test"
  89. :optimizations :none
  90. :preamble ["js/hook-require.js"]
  91. :target :nodejs}}
  92. {:id "protocol"
  93. :source-paths ["components/src" "src" "test/cljs" "dev"]
  94. :compiler {:main status-im.test.protocol.runner
  95. :output-to "target/test/test.js"
  96. :output-dir "target/test"
  97. :optimizations :none
  98. :preamble ["js/hook-require.js"]
  99. :target :nodejs}}
  100. {:id "env-dev-utils"
  101. :source-paths ["env/dev/env/utils.cljs" "test/env/dev" "dev"]
  102. :compiler {:main env.test.runner
  103. :output-to "target/test/test.js"
  104. :output-dir "target/test"
  105. :optimizations :none
  106. :target :nodejs}}]}}
  107. :prod {:cljsbuild {:builds
  108. {:ios
  109. {:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/mobile" "src" "env/prod" "prod"]
  110. :compiler {:main "env.ios.main"
  111. :output-dir "target/ios-prod"
  112. :static-fns true
  113. :fn-invoke-direct true
  114. :optimize-constants true
  115. :optimizations :advanced
  116. :pseudo-names false
  117. :pretty-print false
  118. :closure-defines {"goog.DEBUG" false}
  119. :parallel-build false
  120. :elide-asserts true
  121. :externs ["externs.js"]
  122. :language-in :es-2015
  123. :language-out :es-2015
  124. :modules {:cljs-base {:output-to "index.ios.js"}
  125. :i18n {:entries #{"status_im.goog.i18n"}
  126. :output-to "status-modules/cljs/i18n-raw.js"}
  127. :network {:entries #{"status_im.network.ui.network_details.views"
  128. "status_im.network.ui.edit_network.views"
  129. "status_im.network.ui.edit_network.styles"
  130. "status_im.network.ui.views"
  131. "status_im.network.ui.styles"
  132. "status_im.network.core"}
  133. :output-to "status-modules/cljs/network-raw.js"}}}
  134. :warning-handlers [status-im.utils.build/warning-handler]}
  135. :android
  136. {:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/mobile" "src" "env/prod" "prod"]
  137. :compiler {:main "env.android.main"
  138. :output-dir "target/android-prod"
  139. :static-fns true
  140. :fn-invoke-direct true
  141. :optimize-constants true
  142. :optimizations :advanced
  143. :stable-names true
  144. :pseudo-names false
  145. :pretty-print false
  146. :closure-defines {"goog.DEBUG" false}
  147. :parallel-build false
  148. :elide-asserts true
  149. :externs ["externs.js"]
  150. :language-in :es-2015
  151. :language-out :es-2015
  152. :modules {:cljs-base {:output-to "index.android.js"}
  153. :i18n {:entries #{"status_im.goog.i18n"}
  154. :output-to "status-modules/cljs/i18n-raw.js"}
  155. :network {:entries #{"status_im.network.ui.network_details.views"
  156. "status_im.network.ui.edit_network.views"
  157. "status_im.network.ui.edit_network.styles"
  158. "status_im.network.ui.views"
  159. "status_im.network.ui.styles"
  160. "status_im.network.core"}
  161. :output-to "status-modules/cljs/network-raw.js"}}}
  162. :warning-handlers [status-im.utils.build/warning-handler]}
  163. :desktop
  164. {:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/desktop" "src" "env/prod" "prod"]
  165. :compiler {:main "env.desktop.main"
  166. :output-dir "target/desktop-prod"
  167. :static-fns true
  168. :fn-invoke-direct true
  169. :optimize-constants true
  170. :optimizations :simple
  171. :closure-defines {"goog.DEBUG" false}
  172. :pseudo-names false
  173. :pretty-print false
  174. :parallel-build false
  175. :elide-asserts true
  176. :language-in :es-2015
  177. :language-out :es-2015
  178. :modules {:cljs-base {:output-to "index.desktop.js"}
  179. :i18n {:entries #{"status_im.goog.i18n"}
  180. :output-to "status-modules/cljs/i18n-raw.js"}
  181. :network {:entries #{"status_im.network.ui.network_details.views"
  182. "status_im.network.ui.edit_network.views"
  183. "status_im.network.ui.edit_network.styles"
  184. "status_im.network.ui.views"
  185. "status_im.network.ui.styles"
  186. "status_im.network.core"}
  187. :output-to "status-modules/cljs/network-raw.js"}}}
  188. :warning-handlers [status-im.utils.build/warning-handler]}}}}})