2013-12-16 22:19:36 +00:00
|
|
|
|
2014-02-22 07:50:27 +00:00
|
|
|
(defproject reagent "0.4.1"
|
2014-01-17 10:12:11 +00:00
|
|
|
:url "http://github.com/holmsand/reagent"
|
2013-12-19 12:11:02 +00:00
|
|
|
:license {:name "MIT"}
|
|
|
|
:description "A simple ClojureScript interface to React"
|
2013-12-17 14:29:02 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.5.1"]
|
2014-02-22 06:59:47 +00:00
|
|
|
[org.clojure/clojurescript "0.0-2173"]]
|
2014-02-22 07:23:44 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.0.2"]
|
|
|
|
[com.cemerick/clojurescript.test "0.2.2"]]
|
2013-12-16 22:19:36 +00:00
|
|
|
:profiles {:prod {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client {:compiler
|
|
|
|
{:optimizations :advanced
|
2014-02-03 13:40:37 +00:00
|
|
|
:elide-asserts true
|
2014-01-17 10:24:03 +00:00
|
|
|
:preamble ^:replace ["reagent/react.min.js"]
|
2014-01-05 10:16:01 +00:00
|
|
|
:pretty-print false}}}}}
|
2014-02-22 07:23:44 +00:00
|
|
|
:test {:cljsbuild
|
2013-12-16 22:19:36 +00:00
|
|
|
{:builds
|
2014-01-25 16:02:58 +00:00
|
|
|
{:client {:source-paths ^:replace
|
|
|
|
["test" "src" "demo"
|
|
|
|
"examples/todomvc/src"
|
2014-02-15 16:29:37 +00:00
|
|
|
"examples/simple/src"
|
|
|
|
"examples/geometry/src"]}}}}
|
2013-12-16 22:19:36 +00:00
|
|
|
:srcmap {:cljsbuild
|
|
|
|
{:builds
|
|
|
|
{:client
|
|
|
|
{:compiler
|
|
|
|
{:source-map "target/cljs-client.js.map"
|
|
|
|
:source-map-path "client"}}}}}}
|
|
|
|
:source-paths ["src"]
|
2014-02-11 16:10:04 +00:00
|
|
|
:resource-paths ["vendor"]
|
2013-12-16 22:19:36 +00:00
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
2014-01-17 15:00:42 +00:00
|
|
|
{:client {:source-paths ["src" "demo" "examples/todomvc/src"
|
2014-02-15 16:29:37 +00:00
|
|
|
"examples/simple/src"
|
|
|
|
"examples/geometry/src"]
|
2014-01-17 15:00:42 +00:00
|
|
|
:notify-command ["node" "./bin/gen-site.js"]
|
2013-12-16 22:19:36 +00:00
|
|
|
:compiler
|
2014-01-17 10:24:03 +00:00
|
|
|
{:preamble ["reagent/react.js"]
|
2014-01-10 10:10:09 +00:00
|
|
|
:output-dir "target/client"
|
2013-12-16 22:19:36 +00:00
|
|
|
:output-to "target/cljs-client.js"
|
|
|
|
:pretty-print true}}}})
|