File: //opt/code/node_modules/webpack/node_modules/json-loader/package.json
{
"name": "json-loader",
"version": "0.5.7",
"author": {
"name": "Tobias Koppers @sokra"
},
"description": "json loader module for webpack",
"license": "MIT",
"scripts": {
"release": "standard-version"
},
"devDependencies": {
"standard-version": "^4.2.0"
},
"repository": {
"type": "git",
"url": "https://github.com/webpack/json-loader.git"
},
"readme": "[![npm][npm]][npm-url]\r\n[![node][node]][node-url]\r\n[![deps][deps]][deps-url]\r\n[![tests][tests]][tests-url]\r\n[![coverage][cover]][cover-url]\r\n[![chat][chat]][chat-url]\r\n\r\n<div align=\"center\">\r\n <img width=\"160\" height=\"180\"\r\n src=\"https://worldvectorlogo.com/logos/json.svg\">\r\n <a href=\"https://github.com/webpack/webpack\">\r\n <img width=\"200\" height=\"200\"\r\n src=\"https://webpack.js.org/assets/icon-square-big.svg\">\r\n </a>\r\n <h1>JSON Loader</h1>\r\n</div>\r\n\r\n<h2 align=\"center\">Install</h2>\r\n\r\n```bash\r\nnpm install --save-dev json-loader\r\n```\r\n\r\n> ⚠️ **Since `webpack >= v2.0.0`, importing of JSON files will work by default. You might still want to use this if you use a custom file extension. See the [v1.0.0 -> v2.0.0 Migration Guide](https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore) for more information**\r\n\r\n<h2 align=\"center\">Usage</h2>\r\n\r\n### `Inline`\r\n\r\n```js\r\nconst json = require('json-loader!./file.json');\r\n```\r\n\r\n### `Configuration` (recommended)\r\n\r\n```js\r\nconst json = require('./file.json');\r\n```\r\n\r\n**webpack.config.js**\r\n```js\r\nmodule.exports = {\r\n module: {\r\n loaders: [\r\n {\r\n test: /\\.json$/,\r\n loader: 'json-loader'\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n<h2 align=\"center\">Maintainer</h2>\r\n\r\n<table>\r\n <tbody>\r\n <tr>\r\n <td align=\"center\">\r\n <img width=\"150\" height=\"150\" src=\"https://avatars.githubusercontent.com/sokra?v=3\">\r\n </br>\r\n <a href=\"https://github.com/sokra\">Tobias Koppers</a>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n\r\n\r\n[npm]: https://img.shields.io/npm/v/json-loader.svg\r\n[npm-url]: https://npmjs.com/package/json-loader\r\n\r\n[node]: https://img.shields.io/node/v/json-loader.svg\r\n[node-url]: https://nodejs.org\r\n\r\n[deps]: https://david-dm.org/webpack/json-loader.svg\r\n[deps-url]: https://david-dm.org/webpack/json-loader\r\n\r\n[tests]: http://img.shields.io/travis/webpack/json-loader.svg\r\n[tests-url]: https://travis-ci.org/webpack/json-loader\r\n\r\n[cover]: https://coveralls.io/repos/github/webpack/json-loader/badge.svg\r\n[cover-url]: https://coveralls.io/github/webpack/json-loader\r\n\r\n[chat]: https://badges.gitter.im/webpack/webpack.svg\r\n[chat-url]: https://gitter.im/webpack/webpack\r\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/webpack/json-loader/issues"
},
"_id": "json-loader@0.5.7",
"dist": {
"shasum": "612c881d893de5c076aa326ae3bd3c9673c4d7ae"
},
"_from": "json-loader@^0.5.4",
"_resolved": "http://registry.npmjs.org/json-loader/-/json-loader-0.5.7.tgz"
}