-
Notifications
You must be signed in to change notification settings - Fork 13
/
project.clj
77 lines (68 loc) · 4.12 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
(defproject navis/untangled-client "0.8.2-SNAPSHOT"
:description "Client-side code for Untangled Webapps"
:url ""
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[com.lucasbradstreet/cljs-uuid-utils "1.0.2"]
[devcards "0.2.2" :exclusions [org.omcljs/om org.omcljs/om org.clojure/core.async] :scope "provided"]
[lein-doo "0.1.7" :scope "test"]
[navis/untangled-spec "1.0.0-alpha3" :scope "test"]
[org.clojure/clojure "1.9.0-alpha14" :scope "provided"]
[org.clojure/clojurescript "1.9.494" :scope "provided"]
[org.clojure/core.async "0.3.442" :exclusions [org.clojure/tools.reader]]
[com.ibm.icu/icu4j "58.2"] ; needed for i18n on server-side rendering
[org.omcljs/om "1.0.0-alpha48" :scope "provided"]
[org.clojure/test.check "0.9.0" :scope "test"]]
:source-paths ["src" "src-cards"]
:resource-paths ["src" "resources"] ; maven deploy to internal artifactory needs src here
:jvm-opts ["-XX:-OmitStackTraceInFastThrow" "-Xmx512m" "-Xms256m"]
:clean-targets ^{:protect false} ["resources/private/js" "resources/public/js/cards" "resources/public/js/test" "resources/public/js/compiled" "target"]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-doo "0.1.7"]
[com.jakemccrary/lein-test-refresh "0.19.0"]]
:test-paths ["spec"]
:test-refresh {:report untangled-spec.reporters.terminal/untangled-report
:changes-only true
:with-repl true}
:test-selectors {:test/in-progress :test/in-progress
:focused :focused}
:doo {:build "automated-tests"
:paths {:karma "node_modules/karma/bin/karma"}}
:figwheel {:open-file-command "fw-open-file"
:server-port 8080}
:cljsbuild {:builds
[{:id "test"
:source-paths ["src" "dev" "spec"]
:figwheel {:on-jsload "cljs.user/spec-report"}
:compiler {:main cljs.user
:output-to "resources/public/js/test/test.js"
:output-dir "resources/public/js/test/out"
:recompile-dependents true
:preloads [devtools.preload]
:asset-path "js/test/out"
:optimizations :none}}
{:id "cards"
:source-paths ["src" "src-cards"]
:figwheel {:devcards true}
:compiler {:main untangled.client.card-ui
:output-to "resources/public/js/cards/cards.js"
:output-dir "resources/public/js/cards/out"
:asset-path "js/cards/out"
:source-map-timestamp true
:optimizations :none}}
{:id "automated-tests"
:source-paths ["spec" "src"]
:compiler {:output-to "resources/private/js/unit-tests.js"
:main untangled.all-tests
:output-dir "resources/private/js/out"
:asset-path "js/out"
:optimizations :none}}]}
:profiles {:dev {:source-paths ["dev" "src" "spec"]
:repl-options {:init-ns clj.user
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:dependencies [[binaryage/devtools "0.9.2"]
[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.9"]
[org.clojure/test.check "0.9.0"]
[org.clojure/tools.namespace "0.3.0-alpha3"]
[org.clojure/tools.nrepl "0.2.12"]]}})