reagent/project.clj

42 lines
1.7 KiB
Clojure

(defproject reagent "0.4.4-SNAPSHOT"
:url "http://github.com/reagent-project/reagent"
:license {:name "MIT"}
:description "A simple ClojureScript interface to React"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2342"]]
:plugins [[lein-cljsbuild "1.0.3"]
[com.cemerick/clojurescript.test "0.3.1"]]
:profiles {:dev {:source-paths ["src" "demo"]}
:prod {:cljsbuild
{:builds
{:client {:compiler
{:optimizations :advanced
:elide-asserts true
:pretty-print false}}}}}
:test {:cljsbuild
{:builds
{:client {:source-paths ^:replace
["test" "src" "demo"
"examples/todomvc/src"
"examples/simple/src"
"examples/geometry/src"]}}}}
:srcmap {:cljsbuild
{:builds
{:client
{:compiler
{:source-map "target/cljs-client.js.map"
:source-map-path "client"}}}}}}
:source-paths ["src"]
:resource-paths ["vendor"]
:cljsbuild
{:builds
{:client {:source-paths ["src" "demo" "examples/todomvc/src"
"examples/simple/src"
"examples/geometry/src"]
:notify-command ["node" "./bin/gen-site.js"]
:compiler
{:output-dir "target/client"
:output-to "target/cljs-client.js"
:pretty-print true}}}})