Created
November 28, 2016 06:25
-
-
Save laurentsenta/9a6b7cce89485f3974c18a095d5b66ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject frontend "0.1.0-SNAPSHOT" | |
:dependencies [[org.clojure/clojure "1.8.0"] | |
[ring "1.5.0"] | |
[org.clojure/clojurescript "1.8.51"] | |
[org.clojure/tools.logging "0.3.1"] | |
[shodan "0.4.2"] | |
[devcards "0.2.2"] | |
[binaryage/devtools "0.8.2"] | |
[prismatic/dommy "1.1.0"] ;; dom manipulation | |
[slingshot "0.12.2"] | |
[prismatic/schema "1.1.3"] | |
[org.clojure/core.match "0.3.0-alpha4"] | |
[com.andrewmcveigh/cljs-time "0.5.0-alpha1"] | |
[reagent "0.6.0-rc"] | |
[re-frame "0.8.0"] | |
[day8.re-frame/async-flow-fx "0.0.6"] | |
[kibu/pushy "0.3.6"] | |
[cljs-http "0.1.42"] | |
[cljsjs/firebase "3.5.3-0"] | |
[cljsjs/facebook "v20150729-0"] | |
[cljsjs/jquery "2.2.4-0"] | |
[cljsjs/jquery-ui "1.11.4-0"] | |
[cljsjs/klayjs "0.3.2-0"] | |
[cljsjs/highlight "9.6.0-0"]] | |
:plugins [[lein-cljsbuild "1.1.3"] | |
[lein-sass "0.4.0"]] | |
:min-lein-version "2.5.3" | |
:source-paths ["src/clj" "src/cljc"] | |
:clean-targets ^{:protect false} ["resources/public/js/compiled" | |
"resources/public/js/devcards" | |
"resources/public/js/testcards" | |
"target" | |
"test/js"] | |
:figwheel {:css-dirs ["resources/public/assets"] | |
:ring-handler frontend.core/handler} | |
:profiles | |
{:dev | |
{:dependencies [] | |
:plugins [[lein-figwheel "0.5.4-3"] | |
[lein-doo "0.1.7"]] | |
} | |
:test | |
{ | |
:source-paths ["test/clj"] | |
}} | |
:sass {:src "resources/sass" | |
:output-directory "resources/public/assets"} | |
:cljsbuild | |
{:builds | |
[ | |
{:id "devcards" | |
:source-paths ["env/dev/cljs" "src/cljc" "src/cljs" "test/cljs"] | |
:figwheel {:devcards true} | |
:compiler {:main runners.devcards | |
:output-to "resources/public/js/devcards/compiled/app.js" | |
:output-dir "resources/public/js/devcards/compiled/out" | |
:asset-path "/js/devcards/compiled/out" | |
:foreign-libs [{:file "cljsjs/development/firebase.inc.js", :provides ["cljsjs.firebase"]}] | |
:externs ["src/externs/frontend.js"] | |
:source-map-timestamp true}} | |
{:id "testcards" | |
:figwheel {:devcards false | |
:on-jsload "runners.testcards/reload-hook"} | |
:source-paths ["env/dev/cljs" "src/cljc" "src/cljs" "test/cljs"] | |
:compiler {:main runners.testcards | |
:output-to "resources/public/js/testcards/compiled/app.js" | |
:output-dir "resources/public/js/testcards/compiled/out" | |
:asset-path "/js/testcards/compiled/out" | |
:foreign-libs [{:file "cljsjs/development/firebase.inc.js", :provides ["cljsjs.firebase"]}] | |
:externs ["src/externs/frontend.js"] | |
:source-map-timestamp true}} | |
{:id "test" | |
:source-paths ["env/dev/cljs" "src/cljc" "src/cljs" "test/cljs"] | |
:compiler {:output-to "resources/public/js/compiled/test.js" | |
:main runners.testdoo | |
:optimizations :none}} | |
{:id "dev" | |
:source-paths ["env/dev/cljs" "src/cljc" "src/cljs"] | |
:figwheel {:on-jsload "frontend.core/reload-hook"} | |
:compiler {:main frontend.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 | |
:foreign-libs [{:file "cljsjs/development/firebase.inc.js", :provides ["cljsjs.firebase"]}] | |
:externs ["src/externs/frontend.js"]}} | |
{:id "staging" | |
:source-paths ["env/staging/cljs" "src/cljc" "src/cljs"] | |
:compiler {:main frontend.core | |
:output-to "resources/public/js/compiled/app.js" | |
:output-dir "resources/public/js/compiled/" | |
:source-map "resources/public/js/compiled/app.js.map" | |
:source-map-path "js/compiled" | |
:source-map-timestamp true | |
:warnings true | |
:optimizations :advanced | |
:externs ["src/externs/frontend.js"]}} | |
{:id "prod" | |
:source-paths ["env/prod/cljs" "src/cljc" "src/cljs"] | |
:compiler {:main frontend.core | |
:output-to "resources/public/js/compiled/app.js" | |
:closure-defines {goog.DEBUG false} | |
:pretty-print false | |
:warnings true | |
:optimizations :advanced | |
:externs ["src/externs/frontend.js"]}} | |
]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment