2015-11-02 11:37:04 +00:00
|
|
|
(defproject todomvc-re-frame "0.5.0"
|
|
|
|
:dependencies [[org.clojure/clojure "1.7.0"]
|
|
|
|
[org.clojure/clojurescript "1.7.145"]
|
|
|
|
[reagent "0.5.1"]
|
2015-12-06 12:15:05 +00:00
|
|
|
[re-frame "0.6.0.alpha1"]
|
2015-05-12 03:17:31 +00:00
|
|
|
[figwheel "0.2.6"]
|
2015-07-13 14:27:35 +00:00
|
|
|
[secretary "1.2.3"]
|
2015-11-05 06:19:23 +00:00
|
|
|
[prismatic/schema "1.0.3"]]
|
2015-02-26 01:51:59 +00:00
|
|
|
|
2015-11-02 11:37:04 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.0"]
|
2015-11-05 06:19:23 +00:00
|
|
|
[lein-figwheel "0.4.1"]]
|
2015-02-26 01:51:59 +00:00
|
|
|
|
|
|
|
:hooks [leiningen.cljsbuild]
|
|
|
|
|
|
|
|
:profiles {:dev {:cljsbuild
|
2015-05-12 03:17:31 +00:00
|
|
|
{:builds {:client {:source-paths ["devsrc"]
|
|
|
|
:compiler {:main todomvc.dev
|
|
|
|
:asset-path "js"
|
|
|
|
:optimizations :none
|
|
|
|
:source-map true
|
|
|
|
:source-map-timestamp true}}}}}
|
2015-02-26 01:51:59 +00:00
|
|
|
|
|
|
|
:prod {:cljsbuild
|
2015-05-12 03:17:31 +00:00
|
|
|
{:builds {:client {:compiler {:optimizations :advanced
|
|
|
|
:elide-asserts true
|
|
|
|
:pretty-print false}}}}}}
|
|
|
|
|
|
|
|
:figwheel {:server-port 3450
|
2015-11-02 11:37:04 +00:00
|
|
|
:repl true}
|
2015-05-12 03:17:31 +00:00
|
|
|
|
|
|
|
|
2015-11-02 11:37:04 +00:00
|
|
|
:clean-targets ^{:protect false} ["resources/public/js" "target"]
|
2015-02-26 01:51:59 +00:00
|
|
|
|
2015-11-02 11:37:04 +00:00
|
|
|
:cljsbuild {:builds {:client {:source-paths ["src" "../../src"]
|
2015-05-12 03:17:31 +00:00
|
|
|
:compiler {:output-dir "resources/public/js"
|
|
|
|
:output-to "resources/public/js/client.js"}}}})
|