2014-11-25 01:36:34 +01:00
|
|
|
name: servant-jquery
|
2016-02-19 15:34:34 +01:00
|
|
|
version: 0.4.4.7
|
2015-01-04 17:41:51 +01:00
|
|
|
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.
|
|
|
|
.
|
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>
|
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/
|
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
|
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-05-09 02:28:05 +02:00
|
|
|
, servant == 0.4.*
|
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-05-09 02:28:05 +02:00
|
|
|
, servant == 0.4.*
|
|
|
|
, servant-server == 0.4.*
|
|
|
|
, servant-jquery == 0.4.*
|
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
|
2015-04-19 11:56:29 +02:00
|
|
|
, language-ecmascript >= 0.16
|
2014-12-24 13:55:25 +01:00
|
|
|
default-language: Haskell2010
|