packages feed

web-rep-0.6.0: web-rep.cabal

cabal-version:  2.4
name:           web-rep
version:        0.6.0
synopsis:       representations of a web page
category: web
description:    An applicative-based, shared-data representation of a web page. 
bug-reports:    https://github.com/tonyday567/web-page/issues
maintainer:     Tony Day <tonyday567@gmail.com>
license:        MIT
license-file:   LICENSE.md
build-type:     Simple
extra-source-files:
    stack.yaml
    readme.md

library
  exposed-modules:
    Web.Rep
    Web.Rep.Bootstrap
    Web.Rep.Examples
    Web.Rep.Html
    Web.Rep.Html.Input
    Web.Rep.Mathjax
    Web.Rep.Page
    Web.Rep.Render
    Web.Rep.Server
    Web.Rep.Shared
    Web.Rep.SharedReps
    Web.Rep.Socket
  hs-source-dirs:
    src
  build-depends:
    base >= 4.12 && <5,
    attoparsec >= 0.13.2 && < 0.14,
    box >= 0.5 && < 0.6,
    box-socket >= 0.0.1 && < 0.1,
    clay >= 0.13 && < 0.14,
    foldl >= 1.4.5 && < 1.5,
    generic-lens >= 1.1.0 && < 3.0,
    interpolatedstring-perl6 >= 1.0.2 && < 1.1,
    language-javascript >= 0.6.0 && < 0.8,
    lens >= 4.17.1 && < 4.20,
    lucid >= 2.9 && < 2.10,
    mtl >= 2.2.2 && < 2.3,
    numhask >= 0.6 && < 0.7,
    scotty >= 0.11.5 && < 0.12,
    text >= 1.2.3 && < 1.3,
    transformers >= 0.5.6 && < 0.6,
    unordered-containers >= 0.2.10 && < 0.3,
    websockets >= 0.12,
    concurrency >= 1.11,
    wai-middleware-static >= 0.8.3,
    wai-websockets >= 3.0.1.2,
  default-language: Haskell2010
  default-extensions:
    NegativeLiterals
    NoImplicitPrelude
    OverloadedStrings
    UnicodeSyntax
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints

executable rep-example
  main-is: rep-example.hs
  hs-source-dirs:
    app
  build-depends:
    base >= 4.12 && <5,
    numhask >= 0.6 && < 0.7,
    optparse-generic >= 1.3,
    web-rep,
  default-language: Haskell2010
  default-extensions:
    NegativeLiterals
    NoImplicitPrelude
    OverloadedStrings
    UnicodeSyntax
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints
    -funbox-strict-fields
    -fforce-recomp
    -threaded
    -rtsopts
    -with-rtsopts=-N

test-suite test
  type: exitcode-stdio-1.0
  main-is: test.hs
  hs-source-dirs:
    test
  build-depends:
    base >= 4.12 && <5,
    doctest >= 0.16 && < 1.0,
    lens >= 4.17 && < 4.20,
    lucid >= 2.9.11 && < 2.10,
    numhask >= 0.6 && < 0.7,
    tasty >= 1.2.3 && < 1.3,
    tasty-hspec >= 1.1.5 && < 1.2,
    text >= 1.2.3 && < 1.3,
    web-rep
  default-language: Haskell2010
  default-extensions:
    NegativeLiterals
    NoImplicitPrelude
    OverloadedStrings
    UnicodeSyntax
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints
    -funbox-strict-fields
    -fforce-recomp
    -threaded
    -rtsopts
    -with-rtsopts=-N