package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "mini-css-extract-plugin",
  3. "version": "2.7.6",
  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:spelling": "cspell \"**/*.*\"",
  31. "lint:types": "tsc --pretty --noEmit",
  32. "lint": "npm-run-all -l -p \"lint:**\"",
  33. "fix:js": "npm run lint:js -- --fix",
  34. "fix:prettier": "npm run lint:prettier -- --write",
  35. "fix": "npm-run-all -l fix:js fix:prettier",
  36. "prepare": "husky install && npm run build",
  37. "release": "standard-version",
  38. "security": "npm audit --production",
  39. "test:only": "cross-env NODE_ENV=test jest",
  40. "test:only:experimental": "EXPERIMENTAL_USE_IMPORT_MODULE=true cross-env NODE_ENV=test jest",
  41. "test:watch": "npm run test:only -- --watch",
  42. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  43. "test:manual": "npm run build && webpack serve ./test/manual/src/index.js --open --config ./test/manual/webpack.config.js",
  44. "pretest": "npm run lint",
  45. "test": "cross-env NODE_ENV=test npm run test:coverage"
  46. },
  47. "files": [
  48. "dist",
  49. "types"
  50. ],
  51. "peerDependencies": {
  52. "webpack": "^5.0.0"
  53. },
  54. "dependencies": {
  55. "schema-utils": "^4.0.0"
  56. },
  57. "devDependencies": {
  58. "@babel/cli": "^7.21.0",
  59. "@babel/core": "^7.21.4",
  60. "@babel/eslint-parser": "^7.19.1",
  61. "@babel/preset-env": "^7.21.4",
  62. "@commitlint/cli": "^17.5.1",
  63. "@commitlint/config-conventional": "^17.4.4",
  64. "@types/node": "^18.15.11",
  65. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  66. "babel-jest": "^28.1.3",
  67. "bootstrap": "^4.6.2",
  68. "cross-env": "^7.0.3",
  69. "cspell": "^6.31.1",
  70. "css-loader": "^6.7.4",
  71. "del": "^6.0.0",
  72. "del-cli": "^4.0.0",
  73. "es-check": "^7.1.0",
  74. "eslint": "^8.37.0",
  75. "eslint-config-prettier": "^8.8.0",
  76. "eslint-plugin-import": "^2.27.5",
  77. "file-loader": "^6.2.0",
  78. "husky": "^7.0.0",
  79. "jest": "^28.1.3",
  80. "jest-environment-jsdom": "^28.1.3",
  81. "jsdom": "^19.0.0",
  82. "lint-staged": "^13.2.1",
  83. "memfs": "^3.4.13",
  84. "npm-run-all": "^4.1.5",
  85. "prettier": "^2.8.7",
  86. "sass": "^1.60.0",
  87. "sass-loader": "^12.6.0",
  88. "standard-version": "^9.3.0",
  89. "typescript": "^4.9.5",
  90. "webpack": "^5.83.1",
  91. "webpack-cli": "^4.9.2",
  92. "webpack-dev-server": "^4.13.2"
  93. },
  94. "keywords": [
  95. "webpack",
  96. "css",
  97. "extract",
  98. "hmr"
  99. ]
  100. }