2014-11-25 01:36:34 +01:00
name: servant-jquery
2015-01-04 17:41:51 +01:00
version: 0.2.2
synopsis: Automatically derive (jquery) 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.
.
2014-12-10 16:29:50 +01:00
Example <https://github.com/haskell-servant/servant-jquery/blob/master/examples/counter.hs here> that serves the generated javascript to a webpage that lets you
2014-12-08 12:01:56 +01:00
trigger webservice calls.
2014-11-25 01:36:34 +01:00
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/
Bug-reports: http://github.com/haskell-servant/servant-jquery/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
location: http://github.com/haskell-servant/servant-jquery.git
2014-11-25 01:36:34 +01:00
2014-12-10 16:29:50 +01:00
flag example
description: Build the example too
manual: True
default: False
2014-11-25 01:36:34 +01:00
library
exposed-modules: Servant.JQuery
other-modules: Servant.JQuery.Internal
2015-01-21 09:32:06 +01:00
build-depends: base >=4.5 && <5
, charset
2015-01-22 01:24:36 +01:00
, lens >= 4
2015-01-03 18:52:18 +01:00
, servant >= 0.2.2
2015-01-22 01:33:19 +01:00
, text
2014-11-25 01:36:34 +01:00
hs-source-dirs: src
default-language: Haskell2010
2014-12-08 12:01:56 +01:00
ghc-options: -Wall
2014-11-25 01:36:34 +01:00
2014-11-25 19:42:52 +01:00
executable counter
main-is: counter.hs
2014-11-25 01:36:34 +01:00
ghc-options: -O2 -Wall
2014-11-25 19:42:52 +01:00
hs-source-dirs: examples
2014-12-24 13:55:25 +01:00
2014-12-10 16:29:50 +01:00
if flag(example)
buildable: True
else
buildable: False
2014-11-25 19:42:52 +01:00
build-depends:
aeson
, base
, filepath
2015-01-03 18:52:18 +01:00
, servant >= 0.2.2
, servant-server >= 0.2.3
, servant-jquery >= 0.2.2
2014-11-25 19:42:52 +01:00
, stm
, transformers
, warp
2014-11-25 01:36:34 +01:00
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.*
2015-01-21 08:47:23 +01:00
, lens
2014-12-24 13:55:25 +01:00
, servant-jquery
, servant
, hspec >= 2.0
2015-01-21 08:27:25 +01:00
, hspec-expectations
2014-12-24 13:55:25 +01:00
, language-ecmascript == 0.16.*
default-language: Haskell2010