2016-05-19 18:31:56 +02:00
|
|
|
(defproject status-im "0.1.0-SNAPSHOT"
|
2017-09-02 18:11:31 +02:00
|
|
|
:url "https://github.com/status-im/status-react/"
|
2016-03-04 20:28:06 +03:00
|
|
|
:license {:name "Eclipse Public License"
|
|
|
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
2017-08-17 18:49:03 +02:00
|
|
|
:dependencies [[org.clojure/clojure "1.9.0-alpha17"]
|
2017-09-12 17:44:06 +02:00
|
|
|
[org.clojure/clojurescript "1.9.671"] ;; TODO: Update, cljs-priority-map blocker issue is gone.
|
2017-07-23 23:58:04 +02:00
|
|
|
[org.clojure/core.async "0.3.443"]
|
2016-11-02 22:27:31 +02:00
|
|
|
[reagent "0.6.0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]]
|
2017-08-17 18:49:03 +02:00
|
|
|
[re-frame "0.10.1"]
|
2017-07-17 14:18:52 +03:00
|
|
|
[com.andrewmcveigh/cljs-time "0.5.0"]
|
2017-08-17 18:49:03 +02:00
|
|
|
[com.taoensso/timbre "4.10.0"]
|
2017-08-25 18:49:14 +03:00
|
|
|
[hickory "0.7.1"]]
|
2017-08-17 18:49:03 +02:00
|
|
|
:plugins [[lein-cljsbuild "1.1.7"]
|
|
|
|
[lein-figwheel "0.5.13"]
|
2017-09-06 17:54:58 +03:00
|
|
|
[lein-re-frisk "0.5.1"]]
|
2016-03-04 20:28:06 +03:00
|
|
|
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
2017-07-16 12:04:35 +03:00
|
|
|
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
|
|
|
["do" "clean"
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "ios"]
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "android"]]
|
2017-07-17 14:18:52 +03:00
|
|
|
"test-cljs" ["with-profile" "test" "doo" "node" "test" "once"]
|
|
|
|
"test-protocol" ["with-profile" "test" "doo" "node" "protocol" "once"]}
|
2016-03-17 19:17:21 +02:00
|
|
|
:figwheel {:nrepl-port 7888}
|
2017-08-23 11:00:06 +02:00
|
|
|
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.11"]
|
2017-09-04 10:34:28 +03:00
|
|
|
[re-frisk-remote "0.5.0"]
|
2017-09-06 17:54:58 +03:00
|
|
|
[re-frisk-sidecar "0.5.1"]
|
2017-08-17 18:49:03 +02:00
|
|
|
[com.cemerick/piggieback "0.2.2"]
|
|
|
|
[hawk "0.2.11"]]
|
2016-04-04 19:21:10 +03:00
|
|
|
:source-paths ["src" "env/dev"]
|
2017-07-16 17:30:53 +02:00
|
|
|
:cljsbuild {:builds
|
|
|
|
{:ios
|
2017-07-16 12:04:35 +03:00
|
|
|
{:source-paths ["react-native/src" "src" "env/dev"]
|
2017-07-16 17:30:53 +02:00
|
|
|
:figwheel true
|
|
|
|
:compiler {:output-to "target/ios/app.js"
|
|
|
|
:main "env.ios.main"
|
|
|
|
:output-dir "target/ios"
|
|
|
|
:optimizations :none}}
|
|
|
|
:android
|
2017-07-16 12:04:35 +03:00
|
|
|
{:source-paths ["react-native/src" "src" "env/dev"]
|
2017-07-16 17:30:53 +02:00
|
|
|
:figwheel true
|
|
|
|
:compiler {:output-to "target/android/app.js"
|
|
|
|
:main "env.android.main"
|
|
|
|
:output-dir "target/android"
|
2017-09-02 14:46:08 +02:00
|
|
|
:optimizations :none}
|
|
|
|
:warning-handlers [status-im.utils.build/warning-handler]}}}
|
2016-11-02 22:27:31 +02:00
|
|
|
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]
|
2016-11-30 09:42:51 +02:00
|
|
|
:timeout 240000}}
|
2017-07-21 16:03:24 +03:00
|
|
|
:test {:dependencies [[day8.re-frame/test "0.1.5"]]
|
|
|
|
:plugins [[lein-doo "0.1.7"]]
|
2017-07-16 12:04:35 +03:00
|
|
|
:cljsbuild {:builds
|
|
|
|
[{:id "test"
|
|
|
|
:source-paths ["src" "test/cljs"]
|
2017-08-23 11:00:06 +02:00
|
|
|
:compiler {:main status-im.test.runner
|
2017-07-17 14:18:52 +03:00
|
|
|
:output-to "target/test/test.js"
|
|
|
|
:output-dir "target/test"
|
|
|
|
:optimizations :none
|
|
|
|
:target :nodejs}}
|
|
|
|
{:id "protocol"
|
|
|
|
:source-paths ["src" "test/cljs"]
|
2017-08-23 11:00:06 +02:00
|
|
|
:compiler {:main status-im.test.protocol.runner
|
2017-07-16 12:04:35 +03:00
|
|
|
:output-to "target/test/test.js"
|
|
|
|
:output-dir "target/test"
|
|
|
|
:optimizations :none
|
|
|
|
:target :nodejs}}]}}
|
2017-07-16 17:30:53 +02:00
|
|
|
:prod {:cljsbuild {:builds
|
|
|
|
{:ios
|
2017-07-16 12:04:35 +03:00
|
|
|
{:source-paths ["react-native/src" "src" "env/prod"]
|
2017-07-16 17:30:53 +02:00
|
|
|
:compiler {:output-to "index.ios.js"
|
|
|
|
:main "env.ios.main"
|
|
|
|
:output-dir "target/ios-prod"
|
|
|
|
:static-fns true
|
|
|
|
:optimize-constants true
|
2017-07-17 14:18:52 +03:00
|
|
|
:optimizations :simple
|
2017-07-16 17:30:53 +02:00
|
|
|
:closure-defines {"goog.DEBUG" false}
|
2017-08-17 20:57:12 +01:00
|
|
|
:parallel-build true
|
2017-09-02 14:46:08 +02:00
|
|
|
:language-in :ecmascript5}
|
|
|
|
:warning-handlers [status-im.utils.build/warning-handler]}
|
2017-07-16 17:30:53 +02:00
|
|
|
:android
|
2017-07-16 12:04:35 +03:00
|
|
|
{:source-paths ["react-native/src" "src" "env/prod"]
|
2017-07-16 17:30:53 +02:00
|
|
|
:compiler {:output-to "index.android.js"
|
|
|
|
:main "env.android.main"
|
|
|
|
:output-dir "target/android-prod"
|
|
|
|
:static-fns true
|
|
|
|
:optimize-constants true
|
2017-07-17 14:18:52 +03:00
|
|
|
:optimizations :simple
|
2017-07-16 17:30:53 +02:00
|
|
|
:closure-defines {"goog.DEBUG" false}
|
2017-08-17 20:57:12 +01:00
|
|
|
:parallel-build true
|
2017-09-02 14:46:08 +02:00
|
|
|
:language-in :ecmascript5}
|
|
|
|
:warning-handlers [status-im.utils.build/warning-handler]}}}}})
|