Skip to content

Instantly share code, notes, and snippets.

@saevarb
Created Jul 24, 2017
Embed
What would you like to do?
(defproject dashboard "0.1.0-SNAPSHOT"
:repositories {"my.datomic.com" {:url "https://my.datomic.com/repo"
:creds :gpg}}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.229"]
[org.clojure/core.async "0.3.443"]
[reagent "0.6.0"]
[re-frame "0.9.4"]
[re-frisk "0.4.5"]
[com.datomic/datomic-pro "0.9.5561.50"]
[com.datomic/clj-client "0.8.606"]
[javax.servlet/servlet-api "2.5"]
[ring/ring-core "1.6.2" :exclusions [ring/ring-jetty-adapter]]
[compojure "1.6.0"]
[http-kit "2.2.0"]
[com.taoensso/sente "1.11.0"]
]
:plugins [[lein-cljsbuild "1.1.4"]
[lein-ring "0.12.0"]]
:ring {:handler dashboard.core/myapp}
:min-lein-version "2.5.3"
:main dashboard.core
:source-paths ["src/clj"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:figwheel {:css-dirs ["resources/public/css"]}
:sass {:src "sass"
:dst "resources/public/css/"}
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:profiles
{:dev
{:dependencies [[binaryage/devtools "0.8.2"]
[figwheel-sidecar "0.5.9"]
[com.cemerick/piggieback "0.2.1"]]
:plugins [[lein-figwheel "0.5.9"]]
}}
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs" "src/dev"]
:figwheel {:on-jsload "dashboard.core/mount-root"}
:compiler {:main dashboard.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:source-map-timestamp true
:preloads [devtools.preload]
:external-config {:devtools/config {:features-to-install :all}}
}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main dashboard.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}}
]}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment