packages feed

web-rep-0.9.0: web-rep.cabal

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

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.8
    , box-socket                ^>=0.3
    , clay                      ^>=0.13
    , concurrency               ^>=1.11
    , interpolatedstring-perl6  ^>=1.0
    , language-javascript       >=0.6.0   && <0.8
    , lucid                     ^>=2.9
    , mtl                       ^>=2.2.2
    , optics-core               ^>=0.4
    , optics-extra              ^>=0.4
    , scotty                    >=0.11.5  && <0.13
    , text                      ^>=1.2.3
    , transformers              ^>=0.5.6
    , unordered-containers      ^>=0.2.10
    , wai-middleware-static     ^>=0.9
    , wai-websockets            ^>=3.0.1.2
    , websockets                ^>=0.12

  default-language:   Haskell2010
  default-extensions:
  ghc-options:
    -Wall -Wcompat -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wredundant-constraints -fwrite-ide-info
    -hiedir=.hie

executable web-rep-example
  main-is:            rep-example.hs
  hs-source-dirs:     app
  build-depends:
    , base              >=4.12 && <5
    , optparse-generic  >=1.3
    , web-rep

  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 -fwrite-ide-info -hiedir=.hie