forked from Mayvenn/storefront
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
79 lines (77 loc) · 3.35 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
(defproject storefront "0.1.0-SNAPSHOT"
:description "The front of the store"
:url "https://github.com/Mayvenn/storefront"
:license {:name "All rights reserved"}
:dependencies [[org.clojure/clojure "1.6.0"]
[com.taoensso/timbre "3.4.0" :exclusions [org.clojure/tools.reader]]
[com.stuartsierra/component "0.2.2"]
[environ "1.0.0"]
[clj-honeybadger "0.3.1"]
[ring/ring-jetty-adapter "1.3.2"]
[clj-http "1.0.1" :exclusions [org.clojure/tools.reader]]
[compojure "1.3.2"]
[noir-exception "0.2.3"]
[ring/ring-json "0.3.1"]
[ring/ring-defaults "0.1.3"]
[ring-jetty-component "0.2.2"]
[ring-logging "0.1.1"]
[hiccup "1.0.5"]
[cheshire "5.5.0"]
[org.clojure/clojurescript "0.0-3211"]
[org.clojure/core.cache "0.6.3"]
[org.clojure/core.memoize "0.5.6" :exclusions [org.clojure/core.cache]]
[org.omcljs/om "0.8.8"]
[sablono "0.3.4"]
[cljs-ajax "0.3.11"]
[bidi "1.18.11"]
[com.cemerick/url "0.1.1"]]
:plugins [ [lein-cljsbuild "1.0.5"]
[lein-cljfmt "0.1.10"]
[lein-figwheel "0.3.1" :exclusions [cider/cider-nrepl]]]
:figwheel {:nrepl-port 4000
:css-dirs ["resources/public/css"]}
:main storefront.core
:repl-options {:init-ns user}
:jvm-opts ["-Xmx3g"]
:clean-targets ^{:protect false} [:target-path
"resources/public/js/out/"
"resources/public/css/"
"resources/public/cdn"]
:cljsbuild
{:builds
{:dev
{:source-paths ["src-cljs"]
:figwheel {:on-jsload "storefront.core/on-jsload"}
:compiler {:main "storefront.core"
:asset-path "/js/out"
:output-to "resources/public/js/out/main.js"
:pretty-print true
:output-dir "resources/public/js/out"
:externs ["externs/riskified.js"
"externs/honeybadger.js"
"externs/yotpo.js"
"externs/optimizely.js"]}}
:release
{:compiler {:main "storefront.core"
:output-to "target/release/js/out/main.js"
:output-dir "target/release/js/out"
:source-map "target/release/js/out/main.js.map"
:source-map-path "/js/out"
:pretty-print false
:externs ["externs/riskified.js"
"externs/honeybadger.js"
"externs/yotpo.js"
"externs/optimizely.js"]
:optimizations :advanced}}}}
:auto-clean false
:profiles
{:uberjar {:aot :all}
:dev {:source-paths ["dev/clj"]
:dependencies [[pjstadig/humane-test-output "0.6.0"]
[standalone-test-server "0.3.0"]
[org.clojure/tools.namespace "0.2.9"]
[figwheel-sidecar "0.3.1"]]
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:cljsbuild
{:builds {:dev {:source-paths ["dev/cljs"]}}}}})