|
7 | 7 | :url "http://www.eclipse.org/legal/epl-v10.html"}
|
8 | 8 | :dependencies [[org.clojure/clojure "1.9.0"]
|
9 | 9 | [org.omcljs/om "1.0.0-beta2"]]
|
10 |
| - :npm {:dependencies [[benchmark "1.0.0"] |
11 |
| - [react "16.2.0"] |
12 |
| - [react-dom "16.2.0"]]} |
13 | 10 | :profiles {:dev {:dependencies [[criterium "0.4.4"]
|
14 | 11 | [devcards "0.2.4" :exclusions [sablono]]
|
15 | 12 | [doo "0.1.9"]
|
|
21 | 18 | [rum "0.11.2" :exclusions [sablono]]]
|
22 | 19 | :plugins [[lein-cljsbuild "1.1.7"]
|
23 | 20 | [lein-doo "0.1.9"]
|
24 |
| - [lein-figwheel "0.5.16-SNAPSHOT"] |
25 |
| - [lein-npm "0.6.2"] |
| 21 | + [lein-figwheel "0.5.15"] |
26 | 22 | [perforate "0.3.4"]]
|
27 | 23 | :resource-paths ["test-resources" "target"]}
|
28 | 24 | :provided {:dependencies [[cljsjs/create-react-class "15.6.2-0"]
|
|
32 | 28 | [org.clojure/clojurescript "1.10.217"]]}
|
33 | 29 | :repl {:dependencies [[com.cemerick/piggieback "0.2.2"]]
|
34 | 30 | :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}}
|
35 |
| - :aliases {"ci" ["do" |
36 |
| - ["clean"] |
37 |
| - ["npm" "install"] |
38 |
| - ["test" ":default"] |
39 |
| - ["doo" "node" "nodejs" "once"] |
40 |
| - ;; TODO: Fix ReferenceError: Can't find variable: React |
41 |
| - ;; ["doo" "phantom" "none" "once"] |
42 |
| - ["doo" "nashorn" "advanced" "once"] |
43 |
| - ["doo" "phantom" "advanced" "once"] |
44 |
| - ["doo" "node" "benchmark" "once"]] |
45 |
| - "deploy" ["do" "clean," "deploy" "clojars"]} |
| 31 | + :aliases {"benchmark" ["doo" "node" "benchmark" "once"] |
| 32 | + "ci" ["do" ["clean"] ["test"] ["test.nashorn"] ["test.node"] ["test.phantom"] ["benchmark"]] |
| 33 | + "deploy" ["do" "clean," "deploy" "clojars"] |
| 34 | + "test.nashorn" ["doo" "nashorn" "advanced" "once"] |
| 35 | + "test.node" ["doo" "node" "nodejs" "once"] |
| 36 | + "test.phantom" ["doo" "phantom" "advanced" "once"]} |
46 | 37 | :clean-targets ^{:protect false} [:target-path]
|
47 | 38 | :cljsbuild {:builds
|
48 | 39 | [{:id "devcards"
|
|
63 | 54 | {:asset-path "target/benchmark/out"
|
64 | 55 | :aot-cache true
|
65 | 56 | :main sablono.benchmark
|
| 57 | + :npm-deps |
| 58 | + {:benchmark "1.0.0" |
| 59 | + :react "16.2.0" |
| 60 | + :react-dom "16.2.0"} |
| 61 | + :install-deps true |
66 | 62 | :output-dir "target/benchmark/out"
|
67 | 63 | :output-to "target/benchmark/sablono.js"
|
68 | 64 | :optimizations :none
|
|
75 | 71 | {:asset-path "target/nodejs/out"
|
76 | 72 | :aot-cache true
|
77 | 73 | :main sablono.test.runner
|
| 74 | + :npm-deps |
| 75 | + {:benchmark "1.0.0" |
| 76 | + :react "16.2.0" |
| 77 | + :react-dom "16.2.0"} |
| 78 | + :install-deps true |
78 | 79 | :optimizations :none
|
79 | 80 | :output-dir "target/nodejs/out"
|
80 | 81 | :output-to "target/nodejs/sablono.js"
|
|
0 commit comments