Move cljs dependency to dev profile

Direct dependency to ClojureScript can add ClojureScript to uberjar,
when Reagent is used by a library (transitively, on Lein uberjar
profile) or application.
This commit is contained in:
Juho Teperi 2018-04-17 20:59:17 +03:00
parent 6e5356d8b9
commit 0be1551b8c

View File

@ -4,7 +4,6 @@
:description "A simple ClojureScript interface to React"
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.238"]
;; If :npm-deps enabled, these are used only for externs.
;; Without direct react dependency, other packages,
;; like react-leaflet might have closer dependency to a other version.
@ -24,7 +23,8 @@
:exclude clojure.string
:source-paths ["src"]}
:profiles {:dev {:dependencies [[figwheel "0.5.15"]
:profiles {:dev {:dependencies [[org.clojure/clojurescript "1.10.238"]
[figwheel "0.5.15"]
[doo "0.1.10"]
[com.google.javascript/closure-compiler-unshaded "v20180319"]
[cljsjs/prop-types "15.6.0-0"]]