package.json 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "css-loader",
  3. "version": "6.5.1",
  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": "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": "husky install && npm run build",
  36. "release": "standard-version"
  37. },
  38. "files": [
  39. "dist"
  40. ],
  41. "peerDependencies": {
  42. "webpack": "^5.0.0"
  43. },
  44. "dependencies": {
  45. "icss-utils": "^5.1.0",
  46. "postcss": "^8.2.15",
  47. "postcss-modules-extract-imports": "^3.0.0",
  48. "postcss-modules-local-by-default": "^4.0.0",
  49. "postcss-modules-scope": "^3.0.0",
  50. "postcss-modules-values": "^4.0.0",
  51. "postcss-value-parser": "^4.1.0",
  52. "semver": "^7.3.5"
  53. },
  54. "devDependencies": {
  55. "@babel/cli": "^7.14.5",
  56. "@babel/core": "^7.14.6",
  57. "@babel/preset-env": "^7.14.7",
  58. "@commitlint/cli": "^14.1.0",
  59. "@commitlint/config-conventional": "^14.1.0",
  60. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  61. "babel-jest": "^27.0.6",
  62. "cross-env": "^7.0.3",
  63. "del": "^6.0.0",
  64. "del-cli": "^4.0.1",
  65. "es-check": "^6.0.0",
  66. "eslint": "^8.1.0",
  67. "eslint-config-prettier": "^8.3.0",
  68. "eslint-plugin-import": "^2.23.4",
  69. "file-loader": "^6.2.0",
  70. "husky": "^7.0.1",
  71. "jest": "^27.0.6",
  72. "less": "^4.1.1",
  73. "less-loader": "^10.0.1",
  74. "lint-staged": "^11.0.1",
  75. "memfs": "^3.2.2",
  76. "mini-css-extract-plugin": "^2.1.0",
  77. "npm-run-all": "^4.1.5",
  78. "postcss-loader": "^6.1.1",
  79. "postcss-preset-env": "^6.7.0",
  80. "prettier": "^2.3.2",
  81. "sass": "^1.35.2",
  82. "sass-loader": "^12.1.0",
  83. "standard-version": "^9.3.1",
  84. "strip-ansi": "^6.0.0",
  85. "style-loader": "^3.1.0",
  86. "stylus": "^0.55.0",
  87. "stylus-loader": "^6.1.0",
  88. "url-loader": "^4.1.1",
  89. "webpack": "^5.45.1"
  90. },
  91. "keywords": [
  92. "webpack",
  93. "css",
  94. "loader",
  95. "url",
  96. "import"
  97. ]
  98. }