-
Notifications
You must be signed in to change notification settings - Fork 126
/
project.clj
66 lines (57 loc) · 2.03 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
(defproject rum "0.12.11"
:description "ClojureScript wrapper for React"
:license {:name "Eclipse"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:url "https://github.com/tonsky/rum"
:dependencies
[[org.clojure/clojure "1.9.0" :scope "provided"]
[org.clojure/clojurescript "1.10.773" :scope "provided"]
[cljsjs/react "16.8.6-0"]
[cljsjs/react-dom "16.8.6-0"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-cljfmt "0.6.7"]]
:profiles {:dev {:source-paths ["examples"]
:dependencies [[cljsjs/react-dom-server "16.8.6-0"]
[cljsjs/prop-types "15.7.2-0"]
[clj-diffmatchpatch "0.0.9.3" :exclusions [org.clojure/clojure]]]}
:perf {:source-paths ["perf"]
:dependencies
[[enlive "1.1.6"]
[criterium "0.4.4"]
[hiccup "1.0.5"]]}}
:aliases {"package" ["do" ["clean"] ["test"] ["clean"] ["cljsbuild" "once" "advanced"] ["run" "-m" "rum.examples-page"]]
"perf" ["with-profile" "perf" "run" "-m" "rum.perf"]}
:cljsbuild
{:builds
[{:id "advanced"
:source-paths ["src" "examples" "test"]
:compiler
{:main rum.examples
:output-to "target/main.js"
:optimizations :advanced
:source-map "target/main.js.map"
:pretty-print false
:compiler-stats true
:parallel-build true}}
{:id "none"
:source-paths ["src" "examples" "test"]
:compiler
{:main rum.examples
:output-to "target/main.js"
:output-dir "target/none"
:asset-path "target/none"
:optimizations :none
:source-map true
:compiler-stats true
:parallel-build true}}
{:id "test"
:source-paths ["src" "test"]
:compiler
{:main rum.test.server-render
:output-to "target/test.js"
:output-dir "target/test"
:asset-path "target/test"
:optimizations :advanced
:pretty-print true
:pseudo-names true
:parallel-build true}}]})