reagent/examples/material-ui/project.clj

63 lines
2.3 KiB
Clojure

(defproject material-ui-reagent "0.6.0"
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520"]
[reagent "0.9.0-rc1"]
[figwheel "0.5.19"]
[cljsjs/react "16.9.0-0"]
[cljsjs/react-dom "16.9.0-0"]
[cljsjs/material-ui "4.4.1-0"]
[cljsjs/material-ui-icons "4.4.1-0"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.19"]]
: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
:infer-externs true}}
:adv
{:source-paths ["src"]
:compiler {:parallel-build true
:source-map "target/cljsbuild/adv/public/js/main.js.map"
:optimizations :advanced
:main "example.core"
:output-dir "target/cljsbuild/adv/public/js/out"
:output-to "target/cljsbuild/adv/public/js/main.js"
:asset-path "js/out"
:npm-deps false
:infer-externs true}}
;; 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
:npm-deps {react "16.8.6"
react-dom "16.8.6"
"@material-ui/core" "4.1.0"
"@material-ui/icons" "3.0.1"}
:process-shim true}}}})