git.iko.soy/typeable/servant
on v0.5.post1 help sign in
typeable/servant/servant-js/servant-js.cabal
95 lines 3.1 kB history raw
1name: servant-js
2version: 0.5
3synopsis: Automatically derive javascript functions to query servant webservices.
4description:
5 Automatically derive javascript functions to query servant webservices.
6 .
7 Supports deriving functions using vanilla javascript AJAX requests, Angulari, Axios or JQuery.
8 .
9 You can find an example <https://github.com/haskell-servant/servant/blob/master/servant-js/examples/counter.hs here>
10 which serves the generated javascript to a webpage that allows you to trigger
11 webservice calls.
12 .
13 <https://github.com/haskell-servant/servant/blob/master/servant-js/CHANGELOG.md CHANGELOG>
14license: BSD3
15license-file: LICENSE
16author: Servant Contributors
17maintainer: haskell-servant-maintainers@googlegroups.com
18copyright: 2015-2016 Servant Contributors
19category: Web
20build-type: Simple
21cabal-version: >=1.10
22homepage: http://haskell-servant.github.io/
23Bug-reports: http://github.com/haskell-servant/servant/issues
24extra-source-files:
25 include/*.h
26 CHANGELOG.md
27 README.md
28source-repository head
29 type: git
30 location: http://github.com/haskell-servant/servant.git
32flag example
33 description: Build the example too
34 manual: True
35 default: False
37library
38 exposed-modules: Servant.JS
39 Servant.JS.Angular
40 Servant.JS.Axios
41 Servant.JS.Internal
42 Servant.JS.JQuery
43 Servant.JS.Vanilla
44 build-depends: base >= 4.5 && <5
45 , base-compat >= 0.9
46 , charset >= 0.3
47 , lens >= 4
48 , servant-foreign == 0.5.*
49 , text >= 1.2 && < 1.3
51 hs-source-dirs: src
52 default-language: Haskell2010
53 ghc-options: -Wall
54 include-dirs: include
56executable counter
57 main-is: counter.hs
58 ghc-options: -O2 -Wall
59 hs-source-dirs: examples
61 if flag(example)
62 buildable: True
63 else
64 buildable: False
66 build-depends: base >= 4.7 && < 5
67 , aeson >= 0.7 && < 0.12
68 , filepath >= 1
69 , lens >= 4
70 , servant == 0.5.*
71 , servant-server == 0.5.*
72 , servant-js
73 , stm
74 , transformers
75 , warp
76 default-language: Haskell2010
78test-suite spec
79 type: exitcode-stdio-1.0
80 hs-source-dirs: test
81 ghc-options: -Wall
82 main-is: Spec.hs
83 other-modules:
84 Servant.JSSpec
85 Servant.JSSpec.CustomHeaders
86 build-depends: base
87 , base-compat
88 , hspec >= 2.1.8
89 , hspec-expectations
90 , language-ecmascript >= 0.16
91 , lens
92 , servant
93 , servant-js
94 , text
95 default-language: Haskell2010