37 lines
1.5 KiB
Clojure
37 lines
1.5 KiB
Clojure
(defproject todomvc-re-frame "0.5.0"
|
|
:dependencies [[org.clojure/clojure "1.7.0"]
|
|
[org.clojure/clojurescript "1.7.145"]
|
|
[reagent "0.5.1"]
|
|
[re-frame "0.5.0-alpha3"]
|
|
[figwheel "0.2.6"]
|
|
[secretary "1.2.3"]
|
|
[prismatic/schema "0.4.3"]]
|
|
|
|
:plugins [[lein-cljsbuild "1.1.0"]
|
|
[lein-figwheel "0.3.8"]]
|
|
|
|
: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"}}}})
|