-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
79 lines (70 loc) · 3.49 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
(defproject relevance-chrome "1.1.1-SNAPSHOT"
:license {:name "MIT License"
:url "https://tldrlegal.com/license/mit-license"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.946"]
[org.clojure/core.async "0.3.443"]
[com.cognitect/transit-cljs "0.8.239"]
[cljsjs/react-bootstrap "0.31.0-0" :exclusions [cljsjs/react]]
[khroma "0.3.0"]
[prismatic/dommy "1.1.0"]
[re-frame "0.10.1"]]
:source-paths ["src/ui" "src/common" "src/background" "src/content"]
:test-paths ["test"]
:plugins [[lein-cljsbuild "1.1.7"]
[org.clojars.ricardojmendez/lein-chromebuild "0.3.2"]
[lein-doo "0.1.8"]]
:doo {:build "test"
:alias {:default [:phantom]}}
:aliases {"test"
["do"
["clean"]
["with-profile" "test" "doo" "once"]]}
:cljsbuild {:builds
{:background
{:source-paths ["src/background" "src/common"]
:compiler {:output-to "target/unpacked/background.js"
:output-dir "target/js/background"
:main "relevance.background"
:optimizations :whitespace
:pretty-print true}}
:content
{:source-paths ["src/content" "src/common"]
:compiler {:output-to "target/unpacked/content.js"
:output-dir "target/js/content"
:main "relevance.startpage"
:optimizations :whitespace
:pretty-print true}}
:ui
{:source-paths ["src/ui" "src/common"]
:compiler {:output-to "target/unpacked/ui.js"
:output-dir "target/js/ui"
:main "relevance.display"
:optimizations :whitespace
:pretty-print true}}}}
:chromebuild {:resource-paths ["resources/js"
"resources/dashboard"
"resources/images"
"resources/css"]
:preserve-folders true
:target-path "target/unpacked"}
:profiles {:release
{:cljsbuild
{:builds
{:background {:compiler {:optimizations :advanced
:pretty-print false}}
:content {:compiler {:optimizations :advanced
:pretty-print false}}
:ui {:compiler {:optimizations :advanced
:pretty-print false}}}}}
:test
{:dependencies [[lein-doo "0.1.8"]]
:cljsbuild
{:builds
{:test
{:source-paths ["test" "src/common"]
:compiler {:output-to "target/js/test/relevance-tests.js"
:output-dir "target/js/test"
:main relevance.test.runner
:optimizations :none
:pretty-print :true}}}}}})