packages feed

dialogflow-fulfillment-0.1.1.3: dialogflow-fulfillment.cabal

cabal-version:       2.4
name:                dialogflow-fulfillment
version:             0.1.1.3
tested-with:         GHC==8.6.4
                     GHC==8.8.3
category:            API
synopsis:            A Dialogflow Fulfillment library for Haskell.
description:
  A library to create responses for Google's Dialogflow fulfillment webhook.
  .
  Dialogflow is an end-to-end, build-once deploy-everywhere development suite
  for creating conversational interfaces for websites, mobile applications,
  popular messaging platforms, and IoT devices. Find more at the Google Cloud
  <https://cloud.google.com/dialogflow/ site for the project>.
  .
  Check how fulfillment works in the Dialogflow
  <https://cloud.google.com/dialogflow/docs/fulfillment-how documentation>.

homepage:            https://github.com/mauriciofierrom/dialogflow-fulfillment
bug-reports:         https://github.com/mauriciofierrom/dialogflow-fulfillment/issues
license:             BSD-3-Clause
license-file:        LICENSE
author:              Mauricio Fierro
maintainer:          mauriciofierrom@gmail.com
copyright:           (c) 2019 Mauricio Fierro
extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/mauriciofierrom/dialogflow-fulfillment

library
  exposed-modules:
    Dialogflow.V2.Fulfillment.Message
    Dialogflow.V2.Fulfillment.Payload.Google
    Dialogflow.V2.Fulfillment.Webhook.Request
    Dialogflow.V2.Fulfillment.Webhook.Response
  other-modules:
    Dialogflow.Util

  build-depends:
      aeson >= 1.4.2 && < 1.6
    , base >=4.12.0.0 && < 4.15.0.0
    , bytestring >= 0.10.8 && < 0.11
    , containers >= 0.6.0 && < 0.7
    , text >= 1.2.3 && < 1.3
    , unordered-containers >= 0.2.10 && < 0.3

  hs-source-dirs:      src

  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite dialogflow-fulfillment-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  build-tool-depends: hspec-discover:hspec-discover
  other-modules:
      TestUtil
      Dialogflow.V2.Fulfillment.MessageSpec
      Dialogflow.V2.Fulfillment.Payload.GoogleSpec
      Dialogflow.V2.Fulfillment.Webhook.RequestSpec
      Dialogflow.V2.Fulfillment.Webhook.ResponseSpec
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , aeson-pretty >= 0.8.7 && < 0.9
    , base
    , bytestring
    , containers
    , dialogflow-fulfillment
    , directory >= 1.3.3 && < 1.4
    , hspec >= 2.7.1 && < 2.8
    , hspec-discover >= 2.7.1 && < 2.8
  default-language: Haskell2010