144 lines
5.9 KiB
Clojure
144 lines
5.9 KiB
Clojure
(defproject cat "0.1.1-SNAPSHOT"
|
|
|
|
:description "A cuddle graph for zeus people"
|
|
;:url "http://example.com/FIXME"
|
|
|
|
:dependencies [[buddy "2.0.0"]
|
|
[cheshire "5.8.1"]
|
|
[clj-oauth "1.5.5"]
|
|
[clojure.java-time "0.3.2"]
|
|
[com.cemerick/friend "0.2.3"]
|
|
[com.cognitect/transit-clj "0.8.313"]
|
|
[com.google.protobuf/protobuf-java "3.6.1"]
|
|
[compojure "1.6.1"]
|
|
[conman "0.8.3"]
|
|
[cprop "0.1.13"]
|
|
[funcool/promesa "1.9.0"]
|
|
[funcool/struct "1.3.0"]
|
|
[luminus-immutant "0.2.4"]
|
|
[luminus-migrations "0.6.3"]
|
|
[luminus-transit "0.1.1"]
|
|
[luminus/ring-ttl-session "0.3.2"]
|
|
[markdown-clj "1.0.5"]
|
|
[metosin/muuntaja "0.6.3"]
|
|
[metosin/ring-http-response "0.9.1"]
|
|
[metosin/vega-tools "0.2.0"]
|
|
[mount "0.1.15"]
|
|
[mysql/mysql-connector-java "8.0.12"]
|
|
[nrepl "0.5.3"]
|
|
[org.clojure/clojure "1.10.0"]
|
|
[org.clojure/clojurescript "1.10.439" :scope "provided"]
|
|
[org.clojure/tools.cli "0.4.1"]
|
|
[org.clojure/tools.logging "0.4.1"]
|
|
;[org.postgresql/postgresql "42.2.5"]
|
|
;https://www.webjars.org/
|
|
[org.webjars.npm/bulma "0.7.2"]
|
|
[org.webjars/font-awesome "5.6.1"]
|
|
[org.webjars/webjars-locator "0.34"]
|
|
[ring-webjars "0.2.0"]
|
|
[ring/ring-core "1.7.1"]
|
|
[ring/ring-defaults "0.3.2"]
|
|
[selmer "1.12.5"]
|
|
[slingshot "0.12.1"]]
|
|
|
|
|
|
|
|
:min-lein-version "2.0.0"
|
|
|
|
:source-paths ["src/clj" "src/cljs" "src/cljc"]
|
|
:test-paths ["test/clj"]
|
|
:resource-paths ["resources" "target/cljsbuild"]
|
|
:target-path "target/%s/"
|
|
:main ^:skip-aot cat.core
|
|
|
|
:plugins [[lein-cljsbuild "1.1.7"]
|
|
[lein-immutant "2.1.0"]
|
|
[lein-kibit "0.1.2"]]
|
|
:clean-targets ^{:protect false}
|
|
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
|
|
:figwheel
|
|
{:http-server-root "public"
|
|
:server-logfile "log/figwheel-logfile.log"
|
|
:nrepl-port 7002
|
|
:css-dirs ["resources/public/css"]
|
|
:nrepl-middleware
|
|
[cider/wrap-cljs-repl cider.piggieback/wrap-cljs-repl]}
|
|
|
|
|
|
:profiles
|
|
{:uberjar {:omit-source true
|
|
:prep-tasks ["compile" ["cljsbuild" "once" "min"]]
|
|
:cljsbuild
|
|
{:builds
|
|
{:min
|
|
{:source-paths ["src/cljc" "src/cljs" "env/prod/cljs"]
|
|
:compiler
|
|
{:output-dir "target/cljsbuild/public/js"
|
|
:output-to "target/cljsbuild/public/js/app.js"
|
|
:source-map "target/cljsbuild/public/js/app.js.map"
|
|
:optimizations :advanced
|
|
:pretty-print false
|
|
:infer-externs true
|
|
:closure-warnings
|
|
{:externs-validation :off :non-standard-jsdoc :off}}}}}
|
|
:aot :all
|
|
:uberjar-name "cat.jar"
|
|
:source-paths ["env/prod/clj"]
|
|
:resource-paths ["env/prod/resources"]}
|
|
|
|
:dev [:project/dev :profiles/dev]
|
|
:test [:project/dev :project/test :profiles/test]
|
|
|
|
:project/dev {:jvm-opts ["-Dconf=dev-config.edn"]
|
|
:dependencies [[binaryage/devtools "0.9.10"]
|
|
[cider/piggieback "0.3.10"]
|
|
[doo "0.1.11"]
|
|
[expound "0.7.2"]
|
|
[figwheel-sidecar "0.5.18"]
|
|
[pjstadig/humane-test-output "0.9.0"]
|
|
[prone "1.6.1"]
|
|
[ring/ring-devel "1.7.1"]
|
|
[ring/ring-mock "0.3.2"]]
|
|
:plugins [[com.jakemccrary/lein-test-refresh "0.23.0"]
|
|
[lein-doo "0.1.11"]
|
|
[lein-figwheel "0.5.18"]]
|
|
:cljsbuild
|
|
{:builds
|
|
{:app
|
|
{:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
|
|
:figwheel {:on-jsload "cat.core/mount-components"}
|
|
:compiler
|
|
{:main "cat.app"
|
|
:asset-path "/js/out"
|
|
:output-to "target/cljsbuild/public/js/app.js"
|
|
:output-dir "target/cljsbuild/public/js/out"
|
|
:source-map true
|
|
:optimizations :none
|
|
:pretty-print true}}}}
|
|
:doo {:build "test"}
|
|
:source-paths ["env/dev/clj"]
|
|
:resource-paths ["env/dev/resources"]
|
|
:repl-options {:init-ns user}
|
|
:injections [(require 'pjstadig.humane-test-output)
|
|
(pjstadig.humane-test-output/activate!)]}
|
|
:project/test {:jvm-opts ["-Dconf=test-config.edn"]
|
|
:resource-paths ["env/test/resources"]
|
|
:cljsbuild
|
|
{:builds
|
|
{:test
|
|
{:source-paths ["src/cljc" "src/cljs" "test/cljs"]
|
|
:compiler
|
|
{:output-to "target/test.js"
|
|
:main "cat.doo-runner"
|
|
:optimizations :whitespace
|
|
:pretty-print true}}}}}
|
|
|
|
|
|
:profiles/dev {}
|
|
:profiles/test {}}
|
|
:repl-options {
|
|
;; If nREPL takes too long to load it may timeout,
|
|
;; increase this to wait longer before timing out.
|
|
;; Defaults to 30000 (30 seconds)
|
|
:timeout 120000})
|
|
|