Created
February 7, 2017 18:35
-
-
Save Conaws/2cce7a1e583e2ee8073da8cca2c85ad8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject re-kindle "0.1.0-SNAPSHOT" | |
:dependencies [[org.clojure/clojure "1.8.0"] | |
[org.clojure/clojurescript "1.9.229"] | |
[reagent "0.6.0"] | |
[binaryage/devtools "0.8.2"] | |
[secretary "1.2.3"] | |
[devcards "0.2.2"] | |
[cljsjs/firebase "3.5.3-0"] | |
[datascript "0.15.5"] | |
[posh "0.5.5"] | |
[com.rpl/specter "0.13.3-SNAPSHOT"] | |
[com.andrewmcveigh/cljs-time "0.4.0"] | |
[re-com "1.3.0"] | |
[reanimated "0.5.0"]] | |
:min-lein-version "2.5.3" | |
:source-paths ["src/clj"] | |
:plugins [[lein-cljsbuild "1.1.4"] | |
[lein-less "1.7.5"]] | |
:clean-targets ^{:protect false} ["resources/public/js/compiled" | |
"target"] | |
:figwheel {:css-dirs ["resources/public/css"]} | |
:less {:source-paths ["less"] | |
:target-path "resources/public/css"} | |
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]} | |
:profiles | |
{:dev | |
{:dependencies [ | |
[figwheel-sidecar "0.5.8"] | |
[com.cemerick/piggieback "0.2.1"]] | |
:plugins [[lein-figwheel "0.5.8"] | |
[cider/cider-nrepl "0.13.0"]] | |
}} | |
:cljsbuild | |
{:builds | |
[{:id "dev" | |
:source-paths ["src/cljs"] | |
:figwheel {:on-jsload "re-kindle.core/reload" | |
} | |
:compiler {:main re-kindle.core | |
:optimizations :none | |
:output-to "resources/public/js/compiled/app.js" | |
:output-dir "resources/public/js/compiled/dev" | |
:asset-path "js/compiled/dev" | |
:source-map-timestamp true}} | |
{:id "devcards" | |
:source-paths ["src/devcards" "src/cljs""src/clj"] | |
:figwheel {:devcards true} | |
:compiler {:main "re-kindle.core-card" | |
:optimizations :none | |
:output-to "resources/public/js/compiled/devcards.js" | |
:output-dir "resources/public/js/compiled/devcards" | |
:asset-path "js/compiled/devcards" | |
:source-map-timestamp true}} | |
{:id "hostedcards" | |
:source-paths ["src/devcards" "src/cljs"] | |
:compiler {:main "re-kindle.core-card" | |
:optimizations :advanced | |
:devcards true | |
:output-to "resources/public/js/compiled/devcards.js" | |
:output-dir "resources/public/js/compiled/hostedcards"}} | |
{:id "min" | |
:source-paths ["src/cljs"] | |
:compiler {:main re-kindle.core | |
:optimizations :advanced | |
:output-to "resources/public/js/compiled/app.js" | |
:output-dir "resources/public/js/compiled/min" | |
:closure-defines {goog.DEBUG false} | |
:pretty-print false}} | |
]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment