Created
November 4, 2014 20:25
-
-
Save nhusher/f8e1a53ddbcad4290412 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
. | |
├── Procfile | |
├── README.md | |
├── project.clj | |
├── resources | |
│ ├── index.html | |
│ └── public | |
│ └── styles.css | |
└── src | |
├── clj | |
│ └── timeline | |
│ └── core.clj | |
└── cljs | |
└── timeline | |
└── core.cljs |
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 timeline "0.2.0" | |
:description "A clojure + clojurescript app" | |
:dependencies [[org.clojure/clojure "1.6.0" ] | |
[com.stuartsierra/component "0.2.2" ] | |
[liberator "0.12.2" ] | |
[compojure "1.1.9" ] | |
[ring/ring "1.3.1" ] | |
[cheshire "5.3.1" ] | |
[com.taoensso/carmine "2.7.1" ] | |
[com.taoensso/timbre "3.3.1" ] | |
[com.taoensso/sente "1.2.0" ] | |
[http-kit "2.1.16" ] | |
[org.clojure/clojurescript "0.0-2371"] | |
[org.clojure/core.async "0.1.346.0-17112a-alpha"] | |
[om "0.8.0-alpha1"] | |
[prismatic/schema "0.3.1" ] | |
[prismatic/om-tools "0.3.6" ] | |
[secretary "1.2.1" ]] | |
:plugins [[lein-cljsbuild "1.0.1"]] | |
; :hooks [leiningen.cljsbuild] | |
:main timeline.core | |
:uberjar-name "timeline-standalone.jar" | |
:min-lein-version "2.0.0" | |
:source-paths ["src/clj"] | |
:target-path "target/%s" | |
:profiles {:uberjar {:aot :all}} | |
:repl-options {:nrepl-middleware [lighttable.nrepl.handler/lighttable-ops]} | |
:cljsbuild | |
{ :builds | |
[{ :id "dev" | |
:source-paths [ "src/cljs" ] | |
:compiler | |
{ :output-to "resources/public/timeline.js" | |
:output-dir "resources/public/cljs" | |
:optimizations :simple | |
:pretty-print true | |
:source-map "resources/public/timeline.map.js" }} | |
{ :id "release" | |
:source-paths [ "src/cljs" ] | |
:compiler { | |
:output-to "resources/public/timeline.min.js" | |
:optimizations :advanced | |
:pretty-print false | |
:preamble [ "react/react.min.js" ] | |
:externs [ "react/externs/react.js" ] }}]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment