 
   :cljsbuild {:builds
               [{:id "dev"
-                :source-paths ["examples"
-                               "env/dev"
-                               "target/generated-cljs"
-                               "target/generated-clj"]
+                :source-paths ["examples" "env/dev"]
                 :compiler {:output-to "resources/public/js/mesh.js"
                            :output-dir "resources/public/js/out"
                            :main dev.repl
                            :asset-path "js/out"
                            :optimizations :none
                            :cache-analysis true
-                           :source-map true}}]}
-
-  :cljx {:builds
-         [{:source-paths ["src/cljx"]
-           :output-path "target/generated-clj"
-           :rules :clj}
-          {:source-paths ["src/cljx"]
-           :output-path "target/generated-cljs"
-           :rules :cljs}]}
+                           :source-map true}}
+               {:id "prod"
+                        :source-paths ["src"]
+                        :compiler {:output-to "dist/mesh.min.js"
+                                   :optimizations :advanced
+                                   :pretty-print false}}]}
 
   :garden {:builds
            [{:id "typography"
-             :source-paths ["src/clj" "examples"]
+             :source-paths ["src" "examples"]
              :stylesheet typography.styles/index
              :compiler {:output-to "resources/public/css/typography.css"
                         :pretty-print true}}
             {:id "grids"
-             :source-paths ["src/clj" "examples"]
+             :source-paths ["src" "examples"]
              :stylesheet grids.styles/index
              :compiler {:output-to "resources/public/css/grids.css"
                         :pretty-print true}}]}
 
   :profiles {:dev
-             {:dependencies [[figwheel "0.3.3"]
+             {:dependencies [[org.clojure/tools.nrepl "0.2.10"]
+                             [figwheel "0.3.3"]
                              [figwheel-sidecar "0.3.3"]
                              [brutha "0.1.4"]
                              [org.omcljs/om "0.9.0"]
                              [sablono "0.3.4"]]
               :figwheel {:http-server-root "public"
                          :server-port 3449
-                         :nrepl-port 7800
+                         :nrepl-port 7888
                          :css-dirs ["resources/public/css"]
                          :open-file-command "emacsclient"}}}
 
-  :plugins [[lein-cljsbuild "1.0.6"]
+  :plugins [[cider/cider-nrepl "0.9.1"]
+            [lein-cljsbuild "1.0.6"]
             [lein-garden "0.2.5"]
-            [com.keminglabs/cljx "0.6.0"]
             [lein-npm "0.5.0"]
             [lein-figwheel "0.3.3"]
             [lein-pdo "0.1.1"]]
 
   :aliases {"clean-all"  ["pdo" "clean," "garden" "clean"]
-            "dev" ["pdo" "cljx" "auto," "garden" "auto," "figwheel"]})
+            "dev" ["pdo" "garden" "auto," "figwheel"]
+            "release" ["pdo" "clean," "cljsbuild" "once" "prod"]})

(defproject facjure/mesh "0.2.8"
  :description "A responsive grid & typography toolkit, built on Clojurescript"
  :url "https://github.com/facjure/mesh"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}


  :node-dependencies [[autoprefixer "5.1.0"]]

  :source-paths ["src"
                 "target/generated-clj" "target/generated-cljs"
                 "target/classes"]

