debowerify
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -87,3 +87,3 @@ var bower = require('bower'); | ||
if (pkgMeta && pkgMeta.main) { | ||
requiredFilePath = Array.isArray(pkgMeta.main) ? pkgMeta.main[0] : pkgMeta.main; | ||
requiredFilePath = Array.isArray(pkgMeta.main) ? pkgMeta.main.filter(function (file) { return /\.js$/.test(file); })[0] : pkgMeta.main; | ||
} else { | ||
@@ -90,0 +90,0 @@ // if 'main' wasn't specified by this component, let's try |
{ | ||
"name": "debowerify", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "A browserify transform to enable the easy use of bower components in browserify client javascript projects. This can be used in conjunction with deamdify to require AMD components from bower as well.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7346