2013-12-16 22:19:36 +00:00
|
|
|
|
2014-02-08 12:55:01 +00:00
|
|
|
(defproject reagent "0.4.0-SNAPSHOT"
|
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-03 13:40:37 +00:00
|
|
|
[org.clojure/clojurescript "0.0-2156"]]
|
2014-01-17 15:00:42 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.0.1"]
|
|
|
|
[com.cemerick/clojurescript.test "0.2.1"]]
|
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}}}}}
|
2013-12-16 22:19:36 +00:00
|
|
|
:test {:plugins [[com.cemerick/clojurescript.test "0.2.1"]]
|
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
2014-01-25 16:02:58 +00:00
|
|
|
{:client {:source-paths ^:replace
|
|
|
|
["test" "src" "demo"
|
|
|
|
"examples/todomvc/src"
|
|
|
|
"examples/simple/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"]
|
|
|
|
:cljsbuild
|
|
|
|
{:builds
|
2014-01-17 15:00:42 +00:00
|
|
|
{:client {:source-paths ["src" "demo" "examples/todomvc/src"
|
|
|
|
"examples/simple/src"]
|
|
|
|
: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}}}})
|