-
Notifications
You must be signed in to change notification settings - Fork 7
/
project.clj
executable file
·29 lines (29 loc) · 1.19 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
(defproject pwa-clojure "0.1.1-SNAPSHOT"
:description "A simple example of to build a PWA app with clojurescript"
:source-paths ["src-clj"]
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.293"]
[bidi "2.0.13"]
[hiccup "1.0.4"]
[cheshire "5.6.3"]
[ring "1.5.0"]
[clj-http "2.3.0"]
[com.cemerick/url "0.1.1"]
[cljs-ajax "0.5.8"]
[rum "0.10.7"]]
:plugins [[lein-cljsbuild "1.1.4"]
[lein-ring "0.8.7"]]
:main pwa-clojure.main
:cljsbuild
{:builds [{:source-paths ["src-cljs"]
:compiler {:output-to "resources/public/js/main.js"
:main pwa-clojure.main
:optimizations :advanced
:pretty-print true}}
{:source-paths ["src-svc"]
:compiler {:output-to "resources/public/service-worker.js"
:main pwa-clojure.service-worker
:optimizations :advanced
:pretty-print true}}]}
:ring {:handler pwa-clojure.app/app
:nrepl {:start? true}})