packages feed

reflex-dom-th-0.3.2: reflex-dom-th.cabal

cabal-version:      2.4
name:               reflex-dom-th
version:            0.3.2

-- A short (one-line) description of the package.
synopsis: reflex-dom-th transpiles HTML templates to haskell code for reflex-dom

-- A longer description of the package.
description:
      Reflex-DOM is a very powerful web framework for functional reactive programming (FRP).
      Web pages itself are written in HTML.
      .
      @reflex-dom-th@ combines the power of these two techniques by transpiling HTML templates to Haskell for the @reflex-dom@ library.
      
        
Stability: Experimental
-- A URL where users can report bugs.
bug-reports: https://github.com/chrbauer/reflex-dom-th/issues
homepage:  https://github.com/chrbauer/reflex-dom-th
license: BSD-3-Clause
author:             Christoph Bauer
maintainer:         mail@christoph-bauer.net

-- A copyright notice.
-- copyright:
category: FRP, Web, GUI, HTML, Javascript, Reactive, Reactivity, User Interfaces, User-interface
extra-source-files: CHANGELOG.md, README.md

library
  build-depends:
                  base
                , megaparsec  
  exposed-modules:
          Reflex.Dom.TH.Parser
        , Reflex.Dom.TH
  default-extensions: TemplateHaskell, TupleSections, DeriveLift, RecordWildCards, QuasiQuotes, OverloadedStrings, FlexibleContexts
  build-depends:
              base >= 4 && < 5
            , array
            , containers
            , megaparsec
            , mtl
            , reflex-dom-core
            , template-haskell
            , th-lift-instances
            , text
  ghc-options: -Wall -fwarn-tabs
  hs-source-dirs:   src
  default-language: Haskell2010


test-suite test-reflex-dom-th
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    tests
  main-is:
    test.hs
  build-depends:
            base >= 4 && < 5
          , bytestring
          , filepath
          , megaparsec
          , hspec
          , reflex-dom-th
          , stm
          , tasty
          , tasty-golden
          , tasty-hspec
          --, hspec-megaparsec

                    
          --, tasty-hspec
          
-- executable ref-dom-th-example
--   hs-source-dirs: example
--   main-is: Main.hs
--   build-depends:
--       base >= 4 && < 5
--     , reflex-dom