git.iko.soy/typeable/servant
on v0.4.4 help sign in
typeable/servant/servant-jquery/servant-jquery.cabal
81 lines 2.3 kB history raw
1name: servant-jquery
2version: 0.4.4
3synopsis: Automatically derive (jquery) javascript functions to query servant webservices
4description:
5 Automatically derive jquery-based javascript functions to query servant webservices.
6 .
7 You can find an example <https://github.com/haskell-servant/servant/blob/master/servant-jquery/examples/counter.hs here>
8 which serves the generated javascript to a webpage that allows you to trigger
9 webservice calls.
10 .
11 <https://github.com/haskell-servant/servant/blob/master/servant-jquery/CHANGELOG.md CHANGELOG>
12license: BSD3
13license-file: LICENSE
14author: Alp Mestanogullari
15maintainer: alpmestan@gmail.com
16copyright: 2014 Alp Mestanogullari
17category: Web
18build-type: Simple
19cabal-version: >=1.10
20homepage: http://haskell-servant.github.io/
21Bug-reports: http://github.com/haskell-servant/servant/issues
22extra-source-files:
23 CHANGELOG.md
24 README.md
25source-repository head
26 type: git
27 location: http://github.com/haskell-servant/servant.git
29flag example
30 description: Build the example too
31 manual: True
32 default: False
34library
35 exposed-modules: Servant.JQuery
36 other-modules: Servant.JQuery.Internal
37 build-depends: base >=4.5 && <5
38 , charset
39 , lens >= 4
40 , servant == 0.4.*
41 , text
42 hs-source-dirs: src
43 default-language: Haskell2010
44 ghc-options: -Wall
46executable counter
47 main-is: counter.hs
48 ghc-options: -O2 -Wall
49 hs-source-dirs: examples
51 if flag(example)
52 buildable: True
53 else
54 buildable: False
56 build-depends:
57 aeson
58 , base
59 , filepath
60 , servant == 0.4.*
61 , servant-server == 0.4.*
62 , servant-jquery == 0.4.*
63 , stm
64 , transformers
65 , warp
66 default-language: Haskell2010
68test-suite spec
69 type: exitcode-stdio-1.0
70 hs-source-dirs: test
71 ghc-options: -Wall
72 main-is: Spec.hs
73 build-depends:
74 base == 4.*
75 , lens
76 , servant-jquery
77 , servant
78 , hspec >= 2.0
79 , hspec-expectations
80 , language-ecmascript >= 0.16
81 default-language: Haskell2010