2016-05-19 16:31:56 +00:00
|
|
|
(defproject status-im "0.1.0-SNAPSHOT"
|
2016-03-04 17:28:06 +00:00
|
|
|
:description "FIXME: write description"
|
|
|
|
:url "http://example.com/FIXME"
|
|
|
|
:license {:name "Eclipse Public License"
|
|
|
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
2016-10-11 14:24:52 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.9.0-alpha13"]
|
2017-07-04 17:53:49 +00:00
|
|
|
[org.clojure/clojurescript "1.9.671"]
|
2016-11-02 20:27:31 +00:00
|
|
|
[reagent "0.6.0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]]
|
2017-07-01 23:21:07 +00:00
|
|
|
[re-frame "0.9.4"]
|
2016-07-20 09:03:05 +00:00
|
|
|
[natal-shell "0.3.0"]
|
2016-06-30 16:00:44 +00:00
|
|
|
[com.andrewmcveigh/cljs-time "0.4.0"]
|
|
|
|
[tailrecursion/cljs-priority-map "1.2.0"]
|
2017-07-04 17:53:49 +00:00
|
|
|
[com.taoensso/timbre "4.7.4"]
|
|
|
|
[com.google.guava/guava "21.0"]]
|
2017-07-16 15:30:53 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.6"]
|
|
|
|
[lein-figwheel "0.5.11"]
|
2017-04-24 08:28:46 +00:00
|
|
|
[lein-re-frisk "0.4.7"]
|
2017-02-19 14:46:16 +00:00
|
|
|
[rasom/lein-externs "0.1.7"]]
|
2016-03-04 17:28:06 +00:00
|
|
|
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
2017-07-16 09:04:35 +00: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-06-26 10:45:49 +00:00
|
|
|
"generate-externs" ["with-profile" "prod" "externs" "android" "externs/externs.js"]
|
2017-07-16 09:04:35 +00:00
|
|
|
"test-cljs" ["with-profile" "test" "doo" "node" "test" "once"]}
|
2016-05-29 18:14:34 +00:00
|
|
|
:test-paths ["test/clj"]
|
2016-03-17 17:17:21 +00:00
|
|
|
:figwheel {:nrepl-port 7888}
|
2017-07-16 15:30:53 +00:00
|
|
|
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.11"]
|
2017-04-24 08:28:46 +00:00
|
|
|
[re-frisk-remote "0.4.2"]
|
|
|
|
[re-frisk-sidecar "0.4.5"]
|
2016-05-26 12:31:11 +00:00
|
|
|
[com.cemerick/piggieback "0.2.1"]
|
2016-11-02 20:27:31 +00:00
|
|
|
[io.appium/java-client "3.4.1"]
|
|
|
|
[hawk "0.2.10"]]
|
2016-04-04 16:21:10 +00:00
|
|
|
:source-paths ["src" "env/dev"]
|
2017-07-16 15:30:53 +00:00
|
|
|
:cljsbuild {:builds
|
|
|
|
{:ios
|
2017-07-16 09:04:35 +00:00
|
|
|
{:source-paths ["react-native/src" "src" "env/dev"]
|
2017-07-16 15:30:53 +00:00
|
|
|
:figwheel true
|
|
|
|
:compiler {:output-to "target/ios/app.js"
|
|
|
|
:main "env.ios.main"
|
|
|
|
:output-dir "target/ios"
|
|
|
|
:optimizations :none}}
|
|
|
|
:android
|
2017-07-16 09:04:35 +00:00
|
|
|
{:source-paths ["react-native/src" "src" "env/dev"]
|
2017-07-16 15:30:53 +00:00
|
|
|
:figwheel true
|
|
|
|
:compiler {:output-to "target/android/app.js"
|
|
|
|
:main "env.android.main"
|
|
|
|
:output-dir "target/android"
|
|
|
|
:optimizations :none}}}}
|
2016-11-02 20:27:31 +00:00
|
|
|
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]
|
2016-11-30 07:42:51 +00:00
|
|
|
:timeout 240000}}
|
2017-07-16 09:04:35 +00:00
|
|
|
:test {:plugins [[lein-doo "0.1.7"]]
|
|
|
|
:cljsbuild {:builds
|
|
|
|
[{:id "test"
|
|
|
|
:source-paths ["src" "test/cljs"]
|
|
|
|
:compiler
|
|
|
|
{:main status-im.test.runner
|
|
|
|
:output-to "target/test/test.js"
|
|
|
|
:output-dir "target/test"
|
|
|
|
:optimizations :none
|
|
|
|
:target :nodejs}}]}}
|
2017-07-16 15:30:53 +00:00
|
|
|
:prod {:cljsbuild {:builds
|
|
|
|
{:ios
|
2017-07-16 09:04:35 +00:00
|
|
|
{:source-paths ["react-native/src" "src" "env/prod"]
|
2017-07-16 15:30:53 +00:00
|
|
|
:compiler {:output-to "index.ios.js"
|
|
|
|
:main "env.ios.main"
|
|
|
|
:output-dir "target/ios-prod"
|
|
|
|
:static-fns true
|
|
|
|
:optimize-constants true
|
|
|
|
:optimizations :advanced
|
|
|
|
:externs ["externs/externs.js"]
|
|
|
|
:closure-defines {"goog.DEBUG" false}
|
2017-07-16 09:04:35 +00:00
|
|
|
:parallel-build true}}
|
2017-07-16 15:30:53 +00:00
|
|
|
:android
|
2017-07-16 09:04:35 +00:00
|
|
|
{:source-paths ["react-native/src" "src" "env/prod"]
|
2017-07-16 15:30:53 +00:00
|
|
|
:compiler {:output-to "index.android.js"
|
|
|
|
:main "env.android.main"
|
|
|
|
:output-dir "target/android-prod"
|
|
|
|
:static-fns true
|
|
|
|
:optimize-constants true
|
|
|
|
:optimizations :advanced
|
|
|
|
:externs ["externs/externs.js"]
|
|
|
|
:closure-defines {"goog.DEBUG" false}
|
2017-07-16 09:04:35 +00:00
|
|
|
:parallel-build true}}}}}})
|