This repository has been archived by the owner on Jan 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
58 lines (56 loc) · 3.23 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
(defproject hive "0.1.0-SNAPSHOT"
:description "Your go-to routing app for public transport"
:url "https://github.com/hiposfer/hive"
:license {:name "LGPLv3"
:url "https://raw.githubusercontent.com/hiposfer/hive/master/LICENSE"}
:dependencies [[org.clojure/clojure "1.9.0"]
;; https://github.com/bhauman/lein-figwheel/issues/715
;; [org.clojure/clojurescript "1.10.439"]
[org.clojure/clojurescript "1.10.339"]
;; for advanced compilation
[react-native-externs "0.2.0"]
[reagent "0.8.1" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server cljsjs/create-react-class]]
[datascript "0.16.6"]
;; wrapper around react navigation
[cljs-react-navigation "0.1.1"]
[lambdaisland/uri "1.1.0"]
;; reactive UI components
[hiposfer/rata "0.2.0"]
;; gtfs specification
[hiposfer/gtfs.edn "0.2.0"]
[hiposfer/geojson.specs "0.2.0"]
[org.clojure/core.async "0.4.490"]]
:plugins [[lein-cljsbuild "1.1.4"]
[lein-figwheel "0.5.14"]]
:clean-targets ["target/" "main.js"]
:aliases {"figwheel" ["run" "-m" "user" "--figwheel"]
"simple-release" ["do" ["clean"]
["run" "-m" "user" "--prepare-release"]
["cljsbuild" "once" "simple"]]}
:profiles {:dev {:dependencies [[expound "0.7.0"]
[figwheel-sidecar "0.5.14"]
[com.cemerick/piggieback "0.2.1"]
[org.clojure/test.check "0.9.0"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}}
:cljsbuild {:builds [{:id "main" ;; do NOT change this - used by figwheel bridge
:source-paths ["src"]
:figwheel true
:compiler {:output-to "target/expo/index.js"
:main "env.expo.main"
:infer-externs true
:target :nodejs
:output-dir "target/expo"
:optimizations :none}}
{:id "simple"
:source-paths ["src"]
:compiler {:output-to "main.js"
:main "env.expo.main"
:static-fns true
:fn-invoke-direct true
:externs ["js/externs.js"]
:infer-externs true
:parallel-build true
:optimize-constants true
:target :nodejs
:optimizations :simple
:closure-defines {"goog.DEBUG" false}}}]})