reagent/project.clj

37 lines
1.5 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"]]
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-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-17 15:00:42 +00:00
{:client {:source-paths ["test"]}}}}
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"]
:output-dir "target/client"
2013-12-16 22:19:36 +00:00
:output-to "target/cljs-client.js"
:pretty-print true}}}})