-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
project.clj
76 lines (67 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
(defproject devcards "0.2.8-SNAPSHOT"
:description "Devcards is a ClojureScript library that provides a lab space in which you can develop your UI components independently and interactively."
:url "http://github.com/bhauman/devcards"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.10.339"]
[org.clojure/core.async "0.4.474"]
[cljsjs/react "16.4.1-0"]
[cljsjs/react-dom "16.4.1-0"]
[cljsjs/create-react-class "15.6.3-1"]
[sablono "0.8.6"]]
:source-paths ["src"]
:clean-targets ^{:protect false} ["example-resources/public/devcards/js/compiled"
:target-path]
:scm { :name "git"
:url "https://github.com/bhauman/devcards" }
:cljsbuild {
:builds [{:id "devcards-demos"
:source-paths ["example_src" "src"]
:figwheel {
:devcards true
:open-urls ["http://localhost:3449/devcards/index.html"]
}
:compiler {
:main "devdemos.start-ui"
:asset-path "js/compiled/out"
:output-to "example-resources/public/devcards/js/compiled/devdemos.js"
:output-dir "example-resources/public/devcards/js/compiled/out"
:recompile-dependents false
:preloads [devtools.preload]
:optimizations :none
:source-map-timestamp true}}
{:id "website"
:source-paths ["example_src" "src"]
;; :figwheel { :devcards true }
:compiler {
:main "devdemos.start-ui"
:asset-path "site/out"
:output-to "site/devdemos.js"
:output-dir "site/out"
:devcards true
;; :pseudo-names true
:recompile-dependents true
;; :optimizations :simple
:optimizations :advanced
}}
]}
:figwheel { :css-dirs ["resources/public/devcards/css"]
:open-file-command "emacsclient"
;;:nrepl-port 7888
}
:profiles {
:repl { ;:plugins [[cider/cider-nrepl "0.11.1"]]
:repl-options {:init (set! *print-length* 50)}}
:dev {
:dependencies [;[org.omcljs/om "0.9.0"]
[org.omcljs/om "1.0.0-beta4"]
[reagent "0.8.1"]
[figwheel-sidecar "0.5.16"]
[com.cemerick/piggieback "0.2.1"]
[binaryage/devtools "0.9.10"]
[org.clojure/tools.nrepl "0.2.12"]]
:plugins [[lein-cljsbuild "1.1.4" :exclusions [org.clojure/clojure]]
[lein-figwheel "0.5.16"]]
:resource-paths ["resources" "example-resources"]
}})