-
Notifications
You must be signed in to change notification settings - Fork 13
/
project.clj
47 lines (37 loc) · 1.41 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
(defproject cljs-cheatsheet "0.1.0"
:description "A ClojureScript Cheatsheet"
:url "https://github.com/oakmac/cljs-cheatsheet"
:license {:name "MIT License"
:url "https://github.com/oakmac/cljs-cheatsheet/blob/master/LICENSE.md"
:distribution :repo}
:dependencies
[[org.clojure/clojure "1.11.1"]
[org.clojure/clojurescript "1.11.60"]
[binaryage/oops "0.7.2"]
[cljsjs/jquery "2.1.4-0"]
[com.cognitect/transit-cljs "0.8.280"]
[macchiato/hiccups "0.4.1"]]
:plugins [[lein-cljsbuild "1.1.8"]]
:source-paths ["src"]
:clean-targets ["app.js"
"public/js/cheatsheet.js"
"public/js/cheatsheet.min.js"
"target"]
:cljsbuild
{:builds
[{:id "cheatsheet-dev"
:source-paths ["cljs-client" "cljs-shared"]
:compiler {:checked-arrays :warn
:output-to "public/js/cheatsheet.js"
:optimizations :whitespace}}
{:id "cheatsheet-prod"
:source-paths ["cljs-client" "cljs-shared"]
:compiler {:checked-arrays :warn
:output-to "public/js/cheatsheet.min.js"
:optimizations :advanced
:pretty-print false}}
{:id "server"
:source-paths ["cljs-server" "cljs-shared"]
:compiler {:output-to "app.js"
:optimizations :simple
:target :nodejs}}]})