This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
shadow-cljs.edn
69 lines (62 loc) · 3.69 KB
/
shadow-cljs.edn
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
59
60
61
62
63
64
65
66
67
68
69
;; shadow-cljs configuration
{:source-paths
["src/dev"
"src/main"
"src/test"
"scss"]
:nrepl {:port 8450}
:dependencies
[[rum "0.11.4"] ; https://github.com/tonsky/rum
[org.martinklepsch/derivatives "0.3.1-alpha"] ; Chains of derived data https://github.com/martinklepsch/derivatives
[cljs-flux "0.1.2"] ; Flux implementation for Om https://github.com/kgann/cljs-flux
;; ClojureScript libraries
[cljs-http "0.1.46"] ; HTTP for cljs https://github.com/r0man/cljs-http
[clj-commons/secretary "1.2.5-SNAPSHOT"] ; Client-side router https://github.com/clj-commons/secretary
[prismatic/dommy "1.1.0"] ; DOM manipulation and event library https://github.com/Prismatic/dommy
[funcool/cuerdas "2020.03.26-3"] ; String manipulation library for Clojure(Script) https://github.com/funcool/cuerdas
[medley "1.2.0"] ; lightweight library of useful, mostly pure functions that are "missing" from clojure.core
[cljs-hash "0.0.2"] ; various hash functions for cljs https://github.com/davesann/cljs-hash
[binaryage/oops "0.7.1"] ; ClojureScript macros for convenient native Javascript object access. https://github.com/binaryage/cljs-oops
;; Library for OC projects https://github.com/open-company/open-company-lib
;; ************************************************************************
;; ****************** NB: don't go under 0.17.29-alpha59 ******************
;; ***************** (JWT schema changes, more info here: *****************
;; ******* https://github.com/open-company/open-company-lib/pull/82) ******
;; ************************************************************************
[open-company/lib "0.19.0-alpha5" :exclusions [amazonica liberator http-kit ring/ring-codec com.stuartsierra/component clj-time]]
;; ************************************************************************
;; In addition to common functions, brings in the following common dependencies used by this project:
;; defun - Erlang-esque pattern matching for Clojure functions https://github.com/killme2008/defun
;; if-let - More than one binding for if/when macros https://github.com/LockedOn/if-let
;; Timbre - Pure Clojure/Script logging library https://github.com/ptaoussanis/timbre
;; environ - Get environment settings from different sources https://github.com/weavejester/environ
;; hickory - HTML as data https://github.com/davidsantiago/hickory
;; cljs-time - clj-time inspired date library for clojurescript. https://github.com/andrewmcveigh/cljs-time
;; com.taoensso/sente - WebSocket client https://github.com/ptaoussanis/sente
;; NB: This needs pulled in after oc.lib
[clojure-humanize "0.2.2" :excludes [com.andrewmcveigh/cljs-time]] ; Produce human readable strings in clojure https://github.com/trhura/clojure-humanize
[ring "1.8.1"]
[compojure "1.6.2" :exclusions [ring]]
[http-kit "2.5.0-alpha2"]
;; Dev dependencies
^:dev [binaryage/devtools "1.0.2"]
^:dev [djblue/portal "0.4.0"]
]
:dev-http {3559 {:roots ["public"]
:handler oc.dev/handler
}}
:builds
;; Web app
{:webapp {:target :browser
:devtools {:ignore-warnings true
:before-load oc.web.core/on-js-reload
:repl-pprint true
:repl-init-ns oc.web.core}
:modules {:oc {:init-fn oc.web.core/init}}
:repl-pprint true
:dev {:compiler-options {:optimizations :none}}
:compiler-options {:infer-externs :auto}
:release {:compiler-options {:optimizations :advanced
:source-map true
:source-map-include-sources-content true
:source-map-detail-level :symbols}}}}}