package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "css-loader",
  3. "version": "6.11.0",
  4. "description": "css loader module for webpack",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/css-loader",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/css-loader",
  9. "bugs": "https://github.com/webpack-contrib/css-loader/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/cjs.js",
  15. "engines": {
  16. "node": ">= 12.13.0"
  17. },
  18. "scripts": {
  19. "start": "npm run build -- -w",
  20. "clean": "del-cli dist",
  21. "validate:runtime": "es-check es5 \"dist/runtime/**/*.js\"",
  22. "prebuild": "npm run clean",
  23. "build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  24. "postbuild": "npm run validate:runtime",
  25. "commitlint": "commitlint --from=master",
  26. "security": "npm audit --production",
  27. "lint:prettier": "prettier --list-different .",
  28. "lint:js": "eslint --cache .",
  29. "lint:spelling": "cspell \"**/*.*\"",
  30. "lint": "npm-run-all -l -p \"lint:**\"",
  31. "fix:js": "npm run lint:js -- --fix",
  32. "fix:prettier": "npm run lint:prettier -- --write",
  33. "fix": "npm-run-all -l fix:js fix:prettier",
  34. "test:only": "cross-env NODE_ENV=test jest",
  35. "test:watch": "npm run test:only -- --watch",
  36. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  37. "pretest": "npm run lint",
  38. "test": "npm run test:coverage",
  39. "prepare": "husky install && npm run build",
  40. "release": "standard-version"
  41. },
  42. "files": [
  43. "dist"
  44. ],
  45. "peerDependencies": {
  46. "@rspack/core": "0.x || 1.x",
  47. "webpack": "^5.0.0"
  48. },
  49. "peerDependenciesMeta": {
  50. "@rspack/core": {
  51. "optional": true
  52. },
  53. "webpack": {
  54. "optional": true
  55. }
  56. },
  57. "dependencies": {
  58. "icss-utils": "^5.1.0",
  59. "postcss": "^8.4.33",
  60. "postcss-modules-extract-imports": "^3.1.0",
  61. "postcss-modules-local-by-default": "^4.0.5",
  62. "postcss-modules-scope": "^3.2.0",
  63. "postcss-modules-values": "^4.0.0",
  64. "postcss-value-parser": "^4.2.0",
  65. "semver": "^7.5.4"
  66. },
  67. "devDependencies": {
  68. "@babel/cli": "^7.23.4",
  69. "@babel/core": "^7.23.7",
  70. "@babel/preset-env": "^7.23.7",
  71. "@commitlint/cli": "^16.3.0",
  72. "@commitlint/config-conventional": "^16.2.4",
  73. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  74. "babel-jest": "^28.1.3",
  75. "cross-env": "^7.0.3",
  76. "cspell": "^6.31.2",
  77. "del": "^6.1.1",
  78. "del-cli": "^4.0.1",
  79. "es-check": "^7.1.0",
  80. "eslint": "^8.54.0",
  81. "eslint-config-prettier": "^8.9.0",
  82. "eslint-plugin-import": "^2.29.0",
  83. "file-loader": "^6.2.0",
  84. "husky": "^7.0.1",
  85. "jest": "^28.1.3",
  86. "jest-environment-jsdom": "^28.1.3",
  87. "less": "^4.2.0",
  88. "less-loader": "^10.0.1",
  89. "lint-staged": "^12.5.0",
  90. "memfs": "^3.5.3",
  91. "mini-css-extract-plugin": "^2.7.5",
  92. "npm-run-all": "^4.1.5",
  93. "postcss-loader": "^6.2.1",
  94. "postcss-preset-env": "^7.8.3",
  95. "prettier": "^2.8.7",
  96. "sass": "^1.69.7",
  97. "sass-loader": "^12.6.0",
  98. "standard-version": "^9.5.0",
  99. "strip-ansi": "^6.0.0",
  100. "style-loader": "^3.3.2",
  101. "stylus": "^0.59.0",
  102. "stylus-loader": "^6.1.0",
  103. "url-loader": "^4.1.1",
  104. "webpack": "^5.89.0"
  105. },
  106. "keywords": [
  107. "webpack",
  108. "css",
  109. "loader",
  110. "url",
  111. "import"
  112. ]
  113. }