packages feed

fcm-client-0.1.0.0: fcm-client.cabal

name:                fcm-client
version:             0.1.0.0
synopsis:            Admin API for Firebase Cloud Messaging
description:         Please see README.md
homepage:            https://github.com/holmusk/fcm-client#readme
license:             BSD3
license-file:        LICENSE
author:              Andrey Kartashov, Holmusk
maintainer:          hi@holmusk.com
copyright:           2016-2018 Andrey Kartashov, 2018 Holmusk
category:            Library
build-type:          Simple
extra-doc-files:     README.md
cabal-version:       2.0
tested-with:         GHC == 8.4.3

source-repository head
  type:     git
  location: https://github.com/holmusk/fcm-client

library
  hs-source-dirs:     src
  exposed-modules:    FCMClient
                    , FCMClient.JSON.Types
                    , FCMClient.Types

  build-depends:      base >= 4.9 && < 5.0
                    , aeson
                    , aeson-casing
                    , bytestring
                    , containers
                    , data-default-class
                    , http-client
                    , http-conduit
                    , http-types
                    , lens
                    , scientific
                    , text
                    , time

  default-language:   Haskell2010
  ghc-options:        -Wall -fwarn-tabs

executable            fcm-client
  hs-source-dirs:     cli
  main-is:            Main.hs
  other-modules:      CliArgs

  build-depends:      base >= 4.9 && < 5.0
                    , aeson
                    , async
                    , data-default-class
                    , bytestring
                    , conduit
                    , conduit-extra
                    , fcm-client
                    , http-client
                    , http-types
                    , lens
                    , resourcet
                    , retry
                    , optparse-applicative
                    , stm-conduit
                    , text
                    , utf8-string

  ghc-options:        -Wall -fwarn-tabs -threaded -O2
  default-language:   Haskell2010

test-suite test
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Spec.hs

  build-depends:      base >= 4.9 && < 5.0
                    , aeson
                    , containers
                    , data-default-class
                    , fcm-client
                    , HUnit
                    , lens
                    , QuickCheck
                    , test-framework
                    , test-framework-hunit
                    , test-framework-quickcheck2
                    , text

  default-language:   Haskell2010
  ghc-options:        -Wall -fwarn-tabs -fno-warn-orphans -fno-warn-missing-signatures