-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.clj
63 lines (51 loc) · 2.75 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
(defproject nilenso/wscljs "0.2.0"
:description "A thin and lightweight websocket client for ClojureScript."
:url "https://github.com/nilenso/wscljs"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.7.1"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.908"]]
:plugins [[lein-figwheel "0.5.13"]
[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]
[lein-doo "0.1.7"]]
:source-paths ["src"]
:deploy-repositories [["clojars" {:url "https://clojars.org/repo"
:sign-releases false}]]
:aliases {"test" ["run" "-m" "wscljs.runner"]}
:cljsbuild {:builds
[{:id "dev"
:source-paths ["src"]
:figwheel {:on-jsload "wscljs.core/on-js-reload"
:open-urls ["http://localhost:3449/index.html"]}
:compiler {:main wscljs.client
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/wscljs.js"
:output-dir "resources/public/js/compiled/out"
:source-map-timestamp true}}
{:id "test"
:source-paths ["test"]
:compiler {:main wscljs.runner
:output-to "resources/public/js/compiled/test.js"
:output-dir "resources/public/js/compiled/test/out"
:target :phantom
:optimizations :none
:process-shim false}}
{:id "min"
:source-paths ["src"]
:compiler {:output-to "resources/public/js/compiled/wscljs.js"
:main wscljs.client
:optimizations :advanced
:pretty-print false}}]}
:figwheel {:css-dirs ["resources/public/css"]}
:profiles {:dev {:dependencies [[binaryage/devtools "0.9.4"]
[figwheel-sidecar "0.5.13"]
[com.cemerick/piggieback "0.2.2"]
[org.clojure/core.async "0.3.443"]
[lein-doo "0.1.7"]
[http-kit "2.2.0"]]
:source-paths ["src" "dev"]
:prep-tasks ["compile" ["cljsbuild" "once"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:clean-targets ^{:protect false} ["resources/public/js/compiled"
:target-path]}})