Safe Haskell | None |
---|---|
Language | Haskell2010 |
A data type representing the Bower.json package description file, together with a parser and related functions.
This code is based on the specification at https://github.com/bower/bower.json-spec
- data BowerJson = BowerJson {
- bowerName :: PackageName
- bowerDescription :: Maybe String
- bowerMain :: [FilePath]
- bowerModuleType :: [ModuleType]
- bowerLicence :: [String]
- bowerIgnore :: [String]
- bowerKeywords :: [String]
- bowerAuthors :: [Author]
- bowerHomepage :: Maybe String
- bowerRepository :: Maybe Repository
- bowerDependencies :: Map PackageName VersionRange
- bowerDevDependencies :: Map PackageName VersionRange
- bowerResolutions :: Map PackageName Version
- isPrivate :: Bool
- newtype PackageName = PackageName {}
- mkPackageName :: String -> Maybe PackageName
- data ModuleType
- moduleTypes :: [(String, ModuleType)]
- data Repository = Repository {}
- data Author = Author {}
- newtype Version = Version {
- runVersion :: String
- newtype VersionRange = VersionRange {}
Documentation
A data type representing the data stored in a bower.json package manifest file.
BowerJson | |
|
newtype PackageName Source
A valid package name for a Bower package.
data ModuleType Source
moduleTypes :: [(String, ModuleType)] Source
data Repository Source