Modernizr/gulp-modernizr

npm module missing?

Closed this issue · 2 comments

pzi commented

When I run gulp modernizr I get the following output:

$ gulp modernizr
[gulp] Using gulpfile ~/Sites/test/gulpfile.js
[gulp] Starting 'modernizr'...
[gulp] Finished 'modernizr' after 6.38 ms

Looking for Modernizr references

>> 1 match in ~/Sites/test/style.css
>> svg

>> Ready to build using these settings:
>> setClasses, addTest, html5printshiv, testProp, fnBind

Building your customized Modernizr>> Local Npm module "grunt-contrib-connect" not found. Is it installed?
>> Local Npm module "grunt-saucelabs" not found. Is it installed?
>> Local Npm module "grunt-contrib-qunit" not found. Is it installed?
>> Local Npm module "grunt-contrib-nodeunit" not found. Is it installed?
.........OK

This is the modernizr task:

gulp.task('modernizr', function() {
  var stream = gulp
    .src('./style.css')
    .pipe(modernizr('modernizr-custom.js'))
    .pipe(uglify())
    .pipe(gulp.dest("./"))
});

Is that something related to my setup or gulp-modernizr?

Duplicate of #3

pzi commented

Right, sorry.

Maybe a *note in the readme would be good. I checked if there was a mention of that but there was none. Did not think of looking into past issues. I was no 3 to not notice.

Thanks