-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproject.clj
58 lines (50 loc) · 2.69 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
(defproject om-inputs "0.4.0"
:description "Generate Web Input Form for Om/React.js, validation included."
:url "https://github.com/hiram-madelaine/om-inputs"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.122" :scope "provided"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[org.omcljs/om "0.9.0" :scope "provided"]
[prismatic/schema "1.0.0"]
[jkkramer/verily "0.6.0"]
[sablono "0.3.4"]]
:plugins [[lein-cljsbuild "1.1.0"]
[lein-figwheel "0.4.0"]
[codox "0.8.10"]]
:min-lein-version "2.5.0"
:uberjar-name "om-inputs.jar"
:jvm-opts ["-Xmx1g" "-server"]
:codox {:language :clojurescript
:include [om-inputs.date-utils om-inputs.core]}
:resource-paths ["examples"]
:test-paths ["test/cljs"]
:source-paths ["src" "examples/contact/src"]
:clean-targets ^{:protect false} ["examples/contact/out" "target"]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src" "examples/contact/src"]
:figwheel true
:compiler {:output-to "examples/contact/out/om_inputs.js"
:output-dir "examples/contact/out"
:asset-path "contact/out"
:optimizations :none
:source-map true}}
{:id "simple"
:source-paths ["src" "examples/contact/src"]
:compiler {:output-to "examples/contact/out/main.js"
:optimizations :simple
:pretty-print true
:preamble ["react/react.min.js"]
:externs ["react/externs/react.js"]}}
{:id "release"
:source-paths ["src" "examples/contact/src"]
:compiler {:output-to "examples/contact/out/main.js"
:optimizations :advanced
;:closure-warnings {:check-useless-code :on}
:pretty-print false
:pseudo-names false
:preamble []
:externs []}}]}
:figwheel {:http-server-root "contact"
:server-port 3450
:css-dirs ["examples/contact/css"]})