-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
89 lines (89 loc) · 6.13 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
(defproject subman-web "0.1.0-SNAPSHOT"
:description "service for fast searching subtitles"
:url "https://github.com/submanio/subman-web"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2665"]
[compojure "1.3.1"]
[hiccup "1.0.5"]
[clojurewerkz/elastisch "2.1.0"]
[cljs-http "0.1.24"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[ring "1.3.2"]
[jayq "2.5.2"]
[om "0.7.3"]
[environ "1.0.0"]
[test-sugar "2.1"]
[alandipert/storage-atom "1.2.3"]
[secretary "1.2.1"]
[sablono "0.2.22"]
[prismatic/om-tools "0.3.10" :exclusions [org.clojure/clojure]]
[com.cognitect/transit-clj "0.8.259"]
[com.cognitect/transit-cljs "0.8.199"]
[ring-transit "0.1.3"]
[org.clojure/tools.logging "0.3.1"]
[com.cemerick/url "0.1.1"]
[clj-di "0.5.0"]
[com.cemerick/piggieback "0.1.4"]]
:plugins [[lein-cljsbuild "1.0.4"]
[com.keminglabs/cljx "0.5.0" :exclusions [org.clojure/clojure]]
[lein-environ "1.0.0"]
[lein-ring "0.9.1"]
[lein-ancient "0.5.5"]
[com.cemerick/clojurescript.test "0.3.3"]
[lein-bower "0.5.1"]]
:profiles {:dev {:cljsbuild {:builds
{:main {:source-paths ["src/cljs" "target/generated-cljs"]
:compiler {:output-to "resources/public/main.js"
:output-dir "resources/public/cljs-target"
:source-map true
:optimizations :none}}
:test {:source-paths ["src/cljs" "test/cljs"
"target/generated-cljs"]
:compiler {:output-to "target/cljs-test.js"
:optimizations :whitespace
:pretty-print true}}}
:test-commands {"test" ["phantomjs" :runner
"resources/public/components/es5-shim/es5-shim.js"
"resources/public/components/es5-shim/es5-sham.js"
"resources/public/components/jquery/dist/jquery.js"
"resources/public/components/bootstrap-sass-official/assets/javascripts/bootstrap.js"
"resources/public/components/typeahead.js/dist/typeahead.jquery.js"
"resources/public/components/react/react-with-addons.js"
"target/cljs-test.js"]}}
:env {:is-debug true
:ga-id ""
:site-url "http://localhost:3000/"
:db-host "http://127.0.0.1:9200"
:index-name "subman7"}
:jvm-opts ["-Xss16m"]}
:uberjar {:cljsbuild {:builds [{:source-paths ["src/cljs" "target/generated-cljs"]
:compiler {:externs ["resources/public/components/jquery/dist/jquery.min.js"
"resources/public/components/bootstrap-sass-official/assets/javascripts/bootstrap.js"
"resources/public/components/typeahead.js/dist/typeahead.jquery.min.js"
"resources/public/components/react/react.min.js"]
:output-to "resources/public/main.js"
:optimizations :advanced
:pretty-print false}}]
:jar true}
:aot :all
:prep-tasks [["cljx" "once"]]}}
:source-paths ["src/clj", "target/generated-clj"]
:test-paths ["test/clj"]
:cljx {:builds [{:source-paths ["src/cljx"]
:output-path "target/generated-clj"
:rules :clj}
{:source-paths ["src/cljx"]
:output-path "target/generated-cljs"
:rules :cljs}]}
:ring {:handler subman-web.handlers/app
:init subman-web.handlers/init}
:bower {:directory "resources/public/components"}
:bower-dependencies [["bootstrap-sass-official" "3.3.1"]
["font-awesome" "4.2.0"]
["jquery" "2.1.1"]
["typeahead.js" "0.10.5"]
["typeahead.js-bootstrap3.less" "develop"]
["react" "0.11.2"]
["es5-shim" "4.0.3"]])