forked from haskell-servant/servant-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
servant-js.cabal
107 lines (97 loc) · 3.31 KB
/
servant-js.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: servant-js
version: 0.9.4.3
synopsis: Automatically derive javascript functions to query servant webservices.
category: Web, Servant
description:
Automatically derive javascript functions to query servant webservices.
.
Supports deriving functions using vanilla javascript AJAX requests, Angulari, Axios or JQuery.
.
You can find an example <https://github.com/haskell-servant/servant-js/blob/master/servant-js/examples/counter.hs here>
which serves the generated javascript to a webpage that allows you to trigger
webservice calls.
.
<https://github.com/haskell-servant/servant-js/blob/master/CHANGELOG.md CHANGELOG>
license: BSD3
license-file: LICENSE
author: Servant Contributors
maintainer: [email protected]
copyright: 2015-2016 Servant Contributors
build-type: Simple
cabal-version: >=1.10
homepage: http://haskell-servant.readthedocs.org/
bug-reports: http://github.com/haskell-servant/servant-js/issues
tested-with:
GHC ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.1
extra-source-files:
include/*.h
CHANGELOG.md
README.md
source-repository head
type: git
location: http://github.com/haskell-servant/servant-js.git
flag example
description: Build the example too
manual: True
default: False
library
exposed-modules: Servant.JS
Servant.JS.Angular
Servant.JS.Axios
Servant.JS.Internal
Servant.JS.JQuery
Servant.JS.Vanilla
build-depends: base >= 4.9 && <4.15
, base-compat >= 0.10.5 && <0.12
, charset >= 0.3.7.1 && <0.4
, lens >= 4.17 && <4.20
, servant-foreign >= 0.15 && <0.16
, servant >= 0.15 && <0.19
, text >= 1.2.3.0 && < 1.3
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
include-dirs: include
executable counter
main-is: counter.hs
ghc-options: -Wall
hs-source-dirs: examples
if flag(example)
buildable: True
else
buildable: False
build-depends: base
, aeson >= 1.4.1.0 && < 1.5
, filepath >= 1
, lens >= 4
, servant
, servant-server
, servant-js
, stm
, transformers
, warp
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
ghc-options: -Wall
main-is: Spec.hs
other-modules:
Servant.JSSpec
Servant.JSSpec.CustomHeaders
build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.8
build-depends: base
, base-compat
, hspec >= 2.6.0 && <2.8
, hspec-expectations
, language-ecmascript >= 0.16
, lens
, servant
, servant-js
, text
, QuickCheck
default-language: Haskell2010