forked from bnomis/om-next-datascript-localisation-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
55 lines (48 loc) · 2.56 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
(defproject om-next-datascript-localisation-demo "0.2.0-SNAPSHOT"
:description "Demo of Om Next and DataScript Localisation"
:url "https://github.com/bnomis/om-next-datascript-localisation-demo"
:license {:name "MIT"
:url "http://opensource.org/licenses/MIT"}
:dependencies [ [org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.228"]
[org.clojure/core.async "0.2.374"]
[org.omcljs/om "1.0.0-alpha30"]
[datascript "0.15.0"]
[sablono "0.6.0"]
[cljsjs/react "0.14.3-0"]
[cljsjs/react-dom "0.14.3-1"]
[doo "0.1.6"]]
:plugins [[lein-cljsbuild "1.1.2"]
[lein-figwheel "0.5.0-3"]
[lein-doo "0.1.6"]]
:source-paths ["src"]
:clean-targets ^{:protect false} ["resources/public/compiled" "target"]
:figwheel {:css-dirs ["resources/public/css"]}
:cljsbuild {:builds
[ { :id "dev"
:source-paths ["src"]
:compiler { :main om-next-datascript-localisation-demo.core
:output-to "resources/public/compiled/dev/om_next_datascript_localisation_demo.js"
:output-dir "resources/public/compiled/dev"
:asset-path "/compiled/dev"
:source-map-timestamp true
:verbose true
:parallel-build true}
:figwheel {:on-jsload "om-next-datascript-localisation-demo.core/on-js-reload"}}
{ :id "prod"
:source-paths ["src"]
:compiler { :main om-next-datascript-localisation-demo.core
:output-to "resources/public/compiled/prod/om_next_datascript_localisation_demo.js"
:output-dir "resources/public/compiled/prod"
:asset-path "/js"
:optimizations :advanced
:pretty-print false
:parallel-build true}}
{ :id "test"
:source-paths ["test"]
:compiler { :output-to "resources/public/compiled/test/testable.js"
:output-dir "resources/public/compiled/test"
:main om-next-datascript-localisation-demo.runner
:optimizations :none
:parallel-build true
:target :nodejs}}]})