reagent/project.clj

77 lines
3.4 KiB
Clojure
Raw Normal View History

2013-12-16 22:19:36 +00:00
(defproject reagent "0.5.0-SNAPSHOT"
:url "http://github.com/reagent-project/reagent"
2013-12-19 12:11:02 +00:00
:license {:name "MIT"}
:description "A simple ClojureScript interface to React"
2014-09-14 08:56:12 +00:00
:dependencies [[org.clojure/clojure "1.6.0"]
2015-02-05 10:39:09 +00:00
[org.clojure/clojurescript "0.0-2760"]
[cljsjs/react "0.12.2-5"]]
:plugins [[lein-cljsbuild "1.0.4"]]
2014-02-11 16:10:04 +00:00
:resource-paths ["vendor"]
:source-paths ["src"]
:profiles {:base {:cljsbuild {:builds
{:client
{:source-paths
["src"
"demo"
"examples/todomvc/src"
"examples/simple/src"
"examples/geometry/src"]}}}}
2015-01-31 22:09:42 +00:00
:test {:cljsbuild {:builds
{:client {:source-paths ["test"]}}}}
:dev-base {:dependencies
[[figwheel "0.2.2-SNAPSHOT"]]
:plugins [[lein-figwheel "0.2.2-SNAPSHOT"]]
:source-paths ["demo"] ;; for lighttable
:resource-paths ["site" "outsite"]
:figwheel {:css-dirs ["site/public/css"]}
:cljsbuild {:builds
{:client
{:source-paths ["env/dev"]
:compiler {:main "devsetup"
:source-map true
2015-01-30 16:09:24 +00:00
:source-map-timestamp true
:optimizations :none
:output-dir
"outsite/public/js/out"}}}}}
:site {:resource-paths ^:replace ["outsite" "vendor"]
:figwheel {:css-dirs ^:replace ["outsite/public/css"]}
:cljsbuild {:builds
{:client
{:notify-command
["node" "bin/gen-site.js"]}}}}
:prod [:base :site
{:cljsbuild {:builds
{:client
{:source-paths ["env/prod"]
:compiler {:main "prodsetup"
:optimizations :advanced
:elide-asserts true
2014-12-01 13:37:54 +00:00
:pretty-print false
:output-dir "target/client"}}}}}]
:dev [:test :base :dev-base]
:prod-test [:test :prod]}
:clean-targets ^{:protect false} [:target-path :compile-path
"outsite/public/js"
"outsite/public/site"
"outsite/public/news"
"outsite/public/index.html"
"out"]
:cljsbuild {:builds
{:client {:compiler
{:output-to "outsite/public/js/main.js"
:asset-path "js/out"}}}}
:figwheel {:http-server-root "public" ;; assumes "resources"
:repl false
:server-port 3449})