2017-10-07 06:34:31 +00:00
|
|
|
(defproject re-frame "0.10.3-SNAPSHOT"
|
2015-05-19 05:04:24 +00:00
|
|
|
:description "A Clojurescript MVC-like Framework For Writing SPAs Using Reagent."
|
2014-12-08 03:48:59 +00:00
|
|
|
:url "https://github.com/Day8/re-frame.git"
|
2015-02-25 21:26:08 +00:00
|
|
|
:license {:name "MIT"}
|
2016-06-14 12:46:38 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.8.0"]
|
2017-08-17 11:40:58 +00:00
|
|
|
[org.clojure/clojurescript "1.9.908"]
|
|
|
|
[reagent "0.7.0"]
|
|
|
|
[net.cgrand/macrovich "0.2.0"]
|
2016-07-22 02:35:21 +00:00
|
|
|
[org.clojure/tools.logging "0.3.1"]]
|
2015-07-24 14:34:45 +00:00
|
|
|
|
2015-12-10 04:26:06 +00:00
|
|
|
:profiles {:debug {:debug true}
|
2016-08-30 02:41:04 +00:00
|
|
|
:dev {:dependencies [[karma-reporter "1.0.1"]
|
2017-08-17 11:40:58 +00:00
|
|
|
[binaryage/devtools "0.9.4"]]
|
2016-08-30 02:41:04 +00:00
|
|
|
:plugins [[lein-ancient "0.6.10"]
|
2017-08-17 11:40:58 +00:00
|
|
|
[lein-cljsbuild "1.1.5"]
|
2016-07-21 07:08:38 +00:00
|
|
|
[lein-npm "0.6.2"]
|
2017-08-17 11:40:58 +00:00
|
|
|
[lein-figwheel "0.5.13"]
|
2016-07-21 07:08:38 +00:00
|
|
|
[lein-shell "0.5.0"]]}}
|
2015-07-24 14:34:45 +00:00
|
|
|
|
2016-07-14 01:21:12 +00:00
|
|
|
:clean-targets [:target-path "run/compiled"]
|
2015-07-24 14:34:45 +00:00
|
|
|
|
2014-12-08 03:48:59 +00:00
|
|
|
:resource-paths ["run/resources"]
|
2015-12-10 04:26:06 +00:00
|
|
|
:jvm-opts ["-Xmx1g" "-XX:+UseConcMarkSweepGC"]
|
2016-07-14 01:21:12 +00:00
|
|
|
:source-paths ["src"]
|
|
|
|
:test-paths ["test"]
|
|
|
|
|
|
|
|
:shell {:commands {"open" {:windows ["cmd" "/c" "start"]
|
|
|
|
:macosx "open"
|
|
|
|
:linux "xdg-open"}}}
|
|
|
|
|
2016-07-19 04:52:03 +00:00
|
|
|
:deploy-repositories [["releases" {:sign-releases false :url "https://clojars.org/repo"}]
|
|
|
|
["snapshots" {:sign-releases false :url "https://clojars.org/repo"}]]
|
2015-04-15 12:34:36 +00:00
|
|
|
|
2016-07-19 04:37:29 +00:00
|
|
|
:release-tasks [["vcs" "assert-committed"]
|
|
|
|
["change" "version" "leiningen.release/bump-version" "release"]
|
|
|
|
["vcs" "commit"]
|
|
|
|
["vcs" "tag" "v" "--no-sign"]
|
|
|
|
["deploy"]
|
|
|
|
["change" "version" "leiningen.release/bump-version"]
|
|
|
|
["vcs" "commit"]
|
|
|
|
["vcs" "push"]]
|
|
|
|
|
2017-01-30 12:56:59 +00:00
|
|
|
:npm {:devDependencies [[karma "1.0.0"]
|
|
|
|
[karma-cljs-test "0.1.0"]
|
|
|
|
[karma-chrome-launcher "0.2.0"]
|
|
|
|
[karma-junit-reporter "0.3.8"]]}
|
2015-12-10 04:26:06 +00:00
|
|
|
|
|
|
|
:cljsbuild {:builds [{:id "test"
|
2016-06-09 06:43:55 +00:00
|
|
|
:source-paths ["test" "src"]
|
2016-08-24 00:40:56 +00:00
|
|
|
:compiler {:preloads [devtools.preload]
|
2016-10-31 21:26:25 +00:00
|
|
|
:external-config {:devtools/config {:features-to-install [:formatters :hints]}}
|
2016-08-24 00:40:56 +00:00
|
|
|
:output-to "run/compiled/browser/test.js"
|
2016-07-14 01:21:12 +00:00
|
|
|
:source-map true
|
|
|
|
:output-dir "run/compiled/browser/test"
|
|
|
|
:optimizations :none
|
|
|
|
:source-map-timestamp true
|
|
|
|
:pretty-print true}}
|
|
|
|
{:id "karma"
|
|
|
|
:source-paths ["test" "src"]
|
|
|
|
:compiler {:output-to "run/compiled/karma/test.js"
|
|
|
|
:source-map "run/compiled/karma/test.js.map"
|
|
|
|
:output-dir "run/compiled/karma/test"
|
2016-06-22 00:54:41 +00:00
|
|
|
:optimizations :whitespace
|
2016-07-14 01:21:12 +00:00
|
|
|
:main "re_frame.test_runner"
|
2016-11-28 09:07:23 +00:00
|
|
|
:pretty-print true
|
|
|
|
:closure-defines {"re_frame.trace.trace_enabled_QMARK_" true}}}]}
|
2015-12-10 04:26:06 +00:00
|
|
|
|
2016-07-14 01:21:12 +00:00
|
|
|
:aliases {"test-once" ["do" "clean," "cljsbuild" "once" "test," "shell" "open" "test/test.html"]
|
|
|
|
"test-auto" ["do" "clean," "cljsbuild" "auto" "test,"]
|
2016-10-12 00:09:02 +00:00
|
|
|
"karma-once" ["do" "clean," "cljsbuild" "once" "karma,"]
|
2017-09-26 13:52:13 +00:00
|
|
|
"karma-auto" ["do" "clean," "cljsbuild" "auto" "karma,"]
|
|
|
|
;; NOTE: In order to compile docs you would need to install
|
|
|
|
;; gitbook-cli(2.3.2) utility globaly using npm or yarn
|
|
|
|
"docs-serve" ^{:doc "Runs the development server of docs with live reloading"} ["shell" "gitbook" "serve" "./" "./build/re-frame/"]
|
|
|
|
"docs-build" ^{:doc "Builds the HTML version of docs"} ["shell" "gitbook" "build" "./" "./build/re-frame/"]
|
|
|
|
;; NOTE: Calibre and svgexport(0.3.2) are needed to build below
|
|
|
|
;; formats of docs. Install svgexpor3t using npm or yarn.
|
|
|
|
"docs-pdf" ^{:doc "Builds the PDF version of docs"}
|
|
|
|
["do"
|
|
|
|
["shell" "mkdir" "-p" "./build/"]
|
|
|
|
["shell" "gitbook" "pdf" "./" "./build/re-frame.pdf"]]
|
|
|
|
|
|
|
|
"docs-mobi" ^{:doc "Builds the MOBI version of docs"}
|
|
|
|
["do"
|
|
|
|
["shell" "mkdir" "-p" "./build/"]
|
|
|
|
["shell" "gitbook" "mobi" "./" "./build/re-frame.mobi"]]
|
|
|
|
|
|
|
|
"docs-epub" ^{:doc "Builds the EPUB version of docs"}
|
|
|
|
["do"
|
|
|
|
["shell" "mkdir" "-p" "./build/"]
|
|
|
|
["shell" "gitbook" "epub" "./" "./build/re-frame.epub"]]})
|