package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "mini-css-extract-plugin",
  3. "version": "2.6.0",
  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/index.js",
  15. "types": "types/index.d.ts",
  16. "engines": {
  17. "node": ">= 12.13.0"
  18. },
  19. "scripts": {
  20. "start": "npm run build -- -w",
  21. "prebuild": "npm run clean",
  22. "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
  23. "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  24. "build": "npm-run-all -p \"build:**\"",
  25. "postbuild": "es-check es5 dist/hmr/hotModuleReplacement.js",
  26. "clean": "del-cli dist",
  27. "commitlint": "commitlint --from=master",
  28. "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
  29. "lint:js": "eslint --cache .",
  30. "lint:types": "tsc --pretty --noEmit",
  31. "lint": "npm-run-all -l -p \"lint:**\"",
  32. "prepare": "husky install && npm run build",
  33. "release": "standard-version",
  34. "security": "npm audit --production",
  35. "test:only": "cross-env NODE_ENV=test jest",
  36. "test:only:experimental": "EXPERIMENTAL_USE_IMPORT_MODULE=true cross-env NODE_ENV=test jest",
  37. "test:watch": "npm run test:only -- --watch",
  38. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  39. "test:manual": "npm run build && webpack serve ./test/manual/src/index.js --open --config ./test/manual/webpack.config.js",
  40. "pretest": "npm run lint",
  41. "test": "cross-env NODE_ENV=test npm run test:coverage"
  42. },
  43. "files": [
  44. "dist",
  45. "types"
  46. ],
  47. "peerDependencies": {
  48. "webpack": "^5.0.0"
  49. },
  50. "dependencies": {
  51. "schema-utils": "^4.0.0"
  52. },
  53. "devDependencies": {
  54. "@babel/cli": "^7.17.0",
  55. "@babel/core": "^7.17.0",
  56. "@babel/eslint-parser": "^7.17.0",
  57. "@babel/preset-env": "^7.16.11",
  58. "@commitlint/cli": "^15.0.0",
  59. "@commitlint/config-conventional": "^15.0.0",
  60. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  61. "babel-jest": "^27.5.0",
  62. "bootstrap": "^4.6.0",
  63. "cross-env": "^7.0.3",
  64. "css-loader": "^6.6.0",
  65. "del": "^6.0.0",
  66. "del-cli": "^4.0.0",
  67. "es-check": "^6.2.1",
  68. "eslint": "^8.8.0",
  69. "eslint-config-prettier": "^8.1.0",
  70. "eslint-plugin-import": "^2.25.4",
  71. "file-loader": "^6.2.0",
  72. "husky": "^7.0.0",
  73. "jest": "^27.5.0",
  74. "jsdom": "^19.0.0",
  75. "lint-staged": "^12.3.3",
  76. "memfs": "^3.4.1",
  77. "npm-run-all": "^4.1.5",
  78. "prettier": "^2.3.2",
  79. "sass": "^1.49.7",
  80. "sass-loader": "^12.1.0",
  81. "standard-version": "^9.3.0",
  82. "typescript": "^4.5.5",
  83. "webpack": "^5.70.0",
  84. "webpack-cli": "^4.9.2",
  85. "webpack-dev-server": "^4.7.4"
  86. },
  87. "keywords": [
  88. "webpack",
  89. "css",
  90. "extract",
  91. "hmr"
  92. ]
  93. }