package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "less-loader",
  3. "version": "12.2.0",
  4. "description": "A Less loader for webpack. Compiles Less to CSS.",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/less-loader",
  7. "author": "Johannes Ewald @jhnns",
  8. "homepage": "https://github.com/webpack-contrib/less-loader",
  9. "bugs": "https://github.com/webpack-contrib/less-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. "prebuild": "npm run clean",
  22. "build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  23. "commitlint": "commitlint --from=master",
  24. "security": "npm audit --production",
  25. "lint:prettier": "prettier --cache --list-different .",
  26. "lint:js": "eslint --cache .",
  27. "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
  28. "lint": "npm-run-all -l -p \"lint:**\"",
  29. "fix:js": "npm run lint:js -- --fix",
  30. "fix:prettier": "npm run lint:prettier -- --write",
  31. "fix": "npm-run-all -l fix:js fix:prettier",
  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. ],
  43. "peerDependencies": {
  44. "@rspack/core": "0.x || 1.x",
  45. "less": "^3.5.0 || ^4.0.0",
  46. "webpack": "^5.0.0"
  47. },
  48. "peerDependenciesMeta": {
  49. "@rspack/core": {
  50. "optional": true
  51. },
  52. "webpack": {
  53. "optional": true
  54. }
  55. },
  56. "devDependencies": {
  57. "@babel/cli": "^7.23.4",
  58. "@babel/core": "^7.23.7",
  59. "@babel/preset-env": "^7.23.7",
  60. "@commitlint/cli": "^18.4.4",
  61. "@commitlint/config-conventional": "^18.4.4",
  62. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  63. "babel-jest": "^29.7.0",
  64. "cross-env": "^7.0.3",
  65. "cspell": "^8.3.2",
  66. "del": "^7.1.0",
  67. "del-cli": "^5.1.0",
  68. "eslint": "^8.56.0",
  69. "eslint-config-prettier": "^9.1.0",
  70. "eslint-plugin-import": "^2.29.1",
  71. "husky": "^8.0.3",
  72. "jest": "^29.7.0",
  73. "less": "^4.2.0",
  74. "less-plugin-glob": "^3.0.0",
  75. "lint-staged": "^15.2.0",
  76. "memfs": "^4.6.0",
  77. "npm-run-all": "^4.1.5",
  78. "prettier": "^3.2.2",
  79. "standard-version": "^9.3.1",
  80. "strip-ansi": "^7.1.0",
  81. "webpack": "^5.89.0"
  82. },
  83. "keywords": [
  84. "webpack",
  85. "loader",
  86. "less",
  87. "lesscss",
  88. "less.js",
  89. "css",
  90. "preprocessor"
  91. ]
  92. }