This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
project.clj
61 lines (56 loc) · 3.26 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 javascript-externs-generator "0.1.0-SNAPSHOT"
:description "JavaScript Externs Generator"
:url "http://jmmk.github.io/javascript-externs-generator"
:dependencies [[org.clojure/clojure "1.9.0"]
; Override cljs-time version to fix warnings from v0.4.0 included in re-com
[com.andrewmcveigh/cljs-time "0.5.2"]
[re-frame "0.10.5"]
[re-com "2.1.0"]
[org.clojure/clojurescript "1.10.238"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-doo "0.1.10"]
[lein-figwheel "0.5.16"]]
:source-paths ["src"]
:clean-targets ^{:protect false} ["out"
"out-adv"
"out-node"
"bin"
"assets/js/javascript_externs_generator.js"
"target"]
:figwheel {:css-dirs ["assets/css"]}
:cljsbuild {:builds [{:id "dev"
:source-paths ["src"]
:figwheel {:on-jsload "javascript-externs-generator.ui.core/re-render"}
:compiler {:main "javascript-externs-generator.ui.core"
:output-to "assets/js/javascript_externs_generator.js"
:output-dir "out"
:optimizations :none
:cache-analysis true
:source-map true}}
{:id "test"
:source-paths ["src" "test"]
:compiler {:output-to "target/test.js"
:output-dir "target"
:main "javascript-externs-generator.runner"
:optimizations :none}}
{:id "cli"
:source-paths ["src"]
:compiler {:main "javascript-externs-generator.cli"
:output-to "bin/extern"
:output-dir "out-cli"
:optimizations :none
:target :nodejs}}
{:id "release-npm"
:source-paths ["src"]
:compiler {:main "javascript-externs-generator.cli"
:output-to "bin/extern"
:output-dir "out-node"
:optimizations :simple
:target :nodejs}}
{:id "release-web"
:source-paths ["src"]
:compiler {:main "javascript-externs-generator.ui.core"
:output-to "assets/js/javascript_externs_generator.js"
:output-dir "out-adv"
:optimizations :advanced
:pretty-print false}}]})