forked from nodename/stately
-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
48 lines (40 loc) · 2.14 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
(defproject re-state "0.1.0-SNAPSHOT"
:description "statecharts in re-frame"
:url "https://github.com/jiangts/re-state"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:min-lein-version "2.7.1"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.229"]
[reagent "0.6.0"]
[re-frame "0.9.1"]]
:plugins [[lein-figwheel "0.5.8"]
[lein-cljsbuild "1.1.4" :exclusions [org.clojure/clojure]]]
:clean-targets ^{:protect false} ["resources/public/js/compiled"
"target"]
:source-paths ["src"]
:cljsbuild {:builds [{:id "dev"
:source-paths ["src"]
:figwheel true
:compiler {:main "re-state.core"
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/re_state.js"
:output-dir "resources/public/js/compiled/out"
:source-map-timestamp true }}
{:id "prod"
:source-paths ["src"]
:compiler {:main "re-state.core"
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/re_state.js"
:optimizations :advanced}}]}
:figwheel { :server-port 3440 }
:profiles {:dev {:dependencies [[binaryage/devtools "0.8.2"]
[figwheel-sidecar "0.5.8"]
[com.cemerick/piggieback "0.2.1"]]
;; need to add dev source path here to get user.clj loaded
:source-paths ["src" "dev"]
;; for CIDER
;; :plugins [[cider/cider-nrepl "0.12.0"]]
:repl-options {; for nREPL dev you really need to limit output
:init (set! *print-length* 50)
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}})