re-frame/examples/todomvc/project.clj

36 lines
1.5 KiB
Clojure

(defproject todomvc-re-frame "0.8.0"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.89"]
[reagent "0.6.0-rc"]
[re-frame "0.8.0-alpha2"]
[binaryage/devtools "0.7.0"]
[secretary "1.2.3"]]
:plugins [[lein-cljsbuild "1.1.3"]
[lein-figwheel "0.5.4-7"]]
:hooks [leiningen.cljsbuild]
:profiles {:dev {:cljsbuild
{:builds {:client {:source-paths ["devsrc"]
:compiler {:main "todomvc.dev"
:asset-path "js"
:optimizations :none
:source-map true
:source-map-timestamp true}}}}}
:prod {:cljsbuild
{:builds {:client {:compiler {:optimizations :advanced
:elide-asserts true
:pretty-print false}}}}}}
:figwheel {:server-port 3450
:repl true}
:clean-targets ^{:protect false} ["resources/public/js" "target"]
:cljsbuild {:builds {:client {:source-paths ["src" "../../src"]
:compiler {:output-dir "resources/public/js"
:output-to "resources/public/js/client.js"}}}})