-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
57 lines (45 loc) · 2.94 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
(defproject superstructor/re-jsoneditor "lein-git-inject/version"
:description "Reagent wrapper for josdejong/jsoneditor"
:url "https://github.com/superstruct/re-jsoneditor.git"
:license {:name "MIT"}
:dependencies [[org.clojure/clojure "1.10.3" :scope "provided"]
[org.clojure/clojurescript "1.10.879" :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.15.2" :scope "provided"]
[reagent "1.1.0" :scope "provided"]
[re-com "2.13.2" :scope "provided"]
[binaryage/oops "0.7.1"]]
: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.3"]]
: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-jsoneditor-demo.core/mount-root}}
:compiler-options {:closure-defines {re-jsoneditor-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"}}}}
:release-tasks [["deploy" "clojars"]]
:aliases {"watch" ["with-profile" "dev" "do"
["clean"]
["shadow" "watch" "demo"]]})