package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "css-loader",
  3. "version": "5.2.4",
  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": ">= 10.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",
  27. "lint:prettier": "prettier --list-different .",
  28. "lint:js": "eslint --cache .",
  29. "lint": "npm-run-all -l -p \"lint:**\"",
  30. "test:only": "cross-env NODE_ENV=test jest",
  31. "test:watch": "npm run test:only -- --watch",
  32. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  33. "pretest": "npm run lint",
  34. "test": "npm run test:coverage",
  35. "prepare": "npm run build",
  36. "release": "standard-version"
  37. },
  38. "files": [
  39. "dist"
  40. ],
  41. "peerDependencies": {
  42. "webpack": "^4.27.0 || ^5.0.0"
  43. },
  44. "dependencies": {
  45. "camelcase": "^6.2.0",
  46. "icss-utils": "^5.1.0",
  47. "loader-utils": "^2.0.0",
  48. "postcss": "^8.2.10",
  49. "postcss-modules-extract-imports": "^3.0.0",
  50. "postcss-modules-local-by-default": "^4.0.0",
  51. "postcss-modules-scope": "^3.0.0",
  52. "postcss-modules-values": "^4.0.0",
  53. "postcss-value-parser": "^4.1.0",
  54. "schema-utils": "^3.0.0",
  55. "semver": "^7.3.5"
  56. },
  57. "devDependencies": {
  58. "@babel/cli": "^7.13.14",
  59. "@babel/core": "^7.13.15",
  60. "@babel/preset-env": "^7.13.15",
  61. "@commitlint/cli": "^12.1.1",
  62. "@commitlint/config-conventional": "^12.1.1",
  63. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  64. "babel-jest": "^26.6.3",
  65. "cross-env": "^7.0.3",
  66. "del": "^6.0.0",
  67. "del-cli": "^3.0.1",
  68. "es-check": "^5.2.3",
  69. "eslint": "^7.24.0",
  70. "eslint-config-prettier": "^8.2.0",
  71. "eslint-plugin-import": "^2.22.1",
  72. "file-loader": "^6.2.0",
  73. "husky": "^4.3.8",
  74. "jest": "^26.6.3",
  75. "less": "^4.1.1",
  76. "less-loader": "^7.1.0",
  77. "lint-staged": "^10.5.4",
  78. "memfs": "^3.2.2",
  79. "mini-css-extract-plugin": "^1.4.1",
  80. "npm-run-all": "^4.1.5",
  81. "postcss-loader": "^4.0.4",
  82. "postcss-preset-env": "^6.7.0",
  83. "prettier": "^2.1.2",
  84. "sass": "^1.32.8",
  85. "sass-loader": "^10.1.0",
  86. "standard-version": "^9.2.0",
  87. "strip-ansi": "^6.0.0",
  88. "style-loader": "^2.0.0",
  89. "stylus": "^0.54.8",
  90. "stylus-loader": "^4.3.0",
  91. "url-loader": "^4.1.1",
  92. "webpack": "^5.34.0"
  93. },
  94. "keywords": [
  95. "webpack",
  96. "css",
  97. "loader",
  98. "url",
  99. "import"
  100. ]
  101. }