-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.clj
61 lines (50 loc) · 2.78 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
(defproject om-datepicker "0.0.7-SNAPSHOT"
:description "a collection of various date/month picker components for Om"
:url "http://github.com/prokpa/om-datepicker"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/core.async "0.1.346.0-17112a-alpha" :scope "provided"]
[org.clojure/clojurescript "0.0-3308" :scope "provided"]
[cljsjs/react-with-addons "0.13.3-0" :scope "provided"]
[org.omcljs/om "0.9.0" :exclusions [cljsjs/react] :scope "provided"]]
:plugins [[lein-cljsbuild "1.0.5"]
[com.cemerick/clojurescript.test "0.3.3"]
[lein-less "1.7.2"]]
:source-paths ["src"]
:hooks [leiningen.cljsbuild]
:less
{:source-paths ["examples/less"]
:target-path "examples/public/css"}
:deploy-repositories [["releases" :clojars {:creds :gpg}]]
:cljsbuild
{:builds [{:id "dev"
:source-paths ["src"]
:compiler {:output-to "om-datepicker.js"
:output-dir "out"
:optimizations :none
:source-map true}}
{:id "test"
:source-paths ["src" "test"]
:compiler {:output-to "target/om-datepicker-tests.js"
:optimizations :whitespace
:pretty-print true}}
{:id "examples"
:source-paths ["src" "examples/src"]
:compiler {:output-to "examples/app.js"
:output-dir "examples/out"
:source-map "examples/app.js.map"
:optimizations :none}}
{:id "gh-pages"
:source-paths ["src" "examples/src"]
:compiler {:output-to "examples/app.min.js"
:optimizations :advanced
:pretty-print false
:closure-warnings {:externs-validation :off
:non-standard-jsdoc :off}}}]
:test-commands {"phantom-test" ["phantomjs" :runner
"window.literal_js_was_evaluated=true"
"target/om-datepicker-tests.js"]
"slimerjs-test" ["xvfb-run" "-a" "slimerjs" :runner
"window.literal_js_was_evaluated=true"
"target/om-datepicker-tests.js"]}})