Luminus模板可选项
博客专区 > Ellipse 的博客 > 博客详情
Luminus模板可选项
Ellipse 发表于2年前
Luminus模板可选项
  • 发表于 2年前
  • 阅读 68
  • 收藏 0
  • 点赞 0
  • 评论 0

腾讯云 十分钟定制你的第一个小程序>>>   

lein new luminus project-name +http-kit +h2 +auth +sassc +swagger +kibit

  • +aleph server 服务器
  • +auth buddy验证框架
  • +cljs
   ['org.clojure/clojurescript "1.7.170" :scope "provided"]
   ['reagent "0.5.1"]
   ['reagent-forms "0.5.13"]
   ['reagent-utils "0.1.5"]
   ['secretary "1.2.3"]
   ['org.clojure/core.async "0.2.371"]
   ['cljs-ajax "0.5.1"]
  • +cucumber 自动化测试工具
:plugins [['org.clojars.punkisdead/lein-cucumber "1.0.4"]]
:dev-dependencies [['org.clojure/core.cache "0.6.3"]
                     ['org.apache.httpcomponents/httpcore "4.4"]
                     ['clj-webdriver/clj-webdriver "0.6.1"]]
  • +postgres
['org.postgresql/postgresql "9.4-1203-jdbc41"]
  • +mysql
['mysql/mysql-connector-java "5.1.34"]
  • +mongodb
['com.novemberain/monger "3.0.0-rc2"]
  • +h2
['com.h2database/h2 "1.4.188"]
  • +sqlite
['org.xerial/sqlite-jdbc "3.8.11.1"]
  • +http-kit

Server服务器

['http-kit "2.1.19"]
  • +immutant

Server服务器

['org.immutant/web "2.1.1"
      :exclusions ['ch.qos.logback/logback-classic]]
  • +jetty

Server服务器

['cc.qbits/jet "0.6.6"]
  • +kibit

静态代码分析

['lein-kibit "0.1.2"]
  • +sassc
['lein-sassc "0.10.4"]
  • +site
+cljs "+h2" "+mysql" "+postgres"
  • +swagger
['metosin/compojure-api "0.24.0"]
['metosin/ring-swagger-ui "2.1.3-2"]
  • +war
['lein-uberwar "0.1.0"]

###一个标准Luminus项目包含的库:

[org.clojure/clojure "1.7.0-RC1"]    ; clojure
[selmer "0.8.2"]                     ; html模板
[com.taoensso/timbre "3.4.0"]        ; 日志
[com.taoensso/tower "3.0.2"]         ; i18n L10n
[markdown-clj "0.9.66"]              ; markdown
[environ "1.0.0"]                    ; 环境变量
[compojure "1.3.4"]                  ; ring路由
[ring/ring-defaults "0.1.5"]         
[ring/ring-session-timeout "0.1.0"]
[metosin/ring-middleware-format "0.6.0"]
[metosin/ring-http-response "0.6.2"]
[bouncer "0.3.3"]                     ; 校验
[prone "0.8.2"]                       ; ring异常报告
[org.clojure/tools.nrepl "0.2.10"]    ; nrepl
[ring-server "0.4.0"]                 ; 基于jetty的web服务器

###+cljs clojurescript

;新增库
[org.clojure/clojurescript "0.0-3308" :scope "provided"]
[org.clojure/tools.reader "0.9.2"]
[reagent "0.5.0"]
[cljsjs/react "0.13.3-0"]
[reagent-forms "0.5.1"]
[reagent-utils "0.1.4"]
[secretary "1.2.3"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[cljs-ajax "0.3.13"]

###+site+cljs

###+h2 h2database

[ragtime "0.3.9"]                 ; 结构化数据迁移
[org.clojure/java.jdbc "0.3.7"]   ; jdbc
[instaparse "1.4.0"]              ; 语法分析
[yesql "0.5.0-rc2"]               ; SQL
[com.h2database/h2 "1.4.187"]     ; H2dababase

###+postgres postgres

[ragtime "0.3.9"]
[org.clojure/java.jdbc "0.3.7"]
[instaparse "1.4.0"]
[yesql "0.5.0-rc2"]
[org.postgresql/postgresql "9.3-1102-jdbc41"] ; PostgreSQL

###+dailycred 和普通项目一样

###+mysql 支持mysql

[ragtime "0.3.9"]
[org.clojure/java.jdbc "0.3.7"]
[instaparse "1.4.0"]
[yesql "0.5.0-rc2"]
[mysql/mysql-connector-java "5.1.6"]  ;MySQL

###+http-kit http-kit

#_[ring-server "0.4.0"] ;移除
[http-kit "2.1.19"]               ; web服务器

###+cucumber 和普通项目一样

###+mongodb mongoDB

[com.novemberain/monger "2.0.1"]   ; MongoDB客户端

###+auth auth

[buddy "0.5.4"]               ; 安全验证

###+immutant immutant

#_[ring-server "0.4.0"] ;移除
[org.immutant/web "2.0.1"]

###+sassc sass

;; :plugins
[lein-sassc "0.10.4"]

###+swagger swagger-ui

[metosin/compojure-api "0.21.0"]
[metosin/ring-swagger-ui "2.1.1-M2"]

###+aleph aleph

#_[ring-server "0.4.0"] ;移除
[aleph "0.4.0"]                   ; 异步通信
共有 人打赏支持
粉丝 44
博文 61
码字总数 41290
×
Ellipse
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: