36 lines
1.4 KiB
Clojure
36 lines
1.4 KiB
Clojure
(defproject todomvc-re-frame "0.4.0"
|
|
:dependencies [[org.clojure/clojure "1.6.0"]
|
|
[org.clojure/clojurescript "0.0-3208"]
|
|
[reagent "0.5.0"]
|
|
[re-frame "0.4.1"]
|
|
[figwheel "0.2.6"]
|
|
[secretary "1.2.3"]]
|
|
|
|
:plugins [[lein-cljsbuild "1.0.5"]
|
|
[lein-figwheel "0.2.6"]]
|
|
|
|
: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 false}
|
|
|
|
|
|
:clean-targets ^{:protect false} ["resources/public/js"]
|
|
|
|
:cljsbuild {:builds {:client {:source-paths ["src"]
|
|
:compiler {:output-dir "resources/public/js"
|
|
:output-to "resources/public/js/client.js"}}}})
|