-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
85 lines (85 loc) · 2.29 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
(defproject
frontend
"0.1.0-SNAPSHOT"
:description
"FIXME: write description"
:url
"http://example.com/FIXME"
:dependencies
[[org.clojure/clojurescript "0.0-2644"]
[prone "0.8.0"]
[selmer "0.7.7"]
[com.taoensso/tower "3.0.2"]
[markdown-clj "0.9.58" :exclusions [com.keminglabs/cljx]]
[im.chit/cronj "1.4.3"]
[com.taoensso/timbre "3.3.1"]
[noir-exception "0.2.3"]
[cljs-ajax "0.3.4"]
[lib-noir "0.9.5"]
[org.clojure/clojure "1.6.0"]
[environ "1.0.0"]
[ring-server "0.3.1"]
[ring/ring-defaults "0.1.3"]
[ring/ring-session-timeout "0.1.0"]
[reagent-forms "0.2.9"]
[reagent-utils "0.1.2"]
[mvxcvi/clj-pgp "0.8.0"]
[secretary "1.2.1"]
[clj-http "1.0.1"]
[org.clojure/data.json "0.2.5"]
[slingshot "0.12.2"]]
:repl-options
{:init-ns frontend.repl}
:jvm-opts
["-server"]
:plugins
[[lein-ring "0.9.0"]
[lein-environ "1.0.0"]
[lein-ancient "0.5.5"]
[lein-cljsbuild "1.0.4"]]
:ring
{:handler frontend.handler/app,
:init frontend.handler/init,
:destroy frontend.handler/destroy,
:uberwar-name "frontend.war"}
:profiles
{:uberjar
{:cljsbuild
{:jar true,
:builds
{:app
{:source-paths ["env/prod/cljs"],
:compiler {:optimizations :advanced, :pretty-print false}}}},
:hooks [leiningen.cljsbuild],
:omit-source true,
:env {:production true},
:aot :all},
:production
{:ring
{:open-browser? false, :stacktraces? false, :auto-reload? false}},
:dev
{:cljsbuild {:builds {:app {:source-paths ["env/dev/cljs"]}}},
:dependencies
[[ring-mock "0.1.5"]
[ring/ring-devel "1.3.2"]
[pjstadig/humane-test-output "0.6.0"]],
:injections
[(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)],
:env {:dev true :ms-user-url "http://localhost:8080/signup" :ms-user-login-url "http://localhost:8080/login"}}}
:cljsbuild
{:builds
{:app
{:source-paths ["src-cljs"],
:compiler
{:output-to "resources/public/js/app.js"
:optimizations :advanced
:pretty-print false
:output-wrapper false
;;specify the externs file to protect function names
:externs ["react/externs/react.js"],
:closure-warnings {:non-standard-jsdoc :off}}
}}}
:uberjar-name
"frontend.jar"
:min-lein-version "2.0.0")