-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
project.clj
67 lines (53 loc) · 2.84 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
(defproject day8.re-frame/undo "lein-git-inject/version"
:description "A library which provides undo/redo facility for re-frame"
:license {:name "MIT"}
:dependencies [[org.clojure/clojure "1.10.2" :scope "provided"]
[org.clojure/clojurescript "1.10.773" :scope "provided"
:exclusions [com.google.javascript/closure-compiler-unshaded
org.clojure/google-closure-library
org.clojure/google-closure-library-third-party]]
[thheller/shadow-cljs "2.11.18" :scope "provided"]
[re-frame "1.2.0" :scope "provided"]]
:plugins [[day8/lein-git-inject "0.0.14"]
[lein-shadow "0.3.1"]]
:middleware [leiningen.git-inject/middleware]
:profiles {:debug {:debug true}
:dev {:dependencies [[binaryage/devtools "1.0.2"]]
:plugins [[lein-ancient "0.6.15"]
[lein-shell "0.5.0"]]}}
:clean-targets [:target-path
"resources/public/js/test"]
:resource-paths ["run/resources"]
:jvm-opts ["-Xmx1g"]
:source-paths ["src"]
:test-paths ["test"]
:deploy-repositories [["clojars" {:sign-releases false
:url "https://clojars.org/repo"
:username :env/CLOJARS_USERNAME
:password :env/CLOJARS_TOKEN}]]
:release-tasks [["deploy" "clojars"]]
:shadow-cljs {:nrepl {:port 8777}
:builds {:browser-test
{:target :browser-test
:ns-regexp "-test$"
:test-dir "resources/public/js/test"
:compiler-options {:pretty-print true}
:devtools {:http-root "resources/public/js/test"
:http-port 8290}}
:karma-test
{:target :karma
:ns-regexp "-test$"
:compiler-options {:pretty-print true}
:output-to "target/karma-test.js"}}}
:shell {:commands {"karma" {:windows ["cmd" "/c" "karma"]
:default-command "karma"}
"open" {:windows ["cmd" "/c" "start"]
:macosx "open"
:linux "xdg-open"}}}
:aliases {"watch" ["do"
["clean"]
["shadow" "watch" "browser-test" "karma-test"]]
"ci" ["do"
["clean"]
["shadow" "compile" "karma-test"]
["shell" "karma" "start" "--single-run" "--reporters" "junit,dots"]]})