git.iko.soy/typeable/servant
on v0.8.1 help sign in
typeable/servant/servant-js/servant-js.cabal
96 lines 3.2 kB history raw
1name: servant-js
2version: 0.8.1
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.readthedocs.org/
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.8.*
49 , servant == 0.8.*
50 , text >= 1.2 && < 1.3
52 hs-source-dirs: src
53 default-language: Haskell2010
54 ghc-options: -Wall
55 include-dirs: include
57executable counter
58 main-is: counter.hs
59 ghc-options: -Wall
60 hs-source-dirs: examples
62 if flag(example)
63 buildable: True
64 else
65 buildable: False
67 build-depends: base >= 4.7 && < 5
68 , aeson >= 0.7 && < 1.1
69 , filepath >= 1
70 , lens >= 4
71 , servant == 0.8.*
72 , servant-server == 0.8.*
73 , servant-js
74 , stm
75 , transformers
76 , warp
77 default-language: Haskell2010
79test-suite spec
80 type: exitcode-stdio-1.0
81 hs-source-dirs: test
82 ghc-options: -Wall
83 main-is: Spec.hs
84 other-modules:
85 Servant.JSSpec
86 Servant.JSSpec.CustomHeaders
87 build-depends: base
88 , base-compat
89 , hspec >= 2.1.8
90 , hspec-expectations
91 , language-ecmascript >= 0.16
92 , lens
93 , servant
94 , servant-js
95 , text
96 default-language: Haskell2010