-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.clj
77 lines (77 loc) · 4.08 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
(defproject conversations-extension "1.1.2"
:description "A browser extension that display Hackers News comments for the current web page"
:url "https://github.com/jdormit/looped-in"
:license {:name "GNU General Public License"
:url "https://www.gnu.org/licenses/gpl.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.946"]
[org.clojure/core.async "0.3.465"]
[org.clojure/core.match "0.3.0-alpha5"]
[cljs-ajax "0.7.3"]]
:plugins [[lein-cljsbuild "1.1.7"]]
:profiles {:cljs-shared
{:cljsbuild
{:builds
{:background
{:source-paths ["src/background" "src/lib"]
:compiler {:closure-output-charset "us-ascii"
:main looped-in.background}}
:content
{:source-paths ["src/content" "src/lib"]
:compiler {:closure-output-charset "us-ascii"
:main looped-in.content}}
:sidebar
{:source-paths ["src/sidebar" "src/lib"]
:compiler {:closure-output-charset "us-ascii"
:main looped-in.sidebar}}}}}
:dev [:cljs-shared
{:cljsbuild
{:builds
{:background
{:figwheel true
:compiler {:optimizations :none
:output-to "ext/js/generated/background.js"
:output-dir "ext/js/generated/out-background"
:asset-path "js/generated/out-background"
:pretty-print true
:source-map true}}
:content
{:compiler {:optimizations :whitespace
:output-to "ext/js/generated/content.js"
:output-dir "ext/js/generated/out-content"
:pretty-print true
:source-map "ext/js/generated/content.js.map"}}
:sidebar
{:figwheel true
:compiler {:optimizations :none
:output-to "ext/js/generated/sidebar.js"
:output-dir "ext/js/generated/out-sidebar"
:asset-path "js/generated/out-sidebar"
:pretty-print true
:source-map true}}}}
:dependencies [[com.cemerick/piggieback "0.2.2"]
[org.clojure/tools.nrepl "0.2.10"]
[figwheel-sidecar "0.5.14"]]
:plugins [[lein-figwheel "0.5.14"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}]
:prod [:cljs-shared
{:cljsbuild
{:builds
{:background
{:compiler {:optimizations :simple
:output-to "ext/js/generated/background.js"
:output-dir "ext/js/generated/out-background"
:pretty-print false
:source-map false}}
:content
{:compiler {:optimizations :simple
:output-to "ext/js/generated/content.js"
:output-dir "ext/js/generated/out-content"
:pretty-print false
:source-map false}}
:sidebar
{:compiler {:optimizations :simple
:output-to "ext/js/generated/sidebar.js"
:output-dir "ext/js/generated/out-sidebar"
:pretty-print false
:source-map false}}}}}]})