Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-modernizr

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-modernizr - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

29

grunt.js

@@ -32,30 +32,3 @@ module.exports = function(grunt) {

},
modernizr: {
// parseFiles: false,
uglify: false,
// Path to the build you're using for development.
"devFile" : "lib/modernizr-dev.js",
// Path to save out the built file
"outputFile" : "build/modernizr-custom.js",
"tests" : ["foo", "random", "csstransforms", "css_displayrunin"],
// "matchCommunityTests" : true,
"customTests" : ["lib/tests/**/*"],
"excludeFiles" : ["lib/cache/**/*"],
"extra" : {
"mq" : true,
"cssclasses" : false
},
"extensibility" : {
testprops : true
}
}
modernizr: {}
});

@@ -62,0 +35,0 @@

5

lib/gruntifier.js

@@ -416,2 +416,3 @@ var Gruntifier = function (grunt, done, bust) {

downloadErrors = this.downloadErrors,
filename = grunt.template.process(config.outputFile),
errorText, i, j;

@@ -431,7 +432,7 @@

// Write!
grunt.file.write(config.outputFile, build);
grunt.file.write(filename, build);
// All set.
grunt.log.writeln();
grunt.log.ok("Wrote file to " + config.outputFile);
grunt.log.ok("Wrote file to " + filename);

@@ -438,0 +439,0 @@ if (downloadErrors.length) {

{
"name": "grunt-modernizr",
"description": "Build out a lean, mean Modernizr machine.",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/doctyper/grunt-modernizr",

@@ -29,3 +29,3 @@ "author": {

},
"dependencies" : {
"dependencies": {
"uglify-js": ">=1.3.3",

@@ -39,4 +39,5 @@ "promised-io": ">=0.3.0",

"keywords": [
"gruntplugin", "modernizr"
"gruntplugin",
"modernizr"
]
}
# grunt-modernizr
##### *tl;dr:* `grunt-modernizr` sifts through your project files, gathers up your references to Modernizr tests and outputs a lean, mean Modernizr machine.
`grunt-modernizr` is a Modernizr builder for your project. It is based on the Modernizr team's [Modulizr](https://github.com/Modernizr/modernizr.com/blob/gh-pages/i/js/modulizr.js) tool.

@@ -7,3 +9,3 @@

When you're ready to build, `grunt-modernizr` will crawl your project for Modernizr test references and save out a minified, uglified, customized version, using only the tests you've used in your JavaScript or (S)CSS.
When you're ready to build, `grunt-modernizr` will crawl your project for Modernizr test references and save out a minified, uglified, customized version using only the tests you've used in your JavaScript or (S)CSS.

@@ -10,0 +12,0 @@ ## Getting Started

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc