Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
For my question's reference
(defproject search-cljs "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[reagent "0.5.1"]
[re-frame "0.7.0"]
[secretary "1.2.3"]
[prismatic/schema "1.1.0"]
[org.clojure/core.async "0.2.374"]
[com.cognitect/transit-cljs "0.8.237"]
[cljs-ajax "0.5.4"]]
:min-lein-version "2.5.3"
:source-paths ["src/client-clj"]
:plugins [[lein-cljsbuild "1.1.3"]
[lein-figwheel "0.5.0-6"]
[lein-npm "0.6.2"]
[lein-pdo "0.1.1"]
[lein-less "1.7.5"]]
:npm {:dependencies [[source-map-support "0.4.0"]
[bulma "0.0.17"]
[ws "0.8.1"]
[express "4.13.3"]
[body-parser "1.15.0"]
[request "2.67.0"]]}
:clean-targets ^{:protect false} ["resources/public/js/compiled"
"index.js"
"figwheel_server.log"
"target"]
:figwheel {:css-dirs ["resources/public/css"]
:repl false}
:less {:source-paths ["less"]
:target-path "resources/public/css/compiled"}
:cljsbuild {:builds [{:id "dev-client"
:source-paths ["src/client-cljs" "src/common-cljs"]
:figwheel {:on-jsload "client.search-cljs.core/mount-root"}
:compiler {:main client.search-cljs.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:source-map-timestamp true}}
{:id "dev-server"
:source-paths ["src/server-cljs" "src/common-cljs"]
:figwheel true
:compiler {:main server.search-cljs.core
:output-to "target/server_dev/index.js"
:output-dir "target/server_dev"
:target :nodejs
:optimizations :none
:source-map true}}]}
:aliases {"dev" ["pdo" ["less" "auto"]
["figwheel" "dev-client" "dev-server"]]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment