Sha256: 7e6fe721d3a3715864748c28c02afa405e8c999a3b55b270a179f7a75ed17798
Contents?: true
Size: 514 Bytes
Versions: 56
Compression:
Stored size: 514 Bytes
Contents
require 'json' module Bibliothecary module Parsers class Bower include Bibliothecary::Analyser def self.mapping { match_filename("bower.json") => { kind: 'manifest', parser: :parse_manifest } } end def self.parse_manifest(manifest) json = JSON.parse(manifest) map_dependencies(json, 'dependencies', 'runtime') + map_dependencies(json, 'devDependencies', 'development') end end end end
Version data entries
56 entries across 56 versions & 1 rubygems