-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
44 lines (36 loc) · 1.48 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
41
42
43
44
(defproject om-next-template "v0.0.0"
:description "Some description"
:url ""
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0-alpha15"]
[org.clojure/clojurescript "1.9.908"]
[com.cognitect/transit-clj "0.8.300"]
[com.cognitect/transit-cljs "0.8.239"]
[ring "1.6.2"]
[compojure "1.6.0"]
[figwheel-sidecar "0.5.13"]
[org.omcljs/om "1.0.0-beta1"]
[com.stuartsierra/component "0.3.2"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.13"]
[lein-ring "0.12.1"]]
:ring {:handler backend.server/handler
:port 8440}
:resource-paths ["resources"]
:source-paths ["src/cljs" "src/clj"]
:profiles {:dev {:dependencies [[com.cemerick/piggieback "0.2.2"]
[org.clojure/tools.nrepl "0.2.13"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
:uberjar {:aot :all}}
:cljsbuild
{:builds
[{:id "advanced"
:source-paths ["src/cljs"]
:compiler {:output-to "resources/public/main.js"
:output-dir "resources/public/out"
:optimizations :advanced
:pretty-print false}}]})
;; Front-End Development
;; 1. cider-jack-in-clojurescript
;; 2. In repl: user> (load-file "script/figwheel.clj")