package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "mini-css-extract-plugin",
  3. "version": "0.9.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. "main": "dist/cjs.js",
  11. "engines": {
  12. "node": ">= 6.9.0"
  13. },
  14. "scripts": {
  15. "start": "npm run build -- -w",
  16. "prebuild": "npm run clean",
  17. "build": "cross-env NODE_ENV=production babel src -d dist --ignore \"src/**/*.test.js\" --copy-files",
  18. "postbuild": "es-check es5 dist/hmr/hotModuleReplacement.js",
  19. "clean": "del-cli dist",
  20. "commitlint": "commitlint --from=master",
  21. "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
  22. "lint:js": "eslint --cache src test",
  23. "lint": "npm-run-all -l -p \"lint:**\"",
  24. "prepare": "npm run build",
  25. "release": "standard-version",
  26. "security": "npm audit",
  27. "test:only": "cross-env NODE_ENV=test jest",
  28. "test:watch": "cross-env NODE_ENV=test jest --watch",
  29. "test:coverage": "cross-env NODE_ENV=test jest --collectCoverageFrom=\"src/**/*.js\" --coverage",
  30. "test:manual": "npm run build && webpack-dev-server test/manual/src/index.js --open --config test/manual/webpack.config.js",
  31. "pretest": "npm run lint",
  32. "test": "cross-env NODE_ENV=test npm run test:coverage",
  33. "defaults": "webpack-defaults"
  34. },
  35. "files": [
  36. "dist"
  37. ],
  38. "peerDependencies": {
  39. "webpack": "^4.4.0"
  40. },
  41. "dependencies": {
  42. "loader-utils": "^1.1.0",
  43. "normalize-url": "1.9.1",
  44. "schema-utils": "^1.0.0",
  45. "webpack-sources": "^1.1.0"
  46. },
  47. "devDependencies": {
  48. "@babel/cli": "^7.7.5",
  49. "@babel/core": "^7.7.5",
  50. "@babel/preset-env": "^7.7.6",
  51. "@commitlint/cli": "^8.1.0",
  52. "@commitlint/config-conventional": "^8.1.0",
  53. "@webpack-contrib/defaults": "^5.0.2",
  54. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  55. "babel-eslint": "^10.0.2",
  56. "babel-jest": "^24.8.0",
  57. "commitlint-azure-pipelines-cli": "^1.0.2",
  58. "cross-env": "^5.2.0",
  59. "css-loader": "^3.3.2",
  60. "del": "^4.1.1",
  61. "del-cli": "^1.1.0",
  62. "es-check": "^5.0.0",
  63. "eslint": "^6.7.2",
  64. "eslint-config-prettier": "^6.0.0",
  65. "eslint-plugin-import": "^2.19.1",
  66. "file-loader": "^4.0.0",
  67. "husky": "^3.0.0",
  68. "jest": "^24.8.0",
  69. "jest-junit": "^10.0.0",
  70. "lint-staged": "^9.5.0",
  71. "memory-fs": "^0.4.1",
  72. "npm-run-all": "^4.1.5",
  73. "prettier": "^1.19.1",
  74. "standard-version": "^7.0.1",
  75. "webpack": "^4.41.3",
  76. "webpack-cli": "^3.3.6",
  77. "webpack-dev-server": "^3.7.2"
  78. },
  79. "keywords": [
  80. "webpack",
  81. "css",
  82. "extract",
  83. "hmr"
  84. ]
  85. }