-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathproject.clj
51 lines (48 loc) · 3.01 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
(defproject data-frisk-reagent "0.4.5"
:description "Frisking EDN since 2016!"
:url "http://github.com/odinodin/data-frisk-reagent"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:min-lein-version "2.7.1"
:dependencies [[reagent "0.7.0"]]
:plugins [[lein-figwheel "0.5.14"]
[lein-doo "0.1.8"]
[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]]
:source-paths ["src"]
:figwheel {:http-server-root "public"
:server-port 3999}
:aliases {"testing" ["do" ["clean"] ["doo" "phantom" "test" "once"]]}
:profiles {:dev {:dependencies [[org.clojure/clojure "1.9.0-beta2"]
[org.clojure/clojurescript "1.9.946"]
[doo "0.1.8"]
[com.cemerick/piggieback "0.2.2"]
[figwheel-sidecar "0.5.14"]
[devcards "0.2.4" :exclusions [[cljsjs/react]]]]
:source-paths ["src" "devcards"]
:resource-paths ["devresources"]
:cljsbuild {:builds [{:id "dev"
:source-paths ["src" "dev"]
:figwheel {:on-jsload "datafrisk.demo/on-js-reload"}
:compiler {:main "datafrisk.demo"
:asset-path "js/out"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/out"}}
{:id "cards"
:source-paths ["src" "devcards"]
:figwheel {:devcards true}
:compiler {:main "datafrisk.cards"
:asset-path "js/out-cards"
:output-to "resources/public/js/cards.js"
:output-dir "resources/public/js/out-cards"}}
{:id "test"
:source-paths ["src" "test"]
:compiler {:output-to "resources/public/js/compiled/test.js"
:main datafrisk.test-runner
:optimizations :none}}
{:id "demo-site"
:source-paths ["src" "dev"]
:compiler {:main "datafrisk.demo"
:optimizations :advanced
:output-to "demo-site/main.js"
:output-dir "demo-site/out"}}]}}}
:clean-targets ^{:protect false} ["resources/public/js" "target"])