cabal-version:       2.2

name:                json-directory
version:             0.1.0.1
category:            Codec
synopsis:            Load JSON from files in a directory structure
description:         Load JSON from files in a directory structure. The object
                     created mirrors the directory structure, using filenames
                     as keys. Useful for breaking apart large JSON structures.
bug-reports:         https://github.com/luke-clifton/json-directory/issues
license:             BSD-3-Clause
license-file:        LICENSE
author:              Luke Clifton
maintainer:          lukec@themk.net
copyright:           (c) 2019 Luke Clifton
extra-source-files:  CHANGELOG.md, README.md

source-repository head
  type: git
  location: https://github.com/luke-clifton/json-directory

library
  exposed-modules:
    Data.JSON.Directory
  build-depends:       base ^>=4.12.0.0, aeson, bytestring, directory, filepath, text, unordered-containers
  hs-source-dirs:      src
  default-language:    Haskell2010

executable jsondir
  build-depends:       base ^>=4.12.0.0, json-directory, bytestring, aeson, process, filepath, text, mtl
  hs-source-dirs:      jsondir
  default-language:    Haskell2010
  main-is: Main.hs