-
Notifications
You must be signed in to change notification settings - Fork 8
/
project.clj
70 lines (61 loc) · 3.62 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
(defproject metosin/komponentit "0.3.14"
:description "Collection of bespoke Reagent components"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:url "https://github.com/metosin/komponentit"
:scm {:url "https://github.com/metosin/komponentit"}
:dependencies [[com.andrewmcveigh/cljs-time "0.5.2"]
[reagent "1.2.0"]]
:plugins [[deraen/lein-less4clj "0.7.4"]
[deraen/lein-sass4clj "0.6.0"]
[lein-figwheel "0.5.20"]]
:source-paths ["src/cljs"]
:resource-paths ["src/less"]
:profiles {:dev {:dependencies [[org.clojure/clojurescript "1.11.132"]
;; FIXME: for sass4clj
[com.fasterxml.jackson.core/jackson-core "2.9.9"]
[cljsjs/react-transition-group "4.3.0-0"]
[cljsjs/leaflet "1.7.1-0"]
[cljsjs/react-leaflet "3.1.0-0"]
[cljsjs/react-input-autosize "2.2.1-1"]
[metosin/clj-suomi "0.2.1"]
[cljsjs/codemirror "5.44.0-1"]
[cljsjs/parinfer "3.11.0-0"]
[cljsjs/parinfer-codemirror "1.4.1-2"]
[devcards "0.2.7"]
[binaryage/devtools "1.0.7"]]
:resource-paths ["dev-target" "example-src/html"]}}
:sass {:source-map true
:source-paths ["example-src/less" "src/less"]
:target-path "dev-target/public/"}
:less4clj {:source-map true
:source-paths ["example-src/less" "src/less"]
:target-path "dev-target/public/"}
:figwheel {:server-port 3677}
:cljsbuild {:builds [{:id "example"
:source-paths ["src/cljs" "example-src/cljs"]
:figwheel {:devcards true}
:compiler {:main "example.main"
:asset-path "out"
:output-to "dev-target/public/main.js"
:output-dir "dev-target/public/out"
:preloads [devtools.preload]
:npm-deps false
:external-config {:devtools/config {:features-to-install [:formatters :hints]}}
:foreign-libs [{:file "public/codemirror/mode/clojure/clojure-parinfer.js"
:provides ["parinfer.codemirror"]
:requires ["cljsjs.codemirror"]}]}}
{:id "prod"
:source-paths ["src/cljs" "example-src/cljs"]
:compiler {:main "example.main"
:devcards true
:optimizations :advanced
:asset-path "out"
:output-to "build-target/public/main.js"
:output-dir "build-target/public/out"
:npm-deps false
:stable-names true
:source-map "build-target/public/main.js.map"
:foreign-libs [{:file "public/codemirror/mode/clojure/clojure-parinfer.js"
:provides ["parinfer.codemirror"]
:requires ["cljsjs.codemirror"]}]}}]})