This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
project.clj
66 lines (56 loc) · 3.19 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
(defproject api-modeling-framework "0.1.2-SNAPSHOT"
:description "API and domain modeling tools for RAML, OpenAPI (Swagger) and RDF"
:url "https://github.com/mulesoft-labs/api-modeling-framework"
:license {:name "Apache-2.0"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.293"]
[org.clojure/core.async "0.3.442"]
[cheshire "5.6.3"]
[instaparse "1.4.2"]
[com.lucasbradstreet/instaparse-cljs "1.4.1.2"]
[com.cemerick/url "0.1.1"]
[com.taoensso/timbre "4.8.0"]
[org.yaml/snakeyaml "1.12"]
;; dev only
[difform "1.1.2"]]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-npm "0.6.2"]
[lein-doo "0.1.7"]]
:npm {:dependencies [[uri-templates "0.2.0"]
[rest "2.0.0"]
[json-to-ast "2.0.0-alpha1.2"]]}
:profiles {:build {:source-paths ["build"]
:main api-modeling-framework.build}}
:aliases {"node" ["with-profile" "build" "run" "node"]
"web" ["with-profile" "build" "run" "web"]
"test-js" ["doo" "node" "test" "once"]}
:cljsbuild {:builds {
:node {:source-paths ["src", "src_node"]
:figwheel true
:compiler {:main api-modeling-framework.core
:output-dir "output/node/"
:output-to "output/node/amf.js"
:optimizations :none,
:source-map true,
:source-map-timestamp true,
:recompile-dependents false,
:pretty-print true
:target :nodejs}}
:web {:source-paths ["src"]
:figwheel true
:compiler {:output-to "output/web/amf.js"
:main api-modeling-framework.core
:asset-path "/js"
;:optimizations :whitespace
:optimizations :advanced
:foreign-libs [{:file "js/js-support-bundle.js"
:provides ["api_modeling_framework.js-support"]}]
:externs ["js/externs.js"]
:pretty-print true}}
:test {:source-paths ["src" "src_node" "test"]
:compiler {:output-dir "output/test/"
:output-to "output/test/amf-test.js"
:main api-modeling-framework.runner
:pretty-print true
:target :nodejs}}}})