packages feed

Shpadoinkle-html-0.3.0.2: Shpadoinkle-html.cabal

cabal-version: 2.2
name:          Shpadoinkle-html
version:       0.3.0.2
category:      Web
author:        Isaac Shapira
maintainer:    isaac.shapira@platonic.systems
license:       BSD-3-Clause
license-file:  LICENSE
build-type:    Simple
extra-source-files:
  README.md
synopsis:
  A typed, template generated Html DSL, and helpers.
description:
  Shpadoinkle Html is a typed template-generated Html DSL building on types provided
  by Shpadoinkle Core. This exports a large namespace of terms covering most of the
  Html specifications. Some Elm-API-style helpers are present, but as outlaw type classes.


extra-source-files: sample.css


source-repository head
  type: git
  location: https://gitlab.com/platonic/shpadoinkle.git


library
  exposed-modules:
    Shpadoinkle.Html
    Shpadoinkle.Html.Element
    Shpadoinkle.Html.Event
    Shpadoinkle.Html.Property
    Shpadoinkle.Html.MicroData
    Shpadoinkle.Html.Utils
    Shpadoinkle.Html.LocalStorage
    Shpadoinkle.Html.TH
    Shpadoinkle.Html.TH.AssetLink
    Shpadoinkle.Html.TH.CSS
    Shpadoinkle.WebWorker
    Shpadoinkle.Keyboard

  other-modules:
    Shpadoinkle.Html.Event.Basic
    Shpadoinkle.Html.Event.Debounce
    Shpadoinkle.Html.Event.Throttle
    Shpadoinkle.Html.TH.CSSTest

  hs-source-dirs: .

  ghc-options:
    -Wall
    -Wcompat
    -fwarn-redundant-constraints
    -fwarn-incomplete-uni-patterns
    -fwarn-tabs
    -fwarn-incomplete-record-updates
    -fwarn-identities

  build-depends:
      Shpadoinkle
    , base >=4.12.0 && <4.16
    , bytestring
    , compactable
    , containers >=0.6.0 && <0.7
    , directory
    , ghcjs-dom
    , jsaddle >=0.9.7 && <0.20
    , lens
    , process
    , raw-strings-qq
    , stm >=2.5.0 && <2.6
    , template-haskell >=2.14.0 && <2.17
    , text >=1.2.3 && <1.3
    , time
    , transformers
    , unliftio

  if impl(ghcjs)
    build-depends:
        ghcjs-base
  else
    build-depends:
        regex-pcre

  default-language: Haskell2010