reagent/project.clj

42 lines
1.7 KiB
Clojure
Raw Normal View History

2013-12-16 22:19:36 +00:00
2014-01-17 10:12:11 +00:00
(defproject reagent "0.2.0-SNAPSHOT"
: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-01-02 10:17:50 +00:00
[org.clojure/clojurescript "0.0-2138"]]
2013-12-16 22:19:36 +00:00
:plugins [[lein-cljsbuild "1.0.1"]]
:profiles {:prod {:cljsbuild
{:builds
{:client {:compiler
{:optimizations :advanced
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
{:client {:source-paths ["test"
"examples/todomvc/src"
2014-01-07 19:04:49 +00:00
"examples/simple/src"]}}}}
2014-01-10 10:49:36 +00:00
:demo {:cljsbuild
{:builds
{:client {:source-paths ["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-07 19:04:49 +00:00
{:client {:source-paths ["src"]
2013-12-16 22:19:36 +00:00
:compiler
2014-01-17 10:24:03 +00:00
{:preamble ["reagent/react.js"]
:output-dir "target/client"
2013-12-16 22:19:36 +00:00
:output-to "target/cljs-client.js"
:pretty-print true}}}})