forked from threatgrid/ctim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
68 lines (60 loc) · 2.98 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
(def schema-tools-version "0.9.1")
(def schema-version "1.1.7")
(defproject threatgrid/ctim "1.0.14"
:description "Cisco Threat Intelligence Model"
:url "http://github.com/threatgrid/ctim"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:pedantic? :warn
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/tools.reader "1.2.2"]
;; what compojure-api 1.0.0 wants
[prismatic/schema ~schema-version]
;; for schema descriptions
[metosin/ring-swagger "0.24.4"
:exclusions [clj-time
com.google.code.findbugs/jsr305]]
[threatgrid/flanders "0.1.17"
:exclusions [com.google.code.findbugs/jsr305]]
;; for merge and such
[metosin/schema-tools ~schema-tools-version]
;; for generators
[org.clojure/test.check "0.9.0"]
[com.gfredericks/test.chuck "0.2.8"
:exclusions [clj-time
com.andrewmcveigh/cljs-time
instaparse]]
[prismatic/schema-generators "0.1.1"
:exclusions [prismatic/schema]]
;; for url
[com.cemerick/url "0.1.1"]
;; shared libs
[kovacnica/clojure.network.ip "0.1.2"]
[threatgrid/clj-momo "0.2.18"]
;; dependency overrides
;; test.chuck uses an old instaparse
[instaparse "1.4.8"
:exclusions [org.clojure/clojure]]]
:uberjar-name "ctim.jar"
:resource-paths ["doc"]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-doo "0.1.10" :exclusions [org.clojure/clojure]]]
:aliases {"doc" ^{:doc "Generate documentation"} ["run" "-m" "ctim.document"]
"gen" ^{:doc "Generate an example"} ["run" "-m" "ctim.generate"]}
:cljsbuild {:builds {:node {:source-paths ["src" "test"]
:compiler {:output-to "target/tests.js"
:output-dir "target/node"
:optimizations :advanced
:main ctim.runner
:pretty-print true
:target :nodejs
:hashbang false}}
:test {:source-paths ["src" "test"]
:compiler {:output-to "target/tests.js"
:language-in :ecmascript5
:optimizations :whitespace
:main ctim.runner
:pretty-print true}}}}
:test-selectors {:no-gen #(not (:gen %))}
:profiles {:provided
{:dependencies [[org.clojure/clojurescript "1.9.946"]]}})