cabal-version: 1.12

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

name:           aeson-typescript
version:        0.6.3.0
synopsis:       Generate TypeScript definition files from your ADTs
description:    Please see the README on Github at <https://github.com/codedownio/aeson-typescript#readme>
category:       Text, Web, JSON
homepage:       https://github.com/codedownio/aeson-typescript#readme
bug-reports:    https://github.com/codedownio/aeson-typescript/issues
author:         Tom McLaughlin
maintainer:     tom@codedown.io
copyright:      2022 CodeDown
license:        BSD3
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.6.1
  , GHC == 9.4.4
  , GHC == 9.2.7
  , GHC == 9.0.2
  , GHC == 8.10.7
  , GHC == 8.8.4
  , GHC == 8.6.5
extra-source-files:
    README.md
    CHANGELOG.md
    test/assets/package.json
    test/assets/npm_install.sh
    test/assets/yarn_install.sh
    test/assets/yarn.lock

source-repository head
  type: git
  location: https://github.com/codedownio/aeson-typescript

library
  exposed-modules:
      Data.Aeson.TypeScript.TH
      Data.Aeson.TypeScript.Internal
      Data.Aeson.TypeScript.Recursive
      Data.Aeson.TypeScript.LegalName
  other-modules:
      Data.Aeson.TypeScript.Formatting
      Data.Aeson.TypeScript.Instances
      Data.Aeson.TypeScript.Lookup
      Data.Aeson.TypeScript.Transform
      Data.Aeson.TypeScript.TypeManipulation
      Data.Aeson.TypeScript.Types
      Data.Aeson.TypeScript.Util
      Paths_aeson_typescript
  hs-source-dirs:
      src
  default-extensions:
      LambdaCase
      MultiWayIf
      NamedFieldPuns
      OverloadedStrings
      QuasiQuotes
      RecordWildCards
      ScopedTypeVariables
      TupleSections
      ViewPatterns
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , containers
    , mtl
    , string-interpolate
    , template-haskell
    , text
    , th-abstraction
    , transformers
    , unordered-containers
  default-language: Haskell2010

test-suite aeson-typescript-tests
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Basic
      ClosedTypeFamilies
      Formatting
      Generic
      GetDoc
      HigherKind
      LegalNameSpec
      NoOmitNothingFields
      ObjectWithSingleFieldNoTagSingleConstructors
      ObjectWithSingleFieldTagSingleConstructors
      OmitNothingFields
      OpenTypeFamilies
      TaggedObjectNoTagSingleConstructors
      TaggedObjectTagSingleConstructors
      TestBoilerplate
      TwoElemArrayNoTagSingleConstructors
      TwoElemArrayTagSingleConstructors
      UntaggedNoTagSingleConstructors
      UntaggedTagSingleConstructors
      UnwrapUnaryRecords
      Util
      Util.Aeson
      Data.Aeson.TypeScript.Formatting
      Data.Aeson.TypeScript.Instances
      Data.Aeson.TypeScript.Internal
      Data.Aeson.TypeScript.LegalName
      Data.Aeson.TypeScript.Lookup
      Data.Aeson.TypeScript.Recursive
      Data.Aeson.TypeScript.TH
      Data.Aeson.TypeScript.Transform
      Data.Aeson.TypeScript.TypeManipulation
      Data.Aeson.TypeScript.Types
      Data.Aeson.TypeScript.Util
      Paths_aeson_typescript
  hs-source-dirs:
      test
      src
  default-extensions:
      LambdaCase
      MultiWayIf
      NamedFieldPuns
      OverloadedStrings
      QuasiQuotes
      RecordWildCards
      ScopedTypeVariables
      TupleSections
      ViewPatterns
      FlexibleContexts
      KindSignatures
      TemplateHaskell
      TypeFamilies
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -haddock -fno-warn-unused-top-binds -fno-warn-orphans
  build-depends:
      aeson
    , aeson-typescript
    , base >=4.7 && <5
    , bytestring
    , containers
    , directory
    , filepath
    , hspec
    , mtl
    , process
    , string-interpolate
    , template-haskell
    , temporary
    , text
    , th-abstraction
    , transformers
    , unordered-containers
  default-language: Haskell2010