package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "name": "css-minimizer-webpack-plugin",
  3. "version": "3.4.1",
  4. "description": "cssnano plugin for Webpack",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/css-minimizer-webpack-plugin",
  7. "author": "Loann Neveu",
  8. "homepage": "https://github.com/webpack-contrib/css-minimizer-webpack-plugin",
  9. "bugs": "https://github.com/webpack-contrib/css-minimizer-webpack-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. "clean": "del-cli dist",
  22. "prebuild": "npm run clean types",
  23. "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
  24. "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  25. "build": "npm-run-all -p \"build:**\"",
  26. "commitlint": "commitlint --from=master",
  27. "security": "npm audit",
  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. "test:only": "cross-env NODE_ENV=test jest",
  33. "test:watch": "npm run test:only -- --watch",
  34. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  35. "pretest": "npm run lint",
  36. "test": "npm run test:coverage",
  37. "prepare": "husky install && npm run build",
  38. "release": "standard-version"
  39. },
  40. "files": [
  41. "dist",
  42. "types"
  43. ],
  44. "peerDependencies": {
  45. "webpack": "^5.0.0"
  46. },
  47. "peerDependenciesMeta": {
  48. "clean-css": {
  49. "optional": true
  50. },
  51. "csso": {
  52. "optional": true
  53. },
  54. "esbuild": {
  55. "optional": true
  56. },
  57. "@parcel/css": {
  58. "optional": true
  59. }
  60. },
  61. "dependencies": {
  62. "cssnano": "^5.0.6",
  63. "jest-worker": "^27.0.2",
  64. "postcss": "^8.3.5",
  65. "schema-utils": "^4.0.0",
  66. "serialize-javascript": "^6.0.0",
  67. "source-map": "^0.6.1"
  68. },
  69. "devDependencies": {
  70. "@babel/cli": "^7.16.7",
  71. "@babel/core": "^7.16.7",
  72. "@babel/preset-env": "^7.16.7",
  73. "@commitlint/cli": "^15.0.0",
  74. "@commitlint/config-conventional": "^15.0.0",
  75. "@parcel/css": "^1.0.3",
  76. "@types/clean-css": "^4.2.5",
  77. "@types/csso": "^5.0.0",
  78. "@types/serialize-javascript": "^5.0.2",
  79. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  80. "babel-jest": "^27.0.6",
  81. "clean-css": "^5.1.5",
  82. "copy-webpack-plugin": "^9.1.0",
  83. "cross-env": "^7.0.3",
  84. "css-loader": "^6.2.0",
  85. "cssnano-preset-simple": "^3.0.0",
  86. "csso": "^5.0.0",
  87. "del": "^6.0.0",
  88. "del-cli": "^4.0.0",
  89. "esbuild": "^0.14.10",
  90. "eslint": "^8.6.0",
  91. "eslint-config-prettier": "^8.3.0",
  92. "eslint-plugin-import": "^2.25.4",
  93. "husky": "^7.0.1",
  94. "jest": "^27.0.6",
  95. "lint-staged": "^12.1.5",
  96. "memfs": "^3.4.1",
  97. "mini-css-extract-plugin": "^2.2.0",
  98. "npm-run-all": "^4.1.5",
  99. "prettier": "^2.3.2",
  100. "sass": "^1.45.2",
  101. "sass-loader": "^12.1.0",
  102. "standard-version": "^9.3.0",
  103. "sugarss": "^4.0.1",
  104. "typescript": "^4.5.2",
  105. "webpack": "^5.50.0"
  106. },
  107. "keywords": [
  108. "cssnano",
  109. "css",
  110. "csso",
  111. "clean-css",
  112. "esbuild",
  113. "webpack",
  114. "webpack-plugin",
  115. "minimize",
  116. "minimizer",
  117. "minify",
  118. "minifier",
  119. "optimize",
  120. "optimizer"
  121. ]
  122. }