Skip to content
Snippets Groups Projects
project.clj 2.08 KiB
Newer Older
Bruno Burke's avatar
Bruno Burke committed
(defproject wwsoftware/bulma-ui "0.0.3"
Bruno Burke's avatar
Bruno Burke committed
  :description "CLJS Reagent components for Bulma CSS framework"
  :url "https://ww-software.fh-muenster.io/libraries/bulma-ui/"
  :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
            :url "https://www.eclipse.org/legal/epl-2.0/"}
  :dependencies [[org.clojure/clojure "1.10.0"]
                 [org.clojure/clojurescript "1.10.439"]
                 [binaryage/oops "0.7.0"]
                 [reagent "0.10.0"]]
  :repl-options {:init-ns bulma-ui.core}
  :source-paths ["src/cljs" "src/clj" "src/devcards"]
  :aliases {"fig" ["trampoline" "run" "-m" "figwheel.main"]
            "fig-dev" ["trampoline" "run" "-m" "figwheel.main" "-b" "dev" "-r"]}
  :garden {:builds [{:id           "bulma-ui"
                     :source-paths ["src/clj"]
                     :stylesheet   bulma-ui.css/main
                     :compiler     {:output-to     "resources/public/css/bulma-ui.css"
                                    :pretty-print? true}}]}
  :clean-targets ^{:protect false} ["resources/public/cljs-out/"
Bruno Burke's avatar
Bruno Burke committed
                                    "resources/public/css/bulma-ui.css"
                                    "target"]
  :profiles
  {:dev
   {:dependencies [[com.bhauman/figwheel-main "0.2.11"]
                   [com.bhauman/rebel-readline "0.1.4"]
                   [devcards "0.2.7"]]
    :plugins [[lein-garden "0.3.0"]
              [lein-cljsbuild "1.1.7"]]
    :repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}}}
  :cljsbuild
  {:builds {:hostedcards {:source-paths ["src/devcards" "src/cljc" "src/cljs"]
                          :compiler     {:main          "bulma-ui.cards.core-card"
                                         :optimizations :advanced
                                         :devcards      true
                                         :infer-externs true
                                         :output-to     "resources/public/js/bulma-ui.js"
                                         :output-dir    "resources/public/js/bulma-ui-out"}}}})