servant/servant-js/servant-js.cabal

87 lines
2.4 KiB
Text
Raw Normal View History

name: servant-js
2015-05-29 16:24:08 +02:00
version: 0.4.1
synopsis: Automatically derive javascript functions to query servant webservices.
2014-12-08 12:01:56 +01:00
description:
Automatically derive jquery-based javascript functions to query servant webservices.
.
Supports deriving functions using vanilla javascript AJAX requests, Angular or JQuery.
.
2015-04-20 15:55:41 +02:00
You can find an example <https://github.com/haskell-servant/servant/blob/master/servant-jquery/examples/counter.hs here>
which serves the generated javascript to a webpage that allows you to trigger
webservice calls.
2015-04-20 16:00:51 +02:00
.
<https://github.com/haskell-servant/servant/blob/master/servant-jquery/CHANGELOG.md CHANGELOG>
license: BSD3
license-file: LICENSE
author: Alp Mestanogullari
maintainer: alpmestan@gmail.com
copyright: 2014 Alp Mestanogullari
category: Web
build-type: Simple
cabal-version: >=1.10
2014-12-08 12:01:56 +01:00
homepage: http://haskell-servant.github.io/
2015-04-20 15:55:41 +02:00
Bug-reports: http://github.com/haskell-servant/servant/issues
2015-01-04 17:41:51 +01:00
extra-source-files:
CHANGELOG.md
README.md
2014-12-08 12:01:56 +01:00
source-repository head
type: git
2015-04-20 15:55:41 +02:00
location: http://github.com/haskell-servant/servant.git
flag example
description: Build the example too
manual: True
default: False
library
exposed-modules: Servant.JS
Servant.JS.Angular
Servant.JS.JQuery
Servant.JS.Vanilla
other-modules: Servant.JS.Internal
build-depends: base >=4.5 && <5
, charset
, lens >= 4
2015-05-09 02:28:05 +02:00
, servant == 0.4.*
, text
hs-source-dirs: src
default-language: Haskell2010
2014-12-08 12:01:56 +01:00
ghc-options: -Wall
executable counter
main-is: counter.hs
ghc-options: -O2 -Wall
hs-source-dirs: examples
2014-12-24 13:55:25 +01:00
if flag(example)
buildable: True
else
buildable: False
build-depends:
aeson
, base
, filepath
2015-05-09 02:28:05 +02:00
, servant == 0.4.*
, servant-server == 0.4.*
, servant-js == 0.4.*
, stm
, transformers
, warp
default-language: Haskell2010
2014-12-24 13:55:25 +01:00
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
ghc-options: -Wall
main-is: Spec.hs
build-depends:
base == 4.*
, lens
, servant-js
2014-12-24 13:55:25 +01:00
, servant
, hspec >= 2.0
, hspec-expectations
2015-04-19 11:56:29 +02:00
, language-ecmascript >= 0.16
2014-12-24 13:55:25 +01:00
default-language: Haskell2010