packages feed

Shpadoinkle-router-0.2.0.0: Shpadoinkle-router.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.32.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 1f447eca9bd32966123dd6a67d22331ec3365eaf01daa425e4da52100d935f37

name:           Shpadoinkle-router
version:        0.2.0.0
synopsis:       A single page application rounter for Shpadoinkle based on Servant.
description:    Surjective single page application routing with Servant. Surjectivity in this context means routes can be backward compatible, allowing URLs to evolve. Since routes are specified as Servant combinators, serving these routes from the backend is trivial. For an example of leveraging the client-server isomorphism via Servant specification, check the servant-crud example.
category:       Web
author:         Isaac Shapira
maintainer:     fresheyeball@protonmail.com
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://gitlab.com/fresheyeball/Shpadoinkle.git

library
  exposed-modules:
      Shpadoinkle.Router
      Shpadoinkle.Router.Client
      Shpadoinkle.Router.HTML
      Shpadoinkle.Router.Server
  other-modules:
      Paths_Shpadoinkle_router
  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
    , aeson >=1.4.4 && <1.6
    , base >=4.12.0 && <4.16
    , bytestring >=0.10.8 && <0.12
    , compactable >=0.1.2 && <0.2
    , exceptions >=0.10.3 && <0.11
    , ghcjs-dom >=0.9.4 && <0.20
    , http-api-data >=0.4.1 && <0.5
    , http-media
    , jsaddle >=0.9.7 && <0.20
    , lens >=4.17.1 && <5.0
    , network-uri >=2.6.1 && <2.8
    , servant >=0.16 && <0.19
    , text >=1.2.3 && <1.3
    , unliftio >=0.2.12 && <0.3
  if impl(ghcjs)
    build-depends:
        servant-client-js >=0.1 && <0.2
  else
    build-depends:
        Shpadoinkle-backend-static
      , servant-client >=0.16.0 && <0.18
      , servant-client-js >=0.1 && <0.2
      , servant-server >=0.16 && <0.18
      , wai >=3.2.2 && <3.3
      , wai-app-static >=3.1.6 && <3.2
      , warp >=3.2.28 && <3.3
  default-language: Haskell2010