You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186 lines
14 KiB

4 years ago
  1. {
  2. "_args": [
  3. [
  4. "extract-text-webpack-plugin@v4.0.0-beta.0",
  5. "/home/herrhase/Workspace/tentakelfabrik/tiny-components/tiny-consent/node_modules/laravel-mix"
  6. ]
  7. ],
  8. "_from": "extract-text-webpack-plugin@4.0.0-beta.0",
  9. "_hasShrinkwrap": false,
  10. "_id": "extract-text-webpack-plugin@4.0.0-beta.0",
  11. "_inCache": true,
  12. "_installable": true,
  13. "_location": "/extract-text-webpack-plugin",
  14. "_nodeVersion": "9.6.0",
  15. "_npmOperationalInternal": {
  16. "host": "s3://npm-registry-packages",
  17. "tmp": "tmp/extract-text-webpack-plugin_4.0.0-beta.0_1519786273691_0.8815864573131751"
  18. },
  19. "_npmUser": {
  20. "email": "michael.ciniawsky@gmail.com",
  21. "name": "michael-ciniawsky"
  22. },
  23. "_npmVersion": "5.7.1",
  24. "_phantomChildren": {},
  25. "_requested": {
  26. "name": "extract-text-webpack-plugin",
  27. "raw": "extract-text-webpack-plugin@v4.0.0-beta.0",
  28. "rawSpec": "v4.0.0-beta.0",
  29. "scope": null,
  30. "spec": "4.0.0-beta.0",
  31. "type": "version"
  32. },
  33. "_requiredBy": [
  34. "/laravel-mix"
  35. ],
  36. "_resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-4.0.0-beta.0.tgz",
  37. "_shasum": "f7361d7ff430b42961f8d1321ba8c1757b5d4c42",
  38. "_shrinkwrap": null,
  39. "_spec": "extract-text-webpack-plugin@v4.0.0-beta.0",
  40. "_where": "/home/herrhase/Workspace/tentakelfabrik/tiny-components/tiny-consent/node_modules/laravel-mix",
  41. "author": {
  42. "name": "Tobias Koppers @sokra"
  43. },
  44. "bugs": {
  45. "url": "https://github.com/webpack-contrib/extract-text-webpack-plugin/issues"
  46. },
  47. "dependencies": {
  48. "async": "^2.4.1",
  49. "loader-utils": "^1.1.0",
  50. "schema-utils": "^0.4.5",
  51. "webpack-sources": "^1.1.0"
  52. },
  53. "description": "Extract text from bundle into a file.",
  54. "devDependencies": {
  55. "@commitlint/cli": "^5.2.8",
  56. "@commitlint/config-angular": "^5.1.1",
  57. "@webpack-contrib/eslint-config-webpack": "^2.0.2",
  58. "babel-cli": "^6.26.0",
  59. "babel-jest": "^22.2.2",
  60. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  61. "babel-polyfill": "^6.26.0",
  62. "babel-preset-env": "^1.6.1",
  63. "conventional-github-releaser": "^2.0.0",
  64. "cross-env": "^5.1.3",
  65. "css-loader": "^0.28.9",
  66. "del": "^3.0.0",
  67. "del-cli": "^1.1.0",
  68. "eslint": "^4.17.0",
  69. "eslint-plugin-import": "^2.8.0",
  70. "eslint-plugin-prettier": "^2.6.0",
  71. "file-loader": "^1.1.6",
  72. "husky": "^0.14.3",
  73. "jest": "^22.3.0",
  74. "lint-staged": "^6.1.0",
  75. "memory-fs": "^0.4.1",
  76. "nsp": "^3.1.0",
  77. "pre-commit": "^1.2.2",
  78. "prettier": "^1.10.2",
  79. "raw-loader": "^0.5.1",
  80. "standard-version": "^4.3.0",
  81. "style-loader": "^0.19.1",
  82. "webpack": "^4.0.0",
  83. "webpack-defaults": "^2.0.0-rc.4"
  84. },
  85. "directories": {},
  86. "dist": {
  87. "fileCount": 13,
  88. "integrity": "sha512-Hypkn9jUTnFr0DpekNam53X47tXn3ucY08BQumv7kdGgeVUBLq3DJHJTi6HNxv4jl9W+Skxjz9+RnK0sJyqqjA==",
  89. "shasum": "f7361d7ff430b42961f8d1321ba8c1757b5d4c42",
  90. "tarball": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-4.0.0-beta.0.tgz",
  91. "unpackedSize": 48857
  92. },
  93. "engines": {
  94. "node": ">= 6.9.0 || >= 8.9.0"
  95. },
  96. "files": [
  97. "dist"
  98. ],
  99. "gitHead": "5dbbcd99a5964175f85c302641829cd20e139c09",
  100. "homepage": "https://github.com/webpack-contrib/extract-text-webpack-plugin",
  101. "jest": {
  102. "testEnvironment": "node"
  103. },
  104. "license": "MIT",
  105. "lint-staged": {
  106. "*.js": [
  107. "eslint --fix",
  108. "git add"
  109. ]
  110. },
  111. "main": "dist/cjs.js",
  112. "maintainers": [
  113. {
  114. "name": "bebraw",
  115. "email": "bebraw@gmail.com"
  116. },
  117. {
  118. "name": "d3viant0ne",
  119. "email": "wiens.joshua@gmail.com"
  120. },
  121. {
  122. "name": "ericclemmons",
  123. "email": "eric@smarterspam.com"
  124. },
  125. {
  126. "name": "jhnns",
  127. "email": "mail@johannesewald.de"
  128. },
  129. {
  130. "name": "jtangelder",
  131. "email": "j.tangelder@gmail.com"
  132. },
  133. {
  134. "name": "michael-ciniawsky",
  135. "email": "michael.ciniawsky@gmail.com"
  136. },
  137. {
  138. "name": "sokra",
  139. "email": "tobias.koppers@googlemail.com"
  140. },
  141. {
  142. "name": "spacek33z",
  143. "email": "kees@webduck.nl"
  144. },
  145. {
  146. "name": "thelarkinn",
  147. "email": "sean.larkin@cuw.edu"
  148. }
  149. ],
  150. "name": "extract-text-webpack-plugin",
  151. "optionalDependencies": {},
  152. "peerDependencies": {
  153. "webpack": "^3.0.0 || ^4.0.0"
  154. },
  155. "pre-commit": "lint-staged",
  156. "readme": "[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![coverage][cover]][cover-url]\n[![chat][chat]][chat-url]\n\n<div align=\"center\">\n <img width=\"200\" height=\"200\"\n src=\"https://cdn.rawgit.com/webpack-contrib/extract-text-webpack-plugin/574e3200/logo.svg\">\n <a href=\"https://github.com/webpack/webpack\">\n <img width=\"200\" height=\"200\"\n src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n </a>\n <h1>Extract Text Plugin</h1>\n <p>Extract text from a bundle, or bundles, into a separate file.</p>\n</div>\n\n<h2 align=\"center\">Install</h2>\n\n```bash\n# for webpack 3\nnpm install --save-dev extract-text-webpack-plugin\n# for webpack 2\nnpm install --save-dev extract-text-webpack-plugin@2.1.2\n# for webpack 1\nnpm install --save-dev extract-text-webpack-plugin@1.0.1\n```\n\n<h2 align=\"center\">Usage</h2>\n\n> :warning: For webpack v1, see [the README in the webpack-1 branch](https://github.com/webpack/extract-text-webpack-plugin/blob/webpack-1/README.md).\n\n```js\nconst ExtractTextPlugin = require(\"extract-text-webpack-plugin\");\n\nmodule.exports = {\n module: {\n rules: [\n {\n test: /\\.css$/,\n use: ExtractTextPlugin.extract({\n fallback: \"style-loader\",\n use: \"css-loader\"\n })\n }\n ]\n },\n plugins: [\n new ExtractTextPlugin(\"styles.css\"),\n ]\n}\n```\n\nIt moves all the required `*.css` modules in entry chunks into a separate CSS file. So your styles are no longer inlined into the JS bundle, but in a separate CSS file (`styles.css`). If your total stylesheet volume is big, it will be faster because the CSS bundle is loaded in parallel to the JS bundle.\n\n|Advantages|Caveats|\n|:---------|:------|\n| Fewer style tags (older IE has a limit) | Additional HTTP request |\n| CSS SourceMap (with `devtool: \"source-map\"` and `extract-text-webpack-plugin?sourceMap`) | Longer compilation time |\n| CSS requested in parallel | No runtime public path modification |\n| CSS cached separate | No Hot Module Replacement |\n| Faster runtime (less code and DOM operations) | ... |\n\n<h2 align=\"center\">Options</h2>\n\n```js\nnew ExtractTextPlugin(options: filename | object)\n```\n\n|Name|Type|Description|\n|:--:|:--:|:----------|\n|**`id`**|`{String}`|Unique ident for this plugin instance. (For advanced usage only, by default automatically generated)|\n|**`filename`**|`{String\\|Function}`|Name of the result file. May contain `[name]`, `[id]` and `[contenthash]`|\n|**`allChunks`**|`{Boolean}`|Extract from all additional chunks too (by default it extracts only from the initial chunk(s))<br />When using `optimization.splitChunks` and there are extracted chunks (from `ExtractTextPlugin.extract`) in the commons chunk, `allChunks` **must** be set to `true`|\n|**`disable`**|`{Boolean}`|Disables the plugin|\n|**`ignoreOrder`**|`{Boolean}`|Disables order check (useful for CSS Modules!), `false` by default|\n\n* `[name]` name of the chunk\n* `[id]` number of the chunk\n* `[contenthash]` hash of the content of the extracted file\n* `[<hashType>:contenthash:<digestType>:<length>]` optionally you can configure\n * other `hashType`s, e.g. `sha1`, `md5`, `sha256`, `sha512`\n * other `digestType`s, e.g. `hex`, `base26`, `base32`, `base36`, `base49`, `base52`, `base58`, `base62`, `base64`\n * and `length`, the length of the hash in chars\n\n> :warning: `ExtractTextPlugin` generates a file **per entry**, so you must use `[name]`, `[id]` or `[contenthash]` when using multiple entries.\n\n#### `#extract`\n\n```js\nExtractTextPlugin.extract(options: loader | object)\n```\n\nCreates an extracting loader from an existing loader. Supports loaders of type `{ loader: [name]-loader -> {String}, options: {} -> {Object} }`.\n\n|Name|Type|Description|\n|:--:|:--:|:----------|\n|**`options.use`**|`{String}`/`{Array}`/`{Object}`|Loader(s) that should be used for converting the resource to a CSS exporting module _(required)_|\n|**`options.fallback`**|`{String}`/`{Array}`/`{Object}`
  157. "readmeFilename": "README.md",
  158. "repository": {
  159. "type": "git",
  160. "url": "git+https://github.com/webpack-contrib/extract-text-webpack-plugin.git"
  161. },
  162. "scripts": {
  163. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  164. "ci:coverage": "npm run test:coverage -- --runInBand",
  165. "ci:lint": "npm run lint && npm run security",
  166. "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
  167. "ci:test": "npm run test -- --runInBand",
  168. "clean": "del-cli dist",
  169. "commitlint": "commitlint",
  170. "commitmsg": "commitlint -e $GIT_PARAMS",
  171. "defaults": "webpack-defaults",
  172. "lint": "eslint --cache src test",
  173. "lint-staged": "lint-staged",
  174. "prebuild": "npm run clean",
  175. "prepare": "npm run build",
  176. "release": "standard-version",
  177. "release:ci": "conventional-github-releaser -p angular",
  178. "release:validate": "commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)",
  179. "security": "nsp check",
  180. "start": "npm run build -- -w",
  181. "test": "jest",
  182. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  183. "test:watch": "jest --watch"
  184. },
  185. "version": "4.0.0-beta.0"
  186. }