42 lines
1.9 KiB
Clojure
42 lines
1.9 KiB
Clojure
(defproject re-frame "0.8.0-SNAPSHOT"
|
|
:description "A Clojurescript MVC-like Framework For Writing SPAs Using Reagent."
|
|
:url "https://github.com/Day8/re-frame.git"
|
|
:license {:name "MIT"}
|
|
:dependencies [[org.clojure/clojure "1.8.0"]
|
|
[org.clojure/clojurescript "1.9.36"]
|
|
[reagent "0.6.0-rc"]]
|
|
|
|
:profiles {:debug {:debug true}
|
|
:dev {:dependencies [[karma-reporter "0.3.0"]
|
|
[binaryage/devtools "0.7.0"]]
|
|
:plugins [[lein-cljsbuild "1.1.3"]
|
|
[lein-npm "0.6.1"]
|
|
[lein-figwheel "0.5.4-2"]]}}
|
|
|
|
:clean-targets [:target-path
|
|
"run/compiled"]
|
|
|
|
:resource-paths ["run/resources"]
|
|
:jvm-opts ["-Xmx1g" "-XX:+UseConcMarkSweepGC"]
|
|
:source-paths ["src"]
|
|
:test-paths ["test"]
|
|
:deploy-repositories [["releases" :clojars]
|
|
["snapshots" :clojars]]
|
|
|
|
;; because of https://github.com/karma-runner/karma/issues/1746 we include our own fork of karma
|
|
:npm {:dependencies [[karma "https://github.com/danielcompton/karma/archive/v0.13.19.tar.gz"]
|
|
[karma-cljs-test "0.1.0"]
|
|
[karma-chrome-launcher "0.2.0"]
|
|
[karma-junit-reporter "0.3.8"]]}
|
|
|
|
:cljsbuild {:builds [{:id "test"
|
|
:source-paths ["test" "src"]
|
|
:compiler {:output-to "run/compiled/test.js"
|
|
:source-map "run/compiled/test.js.map"
|
|
:output-dir "run/compiled/test"
|
|
:optimizations :whitespace
|
|
:pretty-print true}}]}
|
|
|
|
:aliases {"auto" ["do" "clean," "cljsbuild" "auto" "test,"]
|
|
"once" ["do" "clean," "cljsbuild" "once" "test,"] })
|