reagent/examples/material-ui/project.clj

48 lines
1.7 KiB
Clojure
Raw Normal View History

(defproject material-ui-reagent "0.6.0"
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.439"]
[reagent "0.8.1"]
2018-11-14 20:45:57 +00:00
[figwheel "0.5.17"]
[cljsjs/material-ui "3.2.0-0"]
2018-09-26 19:55:51 +00:00
[cljsjs/material-ui-icons "3.0.1-0"]]
:plugins [[lein-cljsbuild "1.1.7"]
2018-11-14 20:45:57 +00:00
[lein-figwheel "0.5.17"]]
:figwheel {:repl false
:http-server-root "public"}
:profiles {:dev {:resource-paths ["target/cljsbuild/client" "target/cljsbuild/client-npm"]}}
:cljsbuild
{:builds
{:client
{:source-paths ["src"]
:figwheel true
:compiler {:parallel-build true
:source-map true
:optimizations :none
:main "example.core"
:output-dir "target/cljsbuild/client/public/js/out"
:output-to "target/cljsbuild/client/public/js/main.js"
:asset-path "js/out"
:npm-deps false}}
;; FIXME: Doesn't work due to Closure bug with scoped npm packages
:client-npm
{:source-paths ["src"]
:figwheel true
:compiler {:parallel-build true
:source-map true
:optimizations :none
:main "example.core"
:output-dir "target/cljsbuild/client-npm/public/js/out"
:output-to "target/cljsbuild/client-npm/public/js/main.js"
:asset-path "js/out"
:install-deps true
2018-11-14 20:45:57 +00:00
:npm-deps {react "16.6.0"
react-dom "16.6.0"
2018-09-26 19:55:51 +00:00
"@material-ui/core" "3.1.1"
"@material-ui/icons" "3.0.1"}
:process-shim true}}}})