package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "mini-css-extract-plugin",
  3. "version": "1.6.2",
  4. "description": "extracts CSS into separate files",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/mini-css-extract-plugin",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/mini-css-extract-plugin",
  9. "bugs": "https://github.com/webpack-contrib/mini-css-extract-plugin/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/cjs.js",
  15. "engines": {
  16. "node": ">= 10.13.0"
  17. },
  18. "scripts": {
  19. "start": "npm run build -- -w",
  20. "prebuild": "npm run clean",
  21. "build": "cross-env NODE_ENV=production babel src -d dist --ignore \"src/**/*.test.js\" --copy-files",
  22. "postbuild": "es-check es5 dist/hmr/hotModuleReplacement.js",
  23. "clean": "del-cli dist",
  24. "commitlint": "commitlint --from=master",
  25. "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
  26. "lint:js": "eslint --cache .",
  27. "lint": "npm-run-all -l -p \"lint:**\"",
  28. "prepare": "husky install && npm run build",
  29. "release": "standard-version",
  30. "security": "npm audit --production",
  31. "test:only": "cross-env NODE_ENV=test jest",
  32. "test:watch": "npm run test:only -- --watch",
  33. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  34. "test:manual": "npm run build && webpack serve ./test/manual/src/index.js --open --config ./test/manual/webpack.config.js",
  35. "pretest": "npm run lint",
  36. "test": "cross-env NODE_ENV=test npm run test:coverage"
  37. },
  38. "files": [
  39. "dist"
  40. ],
  41. "peerDependencies": {
  42. "webpack": "^4.4.0 || ^5.0.0"
  43. },
  44. "dependencies": {
  45. "loader-utils": "^2.0.0",
  46. "schema-utils": "^3.0.0",
  47. "webpack-sources": "^1.1.0"
  48. },
  49. "devDependencies": {
  50. "@babel/cli": "^7.14.5",
  51. "@babel/core": "^7.14.6",
  52. "@babel/preset-env": "^7.14.5",
  53. "@commitlint/cli": "^12.1.4",
  54. "@commitlint/config-conventional": "^12.1.4",
  55. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  56. "babel-eslint": "^10.1.0",
  57. "babel-jest": "^27.0.2",
  58. "bootstrap": "^4.6.0",
  59. "cross-env": "^7.0.3",
  60. "css-loader": "^5.2.6",
  61. "del": "^6.0.0",
  62. "del-cli": "^3.0.1",
  63. "es-check": "5.2.3",
  64. "eslint": "^7.28.0",
  65. "eslint-config-prettier": "^8.1.0",
  66. "eslint-plugin-import": "^2.23.4",
  67. "file-loader": "^6.2.0",
  68. "husky": "^5.2.0",
  69. "jest": "^27.0.4",
  70. "jsdom": "^16.5.1",
  71. "lint-staged": "^10.5.4",
  72. "memfs": "^3.0.2",
  73. "npm-run-all": "^4.1.5",
  74. "prettier": "^2.3.1",
  75. "standard-version": "^9.1.0",
  76. "webpack": "^5.40.0",
  77. "webpack-cli": "^4.7.2",
  78. "webpack-dev-server": "^3.11.2"
  79. },
  80. "keywords": [
  81. "webpack",
  82. "css",
  83. "extract",
  84. "hmr"
  85. ]
  86. }