project.clj 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. (defproject microtables-frontend "0.1.0-SNAPSHOT"
  2. :dependencies [[org.clojure/clojure "1.10.1"]
  3. [org.clojure/clojurescript "1.10.597"
  4. :exclusions [com.google.javascript/closure-compiler-unshaded
  5. org.clojure/google-closure-library
  6. org.clojure/google-closure-library-third-party]]
  7. [thheller/shadow-cljs "2.8.83"]
  8. [reagent "0.9.1"]
  9. [re-frame "0.11.0"]]
  10. :plugins [
  11. [lein-shell "0.5.0"]]
  12. :min-lein-version "2.5.3"
  13. :source-paths ["src/clj" "src/cljs"]
  14. :clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
  15. :shell {:commands {"open" {:windows ["cmd" "/c" "start"]
  16. :macosx "open"
  17. :linux "xdg-open"}}}
  18. :aliases {"dev" ["with-profile" "dev" "do"
  19. ["run" "-m" "shadow.cljs.devtools.cli" "watch" "app"]]
  20. "prod" ["with-profile" "prod" "do"
  21. ["run" "-m" "shadow.cljs.devtools.cli" "release" "app"]]
  22. "build-report" ["with-profile" "prod" "do"
  23. ["run" "-m" "shadow.cljs.devtools.cli" "run" "shadow.cljs.build-report" "app" "target/build-report.html"]
  24. ["shell" "open" "target/build-report.html"]]
  25. "karma" ["with-profile" "prod" "do"
  26. ["run" "-m" "shadow.cljs.devtools.cli" "compile" "karma-test"]
  27. ["shell" "karma" "start" "--single-run" "--reporters" "junit,dots"]]}
  28. :profiles
  29. {:dev
  30. {:dependencies [[binaryage/devtools "1.0.0"]]
  31. :source-paths ["dev"]}
  32. :prod { }}
  33. :prep-tasks [])