grunt-wiredep
Advanced tools
Comparing version 1.8.0 to 1.9.0
{ | ||
"name": "grunt-wiredep", | ||
"description": "Inject your Bower dependencies right into your HTML from Grunt.", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"homepage": "http://stephenplusplus.github.io/grunt-wiredep", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -51,9 +51,11 @@ > - | ||
// --------- | ||
cwd: '', | ||
dependencies: true, | ||
devDependencies: false, | ||
exclude: [], | ||
fileTypes: {}, | ||
ignorePath: '', | ||
overrides: {} | ||
options: { | ||
cwd: '', | ||
dependencies: true, | ||
devDependencies: false, | ||
exclude: [], | ||
fileTypes: {}, | ||
ignorePath: '', | ||
overrides: {} | ||
} | ||
} | ||
@@ -63,5 +65,5 @@ } | ||
*See [wiredep's readme](http://github.com/stephenplusplus/wiredep) for more options of customization, such as other file types, regex patterns, exclusions, and more.* | ||
*See [wiredep's readme](http://github.com/stephenplusplus/wiredep) for more options of customization, such as other file types, regex patterns, exclusions, and more. | ||
Options can be specified on both task and target level. See [grunt documentation](http://gruntjs.com/configuring-tasks#options) for more details on how this works.* | ||
For JavaScript dependencies, pop this in your HTML file: | ||
@@ -68,0 +70,0 @@ ```html |
@@ -6,3 +6,4 @@ 'use strict'; | ||
this.requiresConfig(['wiredep', this.target, 'src']); | ||
require('wiredep')(this.data); | ||
// Extend the options object with the entire data object (instead of just .src) for backward compatibility. | ||
require('wiredep')(this.options(this.data)); | ||
}); | ||
@@ -9,0 +10,0 @@ } |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
5549
9
102