forked from bhauman/devcards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
72 lines (64 loc) · 3.4 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
(defproject devcards "0.2.1-6"
: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.7.0"]
[org.clojure/clojurescript "1.7.170"]
[org.clojure/core.async "0.2.374" :exclusions [org.clojure/tools.reader]]
[cljsjs/react "0.14.3-0"]
[cljsjs/react-dom "0.14.3-1"]
[cljsjs/react-dom-server "0.14.3-0"]
[sablono "0.5.3"]
[cljs-react-reload "0.1.1"]
[cljsjs/showdown "0.4.0-1"]]
: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 }
: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
: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.10.1"]]
:repl-options {:init (set! *print-length* 50)}}
:dev {
:dependencies [;[org.omcljs/om "0.9.0"]
[org.omcljs/om "1.0.0-alpha28"]
[reagent "0.5.1"]
[figwheel-sidecar "0.5.0-6"]
[com.cemerick/piggieback "0.2.1"]
[org.clojure/tools.nrepl "0.2.12"]]
:plugins [[lein-cljsbuild "1.1.2" :exclusions [org.clojure/clojure]]
[lein-figwheel "0.5.0-6"]]
:resource-paths ["resources" "example-resources"]
}})