packages feed

javascript-bridge-0.2.0: javascript-bridge.cabal

name:                javascript-bridge
version:             0.2.0
synopsis:            Remote Monad for JavaScript on the browser
description:         Bridge from Haskell to JavaScript on the browser
license:             BSD3
license-file:        LICENSE
author:              Andy Gill
maintainer:          andygill@ku.edu
copyright:           Copyright (c) 2016-2019 The University of Kansas
category:            Network
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md, HISTORY.md
cabal-version:       >=1.10
tested-with:         GHC == 8.4.4
                   , GHC == 8.6.5
                   , GHC == 8.8.1

data-files:
  examples/Main.html
           
source-repository head
  type:                git
  location:            https://github.com/ku-fpg/javascript-bridge

library
  exposed-modules:     Network.JavaScript,
                       Network.JavaScript.Internal,
                       Network.JavaScript.Services
  build-depends:       base                 >= 4.9     && < 4.14
                     , binary               >= 0.8     && < 0.9
                     , aeson                >= 1.4     && < 1.5
                     , containers           >= 0.5     && < 0.7
                     , stm                  >= 2.4     && < 2.6
                     , text                 >= 1.2     && < 1.3
                     , time                 >= 1.6     && < 1.10                     
                     , transformers         >= 0.4     && < 0.6
                     , wai                  >= 3.2     && < 3.3
                     , wai-websockets       >= 3.0.1   && < 3.1
                     , websockets           >= 0.10    && < 0.13
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite javascript-bridge-test
  type:       exitcode-stdio-1.0
  main-is:             Main.hs
  build-depends:       base                 >= 4.9 && < 4.14
                     , aeson                >= 1.0 && < 1.5
                     , javascript-bridge
                     , scotty               == 0.11.*
                     , wai-extra            == 3.0.*
                     , stm                  >= 2.4 && < 2.6
                     , text                 >= 1.2 && < 1.3
                     , time                 >= 1.6 && < 1.10
  hs-source-dirs:      test
  default-language:    Haskell2010
  ghc-options:         -threaded -Wall

executable javascript-bridge-simple
  main-is:             Main.hs
  other-modules:       Paths_javascript_bridge
  build-depends:       base                 >= 4.9 && < 4.14
                     , javascript-bridge
                     , scotty               == 0.11.*
  hs-source-dirs:      examples
  default-language:    Haskell2010
  ghc-options:         -threaded -Wall

executable javascript-bridge-examples
  main-is:             Multi.hs
  other-modules:       Paths_javascript_bridge
  build-depends:       base                 >= 4.9 && < 4.14
                     , javascript-bridge
                     , scotty               == 0.11.*
                     , text                 >= 1.2 && < 1.3
  hs-source-dirs:      examples
  default-language:    Haskell2010
  ghc-options:         -threaded -Wall