2015-11-02 11:37:04 +00:00
|
|
|
(defproject simple-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-alpha2"]
|
2015-04-17 12:42:46 +00:00
|
|
|
[figwheel "0.2.6"]]
|
2015-02-25 01:31:11 +00:00
|
|
|
|
2015-11-02 11:37:04 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.0"]
|
|
|
|
[lein-figwheel "0.3.8"]]
|
2015-02-25 01:31:11 +00:00
|
|
|
|
|
|
|
:hooks [leiningen.cljsbuild]
|
|
|
|
|
|
|
|
:profiles {:dev {:cljsbuild
|
|
|
|
{:builds {:client {:source-paths ["devsrc"]
|
2015-05-12 03:17:31 +00:00
|
|
|
:compiler {:main simpleexample.dev
|
|
|
|
:asset-path "js"
|
|
|
|
:optimizations :none
|
|
|
|
:source-map true
|
|
|
|
:source-map-timestamp true}}}}}
|
2015-02-25 01:31:11 +00:00
|
|
|
|
|
|
|
:prod {:cljsbuild
|
2015-05-12 03:17:31 +00:00
|
|
|
{:builds {:client {:compiler {:optimizations :advanced
|
|
|
|
:elide-asserts true
|
|
|
|
:pretty-print false}}}}}}
|
2015-02-25 01:31:11 +00:00
|
|
|
|
|
|
|
:figwheel {:repl false}
|
|
|
|
|
2015-05-08 05:01:19 +00:00
|
|
|
:clean-targets ^{:protect false} ["resources/public/js"]
|
|
|
|
|
2015-02-25 01:31:11 +00:00
|
|
|
:cljsbuild {:builds {:client {:source-paths ["src"]
|
2015-05-12 03:17:31 +00:00
|
|
|
:compiler {:output-dir "resources/public/js"
|
|
|
|
:output-to "resources/public/js/client.js"}}}})
|