This repository has been archived by the owner on Jun 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
136 lines (117 loc) · 3.87 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
(defproject re-conf "0.4.11"
:description "Functional configuration management using Clojure(script)"
:url "https://github.com/re-ops/re-conf"
:license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:min-lein-version "2.9.1"
:dependencies [[org.clojure/clojure "1.10.0"]
; common
[org.clojure/core.async "0.4.474"]
; clojurescript
[org.clojure/clojurescript "1.10.516"]
[cljs-node-io "0.5.0"]
; string manipulation
[funcool/cuerdas "2.0.5"]
; << macro
[org.clojure/core.incubator "0.1.4"]
; matching
[org.clojure/core.match "0.3.0-alpha5"]
; templates
[cljstache "2.0.1"]
; arg parsing
[org.clojure/tools.cli "0.4.0"]
; profiling
[metasoarous/oz "1.3.1"]
[org.clojure/data.json "0.2.6"]
[clj-time "0.15.0"]
; spec
[expound "0.7.2"]
]
:npm {
:dependencies [
["request" "2.85.0"]
]
:devDependencies[
["source-map-support" "^0.4.15"]
["ws" "^0.8.1"]
["winston" "3.0.0-rc3"]
["systeminformation" "3.37.9"]
]
}
:plugins [[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]
[lein-figwheel "0.5.14"]
[lein-ancient "0.6.15" :exclusions [org.clojure/clojure]]
[lein-set-version "0.3.0"]
[lein-tag "0.1.0"]
[lein-npm "0.6.2"]]
:source-paths ["src"]
:clean-targets ["server.js" "target"]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src" "re-base/src"]
:figwheel true
:compiler {
:main re-conf.main
:asset-path "target/js/compiled/dev"
:output-to "target/js/compiled/re-conf.js"
:output-dir "target/js/compiled/dev"
:target :nodejs
:optimizations :none
:parallel-build true
:source-map-timestamp true
}
}
{:id "test"
:source-paths ["src" "test"]
:notify-command ["node" "target/unit-tests.js"]
:compiler {
:output-to "target/unit-tests.js"
:optimizations :none
:target :nodejs
:parallel-build true
:main re-conf.test.suite
}
}
{:id "prod"
:source-paths ["src"]
:compiler {
:output-to "re-conf.js"
:output-dir "target/js/compiled/prod"
:target :nodejs
:parallel-build true
:optimizations :simple
}
}
]
}
:profiles {
:dev {
:dependencies
[[figwheel-sidecar "0.5.14"] [cider/piggieback "0.4.0"]]
:source-paths ["src" "dev"]
:repl-options {
:port 38081
:init (do (fig-start))
:nrepl-middleware [cider.piggieback/wrap-cljs-repl]
}
}
:codox {
:dependencies [[org.clojure/tools.reader "1.1.0"]
[codox-theme-rdash "0.1.2"]]
:plugins [[lein-codox "0.10.3"]]
:codox {:project {:name "re-conf"}
:themes [:rdash]
:language :clojurescript
:source-paths ["src"]
:source-uri "https://github.com/re-ops/re-conf/blob/master/{filepath}#L{line}"
}
}
}
:aliases {
"travis" [
"do" "clean," "cljfmt" "check," "npm" "install," "cljsbuild" "once" "prod"
]
"docs" [
"with-profile" "codox" "do" "codox"
]
}
)