2016-05-19 16:31:56 +00:00
|
|
|
(defproject status-im "0.1.0-SNAPSHOT"
|
2017-09-02 16:11:31 +00:00
|
|
|
:url "https://github.com/status-im/status-react/"
|
2016-03-04 17:28:06 +00:00
|
|
|
:license {:name "Eclipse Public License"
|
|
|
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
2019-05-29 16:52:41 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.10.0"]
|
|
|
|
[org.clojure/clojurescript "1.10.520"
|
|
|
|
:exclusions
|
|
|
|
[com.google.javascript/closure-compiler-unshaded
|
|
|
|
org.clojure/google-closure-library]]
|
|
|
|
;; [com.google.javascript/closure-compiler-unshaded "v20180319"]
|
|
|
|
;; v20180506
|
|
|
|
[com.google.javascript/closure-compiler-unshaded "v20190325"]
|
|
|
|
[org.clojure/google-closure-library "0.0-20190213-2033d5d9"]
|
2018-01-17 08:13:11 +00:00
|
|
|
[org.clojure/core.async "0.4.474"]
|
2017-10-19 04:38:20 +00:00
|
|
|
[reagent "0.7.0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server cljsjs/create-react-class]]
|
2018-03-05 12:45:51 +00:00
|
|
|
[status-im/re-frame "0.10.5"]
|
2018-01-17 08:13:11 +00:00
|
|
|
[com.andrewmcveigh/cljs-time "0.5.2"]
|
2019-06-07 08:15:49 +00:00
|
|
|
[status-im/timbre "4.10.0-2-status"]
|
2019-06-09 04:56:51 +00:00
|
|
|
[com.taoensso/encore "2.94.0"]
|
2017-10-19 13:58:21 +00:00
|
|
|
[hickory "0.7.1"]
|
2018-07-13 15:50:35 +00:00
|
|
|
[com.cognitect/transit-cljs "0.8.248"]
|
2019-03-27 14:14:27 +00:00
|
|
|
[status-im/pluto "iteration-4-9"]
|
2018-08-22 16:16:32 +00:00
|
|
|
[mvxcvi/alphabase "1.0.0"]
|
|
|
|
[rasom/cljs-react-navigation "0.1.4"]]
|
2017-08-17 16:49:03 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.7"]
|
2018-05-08 11:21:20 +00:00
|
|
|
[lein-re-frisk "0.5.8"]
|
|
|
|
[lein-cljfmt "0.5.7"]
|
2018-07-10 14:17:27 +00:00
|
|
|
[rasom/lein-githooks "0.1.5"]]
|
2018-05-08 11:21:20 +00:00
|
|
|
:githooks {:auto-install true
|
2018-05-31 06:20:24 +00:00
|
|
|
:pre-commit ["lein cljfmt check src/status_im/core.cljs $(git diff --diff-filter=d --cached --name-only src test/cljs)"]}
|
2018-05-08 11:21:20 +00:00
|
|
|
:cljfmt {:indents {letsubs [[:inner 0]]}}
|
2019-06-04 15:20:03 +00:00
|
|
|
:clean-targets ["target/" "index.ios.js" "index.android.js" "status-modules/cljs"]
|
2018-01-18 10:15:37 +00:00
|
|
|
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
2017-10-19 04:38:20 +00:00
|
|
|
["do" "clean"
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "ios"]
|
2018-07-23 15:21:31 +00:00
|
|
|
["with-profile" "prod" "cljsbuild" "once" "android"]
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "desktop"]]
|
2018-02-06 18:10:35 +00:00
|
|
|
"prod-build-android" ^{:doc "Recompile code for Android with prod profile."}
|
|
|
|
["do" "clean"
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "android"]]
|
|
|
|
"prod-build-ios" ^{:doc "Recompile code for iOS with prod profile."}
|
|
|
|
["do" "clean"
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "ios"]]
|
2019-06-04 17:00:19 +00:00
|
|
|
"prod-build-desktop" ^{:doc "Recompile code for desktop with prod profile."}
|
2018-11-15 13:03:19 +00:00
|
|
|
["do" "clean"
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "desktop"]]
|
2018-01-18 10:15:37 +00:00
|
|
|
"figwheel-repl" ["with-profile" "+figwheel" "run" "-m" "clojure.main" "env/dev/run.clj"]
|
|
|
|
"test-cljs" ["with-profile" "test" "doo" "node" "test" "once"]
|
|
|
|
"test-protocol" ["with-profile" "test" "doo" "node" "protocol" "once"]
|
2017-12-22 12:35:05 +00:00
|
|
|
"test-env-dev-utils" ["with-profile" "test" "doo" "node" "env-dev-utils" "once"]}
|
2019-04-25 04:28:27 +00:00
|
|
|
:profiles {:dev {:dependencies [[cider/piggieback "0.4.0"]]
|
2018-01-18 10:15:37 +00:00
|
|
|
:cljsbuild {:builds
|
|
|
|
{:ios
|
2019-06-01 06:47:37 +00:00
|
|
|
{:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/mobile" "src" "dev"]
|
2018-01-18 10:15:37 +00:00
|
|
|
:compiler {:output-to "target/ios/app.js"
|
|
|
|
:main "env.ios.main"
|
|
|
|
:output-dir "target/ios"
|
|
|
|
:optimizations :none}}
|
|
|
|
:android
|
2019-06-01 06:47:37 +00:00
|
|
|
{:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/mobile" "src" "dev"]
|
2018-01-18 10:15:37 +00:00
|
|
|
:compiler {:output-to "target/android/app.js"
|
|
|
|
:main "env.android.main"
|
|
|
|
:output-dir "target/android"
|
|
|
|
:optimizations :none}
|
2018-03-22 14:48:04 +00:00
|
|
|
:warning-handlers [status-im.utils.build/warning-handler]}
|
|
|
|
:desktop
|
2019-06-01 06:47:37 +00:00
|
|
|
{:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/desktop" "src" "dev"]
|
2018-03-22 14:48:04 +00:00
|
|
|
:compiler {:output-to "target/desktop/app.js"
|
|
|
|
:main "env.desktop.main"
|
|
|
|
:output-dir "target/desktop"
|
|
|
|
:optimizations :none}}}}
|
2018-09-15 10:19:49 +00:00
|
|
|
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]
|
2018-01-18 10:15:37 +00:00
|
|
|
:timeout 240000}}
|
|
|
|
:figwheel [:dev
|
2019-04-25 04:28:27 +00:00
|
|
|
{:dependencies [[figwheel-sidecar "0.5.18"]
|
2018-03-05 12:45:51 +00:00
|
|
|
[re-frisk-remote "0.5.5"]
|
2018-04-20 14:16:05 +00:00
|
|
|
[re-frisk-sidecar "0.5.7"]
|
2018-03-05 12:45:51 +00:00
|
|
|
[day8.re-frame/tracing "0.5.0"]
|
2018-01-18 10:15:37 +00:00
|
|
|
[hawk "0.2.11"]]
|
2019-06-01 06:47:37 +00:00
|
|
|
:source-paths ["src" "env/dev" "react-native/src/cljsjs" "components/src" "dev"]}]
|
2018-01-18 10:15:37 +00:00
|
|
|
:test {:dependencies [[day8.re-frame/test "0.1.5"]]
|
2018-05-01 11:09:37 +00:00
|
|
|
:plugins [[lein-doo "0.1.9"]]
|
2018-01-18 10:15:37 +00:00
|
|
|
:cljsbuild {:builds
|
|
|
|
[{:id "test"
|
2019-06-01 06:47:37 +00:00
|
|
|
:source-paths ["components/src" "src" "test/cljs" "dev"]
|
2018-01-18 10:15:37 +00:00
|
|
|
:compiler {:main status-im.test.runner
|
|
|
|
:output-to "target/test/test.js"
|
|
|
|
:output-dir "target/test"
|
|
|
|
:optimizations :none
|
|
|
|
:preamble ["js/hook-require.js"]
|
|
|
|
:target :nodejs}}
|
|
|
|
{:id "protocol"
|
2019-06-01 06:47:37 +00:00
|
|
|
:source-paths ["components/src" "src" "test/cljs" "dev"]
|
2019-06-04 15:20:03 +00:00
|
|
|
:compiler {:main status-im.test.protocol.runner
|
|
|
|
:output-to "target/test/test.js"
|
|
|
|
:output-dir "target/test"
|
|
|
|
:optimizations :none
|
|
|
|
:preamble ["js/hook-require.js"]
|
|
|
|
:target :nodejs}}
|
2018-01-18 10:15:37 +00:00
|
|
|
{:id "env-dev-utils"
|
2019-06-01 06:47:37 +00:00
|
|
|
:source-paths ["env/dev/env/utils.cljs" "test/env/dev" "dev"]
|
2018-01-18 10:15:37 +00:00
|
|
|
:compiler {:main env.test.runner
|
|
|
|
:output-to "target/test/test.js"
|
|
|
|
:output-dir "target/test"
|
|
|
|
:optimizations :none
|
|
|
|
:target :nodejs}}]}}
|
|
|
|
:prod {:cljsbuild {:builds
|
|
|
|
{:ios
|
2019-06-01 06:47:37 +00:00
|
|
|
{:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/mobile" "src" "env/prod" "prod"]
|
2019-06-04 15:20:03 +00:00
|
|
|
:compiler {:main "env.ios.main"
|
2018-01-18 10:15:37 +00:00
|
|
|
:output-dir "target/ios-prod"
|
|
|
|
:static-fns true
|
2019-05-29 16:52:41 +00:00
|
|
|
:fn-invoke-direct true
|
2018-01-18 10:15:37 +00:00
|
|
|
:optimize-constants true
|
2019-05-29 16:52:41 +00:00
|
|
|
:optimizations :advanced
|
|
|
|
:pseudo-names false
|
|
|
|
:pretty-print false
|
2018-01-18 10:15:37 +00:00
|
|
|
:closure-defines {"goog.DEBUG" false}
|
|
|
|
:parallel-build false
|
2018-03-13 17:04:04 +00:00
|
|
|
:elide-asserts true
|
2019-05-29 16:52:41 +00:00
|
|
|
:externs ["externs.js"]
|
2019-06-04 15:20:03 +00:00
|
|
|
:language-in :es-2015
|
|
|
|
:language-out :es-2015
|
2019-06-08 04:04:07 +00:00
|
|
|
:modules {:cljs-base {:output-to "index.ios.js"}
|
|
|
|
:i18n {:entries #{"status_im.goog.i18n"}
|
|
|
|
:output-to "status-modules/cljs/i18n-raw.js"}
|
|
|
|
:network {:entries #{"status_im.network.ui.network_details.views"
|
|
|
|
"status_im.network.ui.edit_network.views"
|
|
|
|
"status_im.network.ui.edit_network.styles"
|
|
|
|
"status_im.network.ui.views"
|
|
|
|
"status_im.network.ui.styles"
|
|
|
|
"status_im.network.events"
|
|
|
|
"status_im.network.subs"
|
|
|
|
"status_im.network.core"}
|
|
|
|
:output-to "status-modules/cljs/network-raw.js"}
|
|
|
|
:extensions {:entries #{"status_im.extensions.ui.db"
|
|
|
|
"status_im.extensions.ui.add.events"
|
|
|
|
"status_im.extensions.ui.add.views"
|
|
|
|
"status_im.extensions.ui.add.styles"
|
|
|
|
"status_im.extensions.ui.views"
|
|
|
|
"status_im.extensions.ui.styles"
|
|
|
|
"status_im.extensions.events"
|
|
|
|
"status_im.extensions.registry"
|
|
|
|
"status_im.extensions.core"
|
|
|
|
"status_im.extensions.module"
|
|
|
|
"status_im.extensions.capacities.events"
|
|
|
|
"status_im.extensions.capacities.subs"
|
|
|
|
"status_im.extensions.capacities.camera.events"
|
|
|
|
"status_im.extensions.capacities.camera.views"
|
|
|
|
"status_im.extensions.capacities.components"
|
|
|
|
"status_im.extensions.capacities.views"
|
|
|
|
"status_im.extensions.capacities.ethereum"
|
|
|
|
"status_im.extensions.capacities.map"
|
|
|
|
"status_im.extensions.capacities.network"}
|
|
|
|
:output-to "status-modules/cljs/extensions-raw.js"}}}
|
2018-01-18 10:15:37 +00:00
|
|
|
:warning-handlers [status-im.utils.build/warning-handler]}
|
|
|
|
:android
|
2019-06-01 06:47:37 +00:00
|
|
|
{:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/mobile" "src" "env/prod" "prod"]
|
2019-06-04 15:20:03 +00:00
|
|
|
:compiler {:main "env.android.main"
|
2018-01-18 10:15:37 +00:00
|
|
|
:output-dir "target/android-prod"
|
|
|
|
:static-fns true
|
2019-05-29 16:52:41 +00:00
|
|
|
:fn-invoke-direct true
|
2018-01-18 10:15:37 +00:00
|
|
|
:optimize-constants true
|
2019-05-29 16:52:41 +00:00
|
|
|
:optimizations :advanced
|
|
|
|
:pseudo-names false
|
|
|
|
:pretty-print false
|
2018-01-18 10:15:37 +00:00
|
|
|
:closure-defines {"goog.DEBUG" false}
|
|
|
|
:parallel-build false
|
2018-03-13 17:04:04 +00:00
|
|
|
:elide-asserts true
|
2019-05-29 16:52:41 +00:00
|
|
|
:externs ["externs.js"]
|
2019-06-04 15:20:03 +00:00
|
|
|
:language-in :es-2015
|
|
|
|
:language-out :es-2015
|
2019-06-08 04:04:07 +00:00
|
|
|
:modules {:cljs-base {:output-to "index.android.js"}
|
|
|
|
:i18n {:entries #{"status_im.goog.i18n"}
|
|
|
|
:output-to "status-modules/cljs/i18n-raw.js"}
|
|
|
|
:network {:entries #{"status_im.network.ui.network_details.views"
|
|
|
|
"status_im.network.ui.edit_network.views"
|
|
|
|
"status_im.network.ui.edit_network.styles"
|
|
|
|
"status_im.network.ui.views"
|
|
|
|
"status_im.network.ui.styles"
|
|
|
|
"status_im.network.events"
|
|
|
|
"status_im.network.subs"
|
|
|
|
"status_im.network.core"}
|
|
|
|
:output-to "status-modules/cljs/network-raw.js"}
|
|
|
|
:extensions {:entries #{"status_im.extensions.ui.db"
|
|
|
|
"status_im.extensions.ui.add.events"
|
|
|
|
"status_im.extensions.ui.add.views"
|
|
|
|
"status_im.extensions.ui.add.styles"
|
|
|
|
"status_im.extensions.ui.views"
|
|
|
|
"status_im.extensions.ui.styles"
|
|
|
|
"status_im.extensions.events"
|
|
|
|
"status_im.extensions.registry"
|
|
|
|
"status_im.extensions.core"
|
|
|
|
"status_im.extensions.module"
|
|
|
|
"status_im.extensions.capacities.events"
|
|
|
|
"status_im.extensions.capacities.subs"
|
|
|
|
"status_im.extensions.capacities.camera.events"
|
|
|
|
"status_im.extensions.capacities.camera.views"
|
|
|
|
"status_im.extensions.capacities.components"
|
|
|
|
"status_im.extensions.capacities.views"
|
|
|
|
"status_im.extensions.capacities.ethereum"
|
|
|
|
"status_im.extensions.capacities.map"
|
|
|
|
"status_im.extensions.capacities.network"}
|
|
|
|
:output-to "status-modules/cljs/extensions-raw.js"}}}
|
2018-07-23 15:21:31 +00:00
|
|
|
:warning-handlers [status-im.utils.build/warning-handler]}
|
|
|
|
:desktop
|
2019-06-01 06:47:37 +00:00
|
|
|
{:source-paths ["components/src" "react-native/src/cljsjs" "react-native/src/desktop" "src" "env/prod" "prod"]
|
2019-06-04 15:20:03 +00:00
|
|
|
:compiler {:main "env.desktop.main"
|
2018-07-23 15:21:31 +00:00
|
|
|
:output-dir "target/desktop-prod"
|
|
|
|
:static-fns true
|
2019-06-04 15:20:03 +00:00
|
|
|
:fn-invoke-direct true
|
2018-07-23 15:21:31 +00:00
|
|
|
:optimize-constants true
|
|
|
|
:optimizations :simple
|
|
|
|
:closure-defines {"goog.DEBUG" false}
|
2019-06-04 15:20:03 +00:00
|
|
|
:pseudo-names false
|
|
|
|
:pretty-print false
|
2018-07-23 15:21:31 +00:00
|
|
|
:parallel-build false
|
|
|
|
:elide-asserts true
|
2019-06-04 15:20:03 +00:00
|
|
|
:language-in :es-2015
|
|
|
|
:language-out :es-2015
|
2019-06-06 18:09:26 +00:00
|
|
|
:modules {:cljs-base {:output-to "index.desktop.js"}
|
|
|
|
:i18n {:entries #{"status_im.goog.i18n"}
|
|
|
|
:output-to "status-modules/cljs/i18n-raw.js"}
|
|
|
|
:network {:entries #{"status_im.network.ui.network_details.views"
|
|
|
|
"status_im.network.ui.edit_network.views"
|
|
|
|
"status_im.network.ui.edit_network.styles"
|
|
|
|
"status_im.network.ui.views"
|
|
|
|
"status_im.network.ui.styles"
|
|
|
|
"status_im.network.events"
|
|
|
|
"status_im.network.subs"
|
|
|
|
"status_im.network.core"}
|
2019-06-08 04:04:07 +00:00
|
|
|
:output-to "status-modules/cljs/network-raw.js"}
|
|
|
|
:extensions {:entries #{"status_im.extensions.ui.db"
|
|
|
|
"status_im.extensions.ui.add.events"
|
|
|
|
"status_im.extensions.ui.add.views"
|
|
|
|
"status_im.extensions.ui.add.styles"
|
|
|
|
"status_im.extensions.ui.views"
|
|
|
|
"status_im.extensions.ui.styles"
|
|
|
|
"status_im.extensions.events"
|
|
|
|
"status_im.extensions.registry"
|
|
|
|
"status_im.extensions.core"
|
|
|
|
"status_im.extensions.module"
|
|
|
|
"status_im.extensions.capacities.events"
|
|
|
|
"status_im.extensions.capacities.subs"
|
|
|
|
"status_im.extensions.capacities.camera.events"
|
|
|
|
"status_im.extensions.capacities.camera.views"
|
|
|
|
"status_im.extensions.capacities.components"
|
|
|
|
"status_im.extensions.capacities.views"
|
|
|
|
"status_im.extensions.capacities.ethereum"
|
|
|
|
"status_im.extensions.capacities.map"
|
|
|
|
"status_im.extensions.capacities.network"}
|
|
|
|
:output-to "status-modules/cljs/extensions-raw.js"}}}
|
2018-01-18 10:15:37 +00:00
|
|
|
:warning-handlers [status-im.utils.build/warning-handler]}}}}})
|