{"_id":"@applaud/webpack-modernizr-loader","_rev":"1-89531884832670f46695f74f05c913ea","name":"@applaud/webpack-modernizr-loader","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@applaud/webpack-modernizr-loader","version":"1.0.0","description":"Get your modernizr build bundled with webpack, use modernizr with webpack easily","repository":{"type":"git","url":"git+https://github.com/Applaud-devpack/-webpack-modernizr-loader.git"},"homepage":"https://github.com/Applaud-devpack/-webpack-modernizr-loader","keywords":["modernizr","webpack","loader","applaud"],"author":{"name":"Applaud"},"bugs":{"url":"https://github.com/Applaud-devpack/-webpack-modernizr-loader"},"license":"MIT","main":"index.js","engines":{"node":">= 4.3 < 5.0.0 || >= 5.10"},"dependencies":{"modernizr":"^3.5.0","loader-utils":"^2.0.3"},"devDependencies":{"@applaud/webpack":"^1.0.1","ava":"^0.25.0","babel-preset-env":"^1.6.0","babel-register":"^6.14.0","eslint":"^4.1.1","eslint-plugin-ava":"^4.2.1","eslint-plugin-import":"^2.6.0","eslint-plugin-itgalaxy":"^64.0.0","eslint-plugin-jest":"^21.0.0","eslint-plugin-jsx-a11y":"^6.0.0","eslint-plugin-lodash":"^2.4.3","eslint-plugin-node":"^6.0.0","eslint-plugin-prettier":"^2.1.2","eslint-plugin-promise":"^3.5.0","eslint-plugin-react":"^7.1.0","eslint-plugin-unicorn":"^4.0.1","husky":"^0.14.0","lint-staged":"^6.1.0","npm-run-all":"^4.0.0","npmpub":"^3.1.0","nyc":"^11.0.2","pify":"^3.0.0","prettier":"^1.5.2","remark-cli":"^5.0.0","remark-preset-lint-itgalaxy":"^12.0.0","tempy":"^0.2.0"},"peerDependencies":{"@applaud/webpack":"^1.0.1"},"scripts":{"precommit":"lint-staged","lint:prettify":"prettier --list-different '{lib,__tests__}/**/*.{js,jsx}' '*.js'","lint:markdown":"remark . -i .gitignore -f -q","lint:script":"eslint . '.*.js' --ignore-path .gitignore --ext '.js,.jsx'","lint":"npm-run-all -l -p lint:**","prettify":"prettier --write '{lib,__tests__}/**/*.{js,jsx}' '*.js'","fix:eslint":"eslint . '.*.js' --fix --ignore-path .gitignore --ext '.js,.jsx'","fix":"npm-run-all -l prettify -p 'fix:**'","pretest":"npm run lint","test-only":"nyc ava --verbose '**/__tests__/*.js'","test":"npm run test-only","release":"npmpub"},"babel":{"presets":["env"]},"ava":{"require":"babel-register","concurrency":5,"babel":"inherit"},"remarkConfig":{"plugins":["remark-preset-lint-itgalaxy"]},"eslintConfig":{"parserOptions":{"sourceType":"script"},"rules":{"sort-keys":"off"},"extends":["plugin:itgalaxy/ava","plugin:itgalaxy/esnext","plugin:itgalaxy/node"],"overrides":[{"files":["**/__tests__/**/*.js"],"parserOptions":{"sourceType":"module"},"rules":{"node/no-unsupported-features":"off"}}],"root":true},"gitHead":"095878273b45f4f120cffdc7d1c389e58b845077","_id":"@applaud/webpack-modernizr-loader@1.0.0","_nodeVersion":"10.23.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-YLbDTHuJzg4pOiLqig9Errig7ycMycni2GPg3TwCuURoOxLV7bkdNSL3Y7U3OYsq4UdZLAwPVlGX7gxtpHA3tg==","shasum":"2947360603ee7c652b4c65bb3b0870fceac36d26","tarball":"https://registry.npmjs.org/@applaud/webpack-modernizr-loader/-/webpack-modernizr-loader-1.0.0.tgz","fileCount":5,"unpackedSize":9513,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICC+mlFIM1eAuWAM7MrDdFB+SefpXPhubj1bOJIQ/BWCAiEAsa/6F+YN/FvQlo6Fs980CzP60PP9OXXFYHODllkyYu4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcygwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptwA//ZtJSdRCpnTffnAphxx3SQ7y8rQxI6Hw6vGcdie3H/M55N6aa\r\noY94GqydwPCDzjmFdXj9t/effjqdKsJRnzJEO41n0vrAtCzEqxDe+xIbqRll\r\nD049O5GAAvONDsrKPIB0zjvIJHu9MTJbMGHZFe7V4D+tduOxQxQuuxXEuNGn\r\n27navpOy5/Hl9QgJFfv2lX+NubOpqpyK9fJ59Xw7Ri/o37usLG53YgK68Lno\r\nz33q5TlLF9539mPozjiMQGiI6ndreq1eKpZEtjqGa88Xb6pIEW2/LIreXbt7\r\nmgYhD1rM6O7Q8p0cP5Kf7leUmvBA9JXmcMIpHkxhYyJt4R3v1pugXswIyXEk\r\n685j0SShXvh5V7DUfpx4AL27wC+/kRBvT8GDREJIbCinaz9SQAy17WjOJMMd\r\nC9ccJKENzLFxtMlZMdGTS8ymc6R/XJ0lLTt8C+HTXZFfOaXc+iLw5IFO3Z9u\r\n4zmf8LO/0afNDSNqEJX6095kbCgTyQyCZ+UBXKNA+8AJRusf/SPPXHmbXrts\r\n4POeAjz+1s2PXJ8ByJtD/y9gVUYqU2S9t+QceZY/44v3Ha/3vHLKMnkMr1FA\r\neV2aJd23Wn9O6DqRf2oVEO0lH9yO1gqnkKhihPP4yKS/UdaeoTIzNL69Wsue\r\n4EbuwpCYUqHQNxZ8gbsDXebBdHlCvcYrAzU=\r\n=MyqN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mahesh_reddy","email":"applaud.devpack@gmail.com"},"directories":{},"maintainers":[{"name":"mahesh_reddy","email":"applaud.devpack@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-modernizr-loader_1.0.0_1668491312134_0.5571266081942567"},"_hasShrinkwrap":false},"1.0.1":{"name":"@applaud/webpack-modernizr-loader","version":"1.0.1","description":"Get your modernizr build bundled with webpack, use modernizr with webpack easily","repository":{"type":"git","url":"git+https://github.com/Applaud-devpack/webpack-modernizr-loader.git"},"homepage":"https://github.com/Applaud-devpack/webpack-modernizr-loader","keywords":["modernizr","webpack","loader","applaud"],"author":{"name":"Applaud"},"bugs":{"url":"https://github.com/Applaud-devpack/webpack-modernizr-loader"},"license":"MIT","main":"index.js","engines":{"node":">= 4.3 < 5.0.0 || >= 5.10"},"dependencies":{"modernizr":"^3.5.0","loader-utils":"^2.0.3"},"devDependencies":{"@applaud/webpack":"^1.0.1","ava":"^0.25.0","babel-preset-env":"^1.6.0","babel-register":"^6.14.0","eslint":"^4.1.1","eslint-plugin-ava":"^4.2.1","eslint-plugin-import":"^2.6.0","eslint-plugin-itgalaxy":"^64.0.0","eslint-plugin-jest":"^21.0.0","eslint-plugin-jsx-a11y":"^6.0.0","eslint-plugin-lodash":"^2.4.3","eslint-plugin-node":"^6.0.0","eslint-plugin-prettier":"^2.1.2","eslint-plugin-promise":"^3.5.0","eslint-plugin-react":"^7.1.0","eslint-plugin-unicorn":"^4.0.1","husky":"^0.14.0","lint-staged":"^6.1.0","npm-run-all":"^4.0.0","npmpub":"^3.1.0","nyc":"^11.0.2","pify":"^3.0.0","prettier":"^1.5.2","remark-cli":"^5.0.0","remark-preset-lint-itgalaxy":"^12.0.0","tempy":"^0.2.0"},"peerDependencies":{"webpack":"npm:@applaud/webpack@latest"},"scripts":{"precommit":"lint-staged","lint:prettify":"prettier --list-different '{lib,__tests__}/**/*.{js,jsx}' '*.js'","lint:markdown":"remark . -i .gitignore -f -q","lint:script":"eslint . '.*.js' --ignore-path .gitignore --ext '.js,.jsx'","lint":"npm-run-all -l -p lint:**","prettify":"prettier --write '{lib,__tests__}/**/*.{js,jsx}' '*.js'","fix:eslint":"eslint . '.*.js' --fix --ignore-path .gitignore --ext '.js,.jsx'","fix":"npm-run-all -l prettify -p 'fix:**'","pretest":"npm run lint","test-only":"nyc ava --verbose '**/__tests__/*.js'","test":"npm run test-only","release":"npmpub"},"babel":{"presets":["env"]},"ava":{"require":"babel-register","concurrency":5,"babel":"inherit"},"remarkConfig":{"plugins":["remark-preset-lint-itgalaxy"]},"eslintConfig":{"parserOptions":{"sourceType":"script"},"rules":{"sort-keys":"off"},"extends":["plugin:itgalaxy/ava","plugin:itgalaxy/esnext","plugin:itgalaxy/node"],"overrides":[{"files":["**/__tests__/**/*.js"],"parserOptions":{"sourceType":"module"},"rules":{"node/no-unsupported-features":"off"}}],"root":true},"gitHead":"336a39103787bb8b152a59cd733f6efbfe1f250c","_id":"@applaud/webpack-modernizr-loader@1.0.1","_nodeVersion":"10.23.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-PoBGtyzGZO+nRpbMeUZcINZ/rMqmFugjNEO8A6CNXGN5oZLwaHtuIKf+J81t5erJN/luig29jZOQquzEhdFhag==","shasum":"c181cafd6ed1d900b635f24552ad28fcc1794831","tarball":"https://registry.npmjs.org/@applaud/webpack-modernizr-loader/-/webpack-modernizr-loader-1.0.1.tgz","fileCount":5,"unpackedSize":9522,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZYhQ4xXhlWrRSI2bjJCW7bAcaulvEWNYJWIPBs9u60AIgP8CHNgPWV0QglIfxo0oZAdrd/5EJsjEPomRKrHUBWn4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdIxRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo74Q/+MfHSGJKncjgX0StS0TWI+ioh/UkZlLcqm/gVPE5lQ5DUYitP\r\n3WBXTJ4X8Xkg1RwDQ249CpF+rR1m1FFco4+VlLmYZ8xMtANQ6hZwMsN0E9xC\r\nevS58jyAQHYtGTSl08aURss1ICghinOT5NOz5PQCFYgT5L/Lx99Z2UvQNIzc\r\nR6C/lp+UOeLahIrtfBMh/pYW9niv5yAs5dsc0EyIW2llNMTFZ51mFp81jx7c\r\nzyiZX0Y1SZKvhNDhELzfPYy5XBCFoOHi8D14/IWlIiqvlzVx4EP+3lF4Zh2e\r\nPAKH95z7GBugmAEeEkDpa9O/oOCRo/xsfFdnpBpkKPkBbkYL8axZLxPJb5Xd\r\nTy4m1jYTEB1zlqvff18fc0HRt0hgaXm9RlYZs9hxNniGmX1MbSXP7VkayoW8\r\nJ8CJ+JKtjtzsGA/l/sQ2tnOUtbYHlYlbKsquDu9n3/Ulefdnu72HwwXw5wyk\r\nKj0ab5qBY08h/+8ukCkVuWHln+WCJW/ynNr1AEW7XmTt2O3MSGK7OyWyb9N1\r\n3aghI4TXzJipX1XWFYeunooqCu2QSigZ6/nlHOyqITuUpH3819G4FAcC41J3\r\nWMfLWRDwpVK+be2Ny+zWvBzI6XM/yYB29vNsl5p8C0nRindr1tpfW7w8MJzd\r\niNUg7K1XOk2hE+UTlQjqlYlSeuslI0kKnp4=\r\n=217B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mahesh_reddy","email":"applaud.devpack@gmail.com"},"directories":{},"maintainers":[{"name":"mahesh_reddy","email":"applaud.devpack@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-modernizr-loader_1.0.1_1668582481206_0.3479033734120984"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-15T05:48:32.050Z","1.0.0":"2022-11-15T05:48:32.296Z","modified":"2022-11-16T07:08:01.529Z","1.0.1":"2022-11-16T07:08:01.435Z"},"maintainers":[{"name":"mahesh_reddy","email":"applaud.devpack@gmail.com"}],"description":"Get your modernizr build bundled with webpack, use modernizr with webpack easily","homepage":"https://github.com/Applaud-devpack/webpack-modernizr-loader","keywords":["modernizr","webpack","loader","applaud"],"repository":{"type":"git","url":"git+https://github.com/Applaud-devpack/webpack-modernizr-loader.git"},"author":{"name":"Applaud"},"bugs":{"url":"https://github.com/Applaud-devpack/webpack-modernizr-loader"},"license":"MIT","readme":"# @applaud/webpack-modernizr-loader\n\n[![NPM version](https://img.shields.io/npm/v/webpack-modernizr-loader.svg)](https://www.npmjs.org/package/webpack-modernizr-loader)\n[![Travis Build Status](https://img.shields.io/travis/itgalaxy/webpack-modernizr-loader/master.svg?label=build)](https://travis-ci.org/itgalaxy/webpack-modernizr-loader)\n[![dependencies Status](https://david-dm.org/itgalaxy/webpack-modernizr-loader/status.svg)](https://david-dm.org/itgalaxy/webpack-modernizr-loader)\n[![devDependencies Status](https://david-dm.org/itgalaxy/webpack-modernizr-loader/dev-status.svg)](https://david-dm.org/itgalaxy/webpack-modernizr-loader?type=dev)\n[![Greenkeeper badge](https://badges.greenkeeper.io/itgalaxy/webpack-modernizr-loader.svg)](https://greenkeeper.io)\n\nGet your modernizr build bundled with webpack.\n\n## Installation\n\n```shell\n$ npm install @applaud/webpack-modernizr-loader --save-dev\n```\n\n## Usage\n\n[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)\n\nThere are three use case.\n\n1. Using loader `options`.\n\n```javascript\nimport modernizr from 'modernizr'; // or `const modernizr = require('modernizr');`\n```\n\n**webpack.config.js**\n\n```javascript\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        loader: 'webpack-modernizr-loader',\n        options: {\n          // Full list of supported options can be found in [config-all.json](https://github.com/Modernizr/Modernizr/blob/master/lib/config-all.json).\n          options: [\n            \"setClasses\"\n          ],\n          \"feature-detects\": [\n            \"test/css/flexbox\",\n            \"test/es6/promises\",\n            \"test/serviceworker\"\n          ]\n        },\n        test: /empty-alias-file\\.js$/\n      }\n    ]\n  },\n  resolve: {\n    alias: {\n      // You can add comment \"Please do not delete this file\" in this file\n      modernizr$: path.resolve(__dirname, \"/path/to/empty-alias-file.js\")\n    }\n  }\n}\n```\n\n2. Using config file through alias (supported **JavaScript** and **JSON** syntax).\n\n```javascript\nimport modernizr from 'modernizr'; // or `const modernizr = require('modernizr');`\n```\n\n**.modernizrrc.js**\n\n```javascript\n\"use strict\";\n\nmodule.exports = {\n  options: [\n    \"setClasses\"\n  ],\n  \"feature-detects\": [\n    \"test/css/flexbox\",\n    \"test/es6/promises\",\n    \"test/serviceworker\"\n  ]\n};\n```\n\n**webpack.config.js**\n\n```javascript\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        loader: \"webpack-modernizr-loader\",\n        test: /\\.modernizrrc\\.js$/\n      }\n    ]\n  },\n  resolve: {\n    alias: {\n      modernizr$: path.resolve(__dirname, \"/path/to/.modernizrrc.js\")\n    }\n  }\n}\n```\n\n3. Using config (supported **JavaScript** and **JSON** syntax) file directly (see below example how it is use).\n\n```javascript\nimport modernizr from './.modernizrrc.js';\n```\n\n**webpack.config.js**\n\n```javascript\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        loader: \"webpack-modernizr-loader\",\n        test: /\\.modernizrrc\\.js$/\n      }\n    ]\n  }\n}\n```\n\n## Related\n\n- [Modernizr](https://github.com/Modernizr/Modernizr) - API for this module\n\n## Contribution\n\nFeel free to push your code if you agree with publishing under the MIT license.\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n","readmeFilename":"README.md"}