-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
68 lines (54 loc) · 3.43 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 superstructor/re-highlight "lein-git-inject/version"
:description "Reagent wrapper for Highlight.js"
:url "https://github.com/superstructor/re-highlight.git"
:license {:name "MIT"}
:dependencies [[org.clojure/clojure "1.11.1" :scope "provided"]
[org.clojure/clojurescript "1.11.54" :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.19.0" :scope "provided"]
[reagent "1.1.1" :scope "provided"]
[re-com "2.13.2" :scope "provided"]]
:plugins [[day8/lein-git-inject "0.0.15"]
[lein-shadow "0.4.0"]
[lein-shell "0.5.0"]]
:middleware [leiningen.git-inject/middleware]
:profiles {:dev {:dependencies [[binaryage/devtools "1.0.6"]]
:plugins [[com.github.liquidz/antq "RELEASE"]
[lein-pprint "1.3.2"]]}}
:source-paths ["src"]
:test-paths ["test"]
:resource-paths ["resources"]
:clean-targets ^{:protect false} [:target-path
"shadow-cljs.edn"
"node_modules"
"resources/public/scripts/compiled"]
:deploy-repositories [["clojars" {:sign-releases false
:url "https://clojars.org/repo"
:username :env/CLOJARS_USERNAME
:password :env/CLOJARS_TOKEN}]]
:shadow-cljs {:builds {:demo {:target :browser
:modules {:demo {:init-fn re-highlight-demo.core/mount-root}}
:compiler-options {:closure-defines {re-highlight-demo.config/version "lein-git-inject/version"}}
:dev {:asset-path "/scripts/compiled/dev"
:output-dir "resources/public/scripts/compiled/dev"
:compiler-options {:external-config {:devtools/config {:features-to-install [:formatters :hints]}}}}
:release {:output-dir "resources/public/scripts/compiled/prod"}
:devtools {:http-port 9000
:http-root "resources/public"
:push-state/index "index_dev.html"}}
:karma-test
{:target :karma
:ns-regexp "-test$"
:output-to "target/karma-test.js"}}}
:release-tasks [["deploy" "clojars"]]
:shell {:commands {"karma" {:windows ["cmd" "/c" "karma"]
:default-command "karma"}}}
:aliases {"watch" ["with-profile" "dev" "do"
["clean"]
["shadow" "watch" "demo"]]
"ci" ["do"
["clean"]
["shadow" "compile" "karma-test"]
["shell" "karma" "start" "--single-run" "--reporters" "junit,dots"]]})