-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
136 lines (125 loc) · 5.81 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
(defproject organism "0.0.1"
:description "a server for playing ORGANISM synchronously or asynchronously"
:url "https://github.com/prismofeverything/organism"
:dependencies [[cljs-ajax "0.8.1"]
[clojure.java-time "0.3.2"]
[org.clojure/math.combinatorics "0.1.6"]
[com.cognitect/transit-clj "1.0.324"]
[com.cognitect/transit-cljs "0.8.264"]
[cprop "0.1.17"]
[expound "0.8.9"]
[funcool/struct "1.4.0"]
[luminus-immutant "0.2.5"]
[luminus-transit "0.1.2"]
[markdown-clj "1.10.5"]
[metosin/muuntaja "0.6.8"]
[metosin/reitit "0.5.12"]
[metosin/ring-http-response "0.9.2"]
[mount "0.1.16"]
[com.cgore/mersenne-twister "1.0.0"]
[com.novemberain/monger "3.5.0"
:exclusions [com.google.guava/guava]]
;; [org.mongodb/mongodb-driver-sync "4.7.1"]
;; [mongo-driver-3 "0.7.0"]
[nrepl "0.8.3"]
[org.clojure/clojure "1.10.2"]
[org.clojure/clojurescript "1.10.773" :scope "provided"]
[org.clojure/tools.cli "1.0.194"]
[org.clojure/tools.logging "1.1.0"]
[org.webjars.npm/bulma "0.9.1"]
[org.webjars.npm/material-icons "0.3.1"]
[org.webjars/webjars-locator "0.40"]
[org.webjars/webjars-locator-jboss-vfs "0.1.0"]
[reagent "1.0.0"]
[ring-webjars "0.2.0"]
[ring/ring-core "1.9.1"]
[ring/ring-defaults "0.3.2"]
[selmer "1.12.33"]
[thi.ng/color "1.4.0"]
[buddy/buddy-auth "2.2.0"]]
:min-lein-version "2.0.0"
:source-paths ["src/clj" "src/cljs" "src/cljc" "src/java"]
:test-paths ["test/clj"]
:resource-paths ["resources" "target/cljsbuild"]
:target-path "target/%s/"
:main ^:skip-aot organism.core
:plugins [[lein-cljsbuild "1.1.7"]
[lein-immutant "2.1.0"]]
:clean-targets ^{:protect false}
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
:figwheel
{:http-server-root "public"
:server-logfile "log/figwheel-logfile.log"
:nrepl-port 7002
:css-dirs ["resources/public/css"]
:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
:profiles
{:uberjar {:omit-source true
:prep-tasks ["compile" ["cljsbuild" "once" "organism"]]
:cljsbuild
{:builds
{:organism
{:source-paths ["src/cljc" "src/cljs" "env/prod/cljs"]
:compiler
{:output-dir "target/cljsbuild/public/js"
:output-to "target/cljsbuild/public/js/organism.js"
:source-map "target/cljsbuild/public/js/organism.js.map"
:optimizations :advanced
:pretty-print false
:infer-externs true
:closure-warnings
{:externs-validation :off :non-standard-jsdoc :off}
:externs ["react/externs/react.js"]}}}}
:aot :all
:uberjar-name "organism.jar"
:source-paths ["env/prod/clj" ]
:resource-paths ["env/prod/resources"]}
:dev [:project/dev :profiles/dev]
:test [:project/dev :project/test :profiles/test]
:project/dev {:jvm-opts ["-Dconf=dev-config.edn" ]
:dependencies [[binaryage/devtools "1.0.2"]
[cider/piggieback "0.5.2"]
[doo "0.1.11"]
[figwheel-sidecar "0.5.20"]
[pjstadig/humane-test-output "0.10.0"]
[prone "2020-01-17"]
[ring/ring-devel "1.9.1"]
[ring/ring-mock "0.4.0"]]
:plugins [[com.jakemccrary/lein-test-refresh "0.24.1"]
[jonase/eastwood "0.3.5"]
[lein-doo "0.1.11"]
[lein-figwheel "0.5.20"]]
:cljsbuild
{:builds
{:organism
{:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
:figwheel {:on-jsload "organism.play/mount-components"}
:compiler
{:main "organism.organism"
:asset-path "/js/out"
:output-to "target/cljsbuild/public/js/organism.js"
:output-dir "target/cljsbuild/public/js/out"
:source-map true
:optimizations :none
:pretty-print true}}}}
:doo {:build "test"}
:source-paths ["env/dev/clj" ]
:resource-paths ["env/dev/resources"]
:repl-options {:init-ns user
:timeout 120000}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}
:project/test {:jvm-opts ["-Dconf=test-config.edn" ]
:resource-paths ["env/test/resources"]
:cljsbuild
{:builds
{:test
{:source-paths ["src/cljc" "src/cljs" "test/cljs"]
:compiler
{:output-to "target/test.js"
:main "organism.doo-runner"
:optimizations :whitespace
:pretty-print true}}}}
}
:profiles/dev {}
:profiles/test {}})