package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "name": "css-loader",
  3. "version": "7.1.2",
  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": ">= 18.12.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 --cache --list-different .",
  28. "lint:js": "eslint --cache .",
  29. "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
  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 && 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.27.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.24.5",
  69. "@babel/core": "^7.24.5",
  70. "@babel/preset-env": "^7.24.5",
  71. "@commitlint/cli": "^19.3.0",
  72. "@commitlint/config-conventional": "^19.2.2",
  73. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  74. "babel-jest": "^29.7.0",
  75. "cross-env": "^7.0.3",
  76. "cspell": "^8.7.0",
  77. "del-cli": "^5.1.0",
  78. "es-check": "^7.1.0",
  79. "eslint": "^8.54.0",
  80. "eslint-config-prettier": "^9.1.0",
  81. "eslint-plugin-import": "^2.29.0",
  82. "file-loader": "^6.2.0",
  83. "husky": "^9.0.11",
  84. "jest": "^29.7.0",
  85. "jest-environment-jsdom": "^29.7.0",
  86. "less": "^4.2.0",
  87. "less-loader": "^12.2.0",
  88. "lint-staged": "^15.2.2",
  89. "memfs": "^4.9.2",
  90. "mini-css-extract-plugin": "^2.9.0",
  91. "npm-run-all": "^4.1.5",
  92. "postcss-loader": "^8.1.1",
  93. "postcss-preset-env": "^9.5.9",
  94. "prettier": "^3.2.5",
  95. "sass": "^1.76.0",
  96. "sass-loader": "^14.2.1",
  97. "standard-version": "^9.5.0",
  98. "strip-ansi": "^6.0.0",
  99. "style-loader": "^3.3.4",
  100. "stylus": "^0.63.0",
  101. "stylus-loader": "^8.1.0",
  102. "url-loader": "^4.1.1",
  103. "webpack": "^5.89.0"
  104. },
  105. "keywords": [
  106. "webpack",
  107. "css",
  108. "loader",
  109. "url",
  110. "import"
  111. ]
  112. }