forked from raxod502/minimal-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
40 lines (32 loc) · 1.51 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
(defproject minimal-webapp "0.1.0-SNAPSHOT"
:description "Minimal webapp using ClojureScript, Compojure, and Reagent"
:url "https://github.com/raxod502/minimal-webapp"
:license {:name "MIT License"
:url "http://www.opensource.org/licenses/mit-license.php"}
:dependencies [;; Language
[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.93"]
;; Server
[compojure "1.5.1"]
[hiccup "1.0.5"]
[ring/ring-jetty-adapter "1.5.0"]
;; Client
[reagent "0.5.1"]
;; Emacs integration
[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.4-7"]]
:plugins [[lein-cljsbuild "1.1.3"]
[lein-figwheel "0.5.4-7"]]
:cljsbuild {:builds [{:id "main"
:source-paths ["src"]
:figwheel true
:compiler {:main "minimal-webapp.pages.splash"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/out"
:asset-path "js/out"}}]}
:figwheel {:ring-handler minimal-webapp.server/site}
:clean-targets ^{:protect false} ["resources/public" "target"]
:uberjar-name "minimal-webapp-standalone.jar"
:profiles {:uberjar {:aot :all
:main minimal-webapp.server
:hooks [leiningen.cljsbuild]}})