You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.3KB

  1. (defproject auth-cljs-example "0.1.0-SNAPSHOT"
  2. :description "FIXME: write description"
  3. :url "http://example.com/FIXME"
  4. :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
  5. :url "https://www.eclipse.org/legal/epl-2.0/"}
  6. :dependencies [[org.clojure/clojure "1.9.0"]
  7. [ring/ring-jetty-adapter "1.8.0"]
  8. [compojure "1.6.1"]
  9. [org.clojure/clojurescript "1.10.520"]
  10. [http-kit "2.3.0"]
  11. [reagent "0.9.1"]
  12. [hiccups "0.3.0"]
  13. [ring/ring-json "0.5.0"]
  14. [cljs-ajax "0.8.0"]]
  15. :main auth-cljs-example.core
  16. :source-paths ["src/clj" "src/cljs"]
  17. :resource-paths ["target" "resources"]
  18. :aliases {"fig" ["trampoline" "run" "-m" "figwheel.main"]
  19. "build-dev" ["trampoline" "run" "-m" "figwheel.main" "-b" "dev" "-r"]}
  20. :profiles
  21. {:dev
  22. {:dependencies [[binaryage/devtools "0.9.10"]
  23. [cider/piggieback "0.4.2"]
  24. [com.bhauman/figwheel-main "0.2.3"]
  25. [com.bhauman/rebel-readline-cljs "0.1.4"]
  26. [figwheel-sidecar "0.5.19"]]
  27. :main auth-cljs-example.core
  28. :cljsbuild
  29. {:builds {:login {:source-paths ["src/cljs"]
  30. :figwheel true
  31. :compiler
  32. {:main auth-cljs-example.login
  33. :asset-path "cljs-out/login"
  34. :output-to "target/public/cljs-out/login-main.js"
  35. :output-dir "target/public/cljs-out/login"
  36. :source-map-timestamp true}}
  37. :signup {:source-paths ["src/cljs"]
  38. :figwheel true
  39. :compiler
  40. {:main auth-cljs-example.signup
  41. :asset-path "cljs-out/login"
  42. :output-to "target/public/cljs-out/login-main.js"
  43. :output-dir "target/public/cljs-out/login"
  44. :source-map-timestamp true}}}}
  45. :repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
  46. ;; need to add the compliled assets to the :clean-targets
  47. :clean-targets ^{:protect false} ["target/public/cljs-out"
  48. :target-path]}})