packages feed

web-rep-0.10.1: web-rep.cabal

cabal-version:      2.4
name:               web-rep
version:            0.10.1
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: ChangeLog.md
tested-with:
  GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.2.5 || ==9.4.4

source-repository head
  type:     git
  location: https://github.com/tonyday567/web-rep

library
  exposed-modules:
    Web.Rep
    Web.Rep.Bootstrap
    Web.Rep.Examples
    Web.Rep.Html
    Web.Rep.Html.Input
    Web.Rep.Page
    Web.Rep.Render
    Web.Rep.Server
    Web.Rep.Shared
    Web.Rep.SharedReps
    Web.Rep.Socket

  hs-source-dirs:     src
  build-depends:
    , attoparsec                ^>=0.14
    , base                      >=4.12    && <5
    , bifunctors                ^>=5.5.11
    , box                       >=0.9
    , box-socket                ^>=0.4
    , clay                      >=0.13 && <0.15
    , interpolatedstring-perl6  ^>=1.0
    , language-javascript       >=0.6.0   && <0.8
    , lucid                     >=2.9 && <2.12
    , mtl                       >=2.2.2 && <2.4
    , optics-core               ^>=0.4
    , optics-extra              ^>=0.4
    , profunctors
    , scotty                    >=0.11.5  && <0.13
    , text                      >=1.2.3 && <2.1
    , transformers              >=0.5.6 && <0.6.2
    , unordered-containers      ^>=0.2.10
    , wai-middleware-static     ^>=0.9
    , wai-websockets            ^>=3.0.1.2
    , websockets                ^>=0.12
    , async

  default-language:   Haskell2010
  default-extensions:
  ghc-options:
    -Wall -Wcompat -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wredundant-constraints

executable web-rep-example
  main-is:            rep-example.hs
  hs-source-dirs:     app
  build-depends:
    , base              >=4.12 && <5
    , optparse-applicative
    , web-rep
    , box
    , text
    , lucid
    , optics-core

  default-language:   Haskell2010
  default-extensions:
  ghc-options:
    -Wall -Wcompat -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wredundant-constraints
    -funbox-strict-fields -fforce-recomp -threaded -rtsopts
    -with-rtsopts=-N