-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
56 lines (47 loc) · 2.25 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
(defproject reagent-goog-editor "1.0.2-SNAPSHOT"
:description "Reagent wrapper around goog.editor"
:url "https://github.com/Zensight/reagent-goog-editor"
:license {:name "Copyright 2017 Zensight"
:url "https://zensight.ai"}
:dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
[org.clojure/clojurescript "1.9.229" :scope "provided"]
[reagent "0.6.0"]]
:repositories {"releases" {:url "s3p://zensight-builds/"
:username :env/aws_access_key_id
:passphrase :env/aws_secret_access_key}}
:plugins [[lein-cljsbuild "1.1.3"]
[lein-figwheel "0.5.4-5"]
[s3-wagon-private "1.2.0"]]
:min-lein-version "2.5.0"
:clean-targets ^{:protect false}
[:target-path
[:cljsbuild :builds :app :compiler :output-dir]
[:cljsbuild :builds :app :compiler :output-to]]
:resource-paths ["public"]
:figwheel {:http-server-root "."
:nrepl-port 7002
:nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"]
:css-dirs ["public/css"]}
:cljsbuild {:builds {:app
{:source-paths ["src" "env/dev/cljs"]
:compiler
{:main "reagent-goog-editor.dev"
:output-to "public/js/app.js"
:output-dir "public/js/out"
:asset-path "js/out"
:source-map true
:optimizations :none
:pretty-print true}
:figwheel
{:open-urls ["http://localhost:3449/index.html"]}}
:release
{:source-paths ["src" "env/prod/cljs"]
:compiler
{:output-to "public/js/app.js"
:output-dir "public/js/release"
:asset-path "js/out"
:optimizations :advanced
:pretty-print false}}}}
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.4-5"]
[org.clojure/tools.nrepl "0.2.12"]
[com.cemerick/piggieback "0.2.2-SNAPSHOT"]]}})