-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.clj
More file actions
105 lines (100 loc) · 4.12 KB
/
project.clj
File metadata and controls
105 lines (100 loc) · 4.12 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
(defproject om "0.5.1-SNAPSHOT"
:description "ClojureScript interface to Facebook's React"
:url "http://github.com/swannodette/om"
:license {:name "Eclipse"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:jvm-opts ^:replace ["-Xms512m" "-Xmx512m" "-server"]
:source-paths ["src"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2173" :scope "provided"]
[org.clojure/core.async "0.1.267.0-0d7780-alpha" :scope "provided"]
[com.facebook/react "0.9.0"]]
:plugins [[lein-cljsbuild "1.0.2"]]
:cljsbuild {
:builds [{:id "test"
:source-paths ["src" "test"]
:compiler {
:preamble ["react/react.min.js"]
:output-to "script/tests.simple.js"
:output-dir "script/out"
:source-map "script/tests.simple.js.map"
:output-wrapper false
:optimizations :simple}}
;; examples
{:id "hello"
:source-paths ["src" "examples/hello/src"]
:compiler {
:output-to "examples/hello/main.js"
:output-dir "examples/hello/out"
:source-map true
:optimizations :none}}
{:id "mouse"
:source-paths ["src" "examples/mouse/src"]
:compiler {
:output-to "examples/mouse/main.js"
:output-dir "examples/mouse/out"
:source-map true
:optimizations :none}}
{:id "multiroot"
:source-paths ["src" "examples/multiroot/src"]
:compiler {
:output-to "examples/multiroot/main.js"
:output-dir "examples/multiroot/out"
:source-map true
:optimizations :none}}
{:id "counters"
:source-paths ["src" "examples/counters/src"]
:compiler {
:output-to "examples/counters/main.js"
:output-dir "examples/counters/out"
:source-map true
:optimizations :none}}
{:id "animation"
:source-paths ["src" "examples/animation/src"]
:compiler {
:output-to "examples/animation/main.js"
:output-dir "examples/animation/out"
:source-map true
:optimizations :none}}
{:id "shared"
:source-paths ["src" "examples/shared/src"]
:compiler {
:output-to "examples/shared/main.js"
:output-dir "examples/shared/out"
:source-map true
:optimizations :none}}
{:id "typeahead"
:source-paths ["src" "examples/typeahead/src"]
:compiler {
:output-to "examples/typeahead/main.js"
:output-dir "examples/typeahead/out"
:source-map true
:optimizations :none}}
{:id "sortable"
:source-paths ["src" "examples/sortable/src"]
:compiler {
:output-to "examples/sortable/main.js"
:output-dir "examples/sortable/out"
:source-map true
:optimizations :none}}
{:id "graft"
:source-paths ["src" "examples/graft/src"]
:compiler {
:output-to "examples/graft/main.js"
:output-dir "examples/graft/out"
:source-map true
:optimizations :none}}
{:id "instrument"
:source-paths ["src" "examples/instrument/src"]
:compiler {
:output-to "examples/instrument/main.js"
:output-dir "examples/instrument/out"
:source-map true
:optimizations :none}}
{:id "tests"
:source-paths ["src" "examples/tests/src"]
:compiler {
:output-to "examples/tests/main.js"
:output-dir "examples/tests/out"
:source-map true
:optimizations :none}}]})