package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "less-loader",
  3. "version": "11.1.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": ">= 14.15.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 --list-different .",
  26. "lint:js": "eslint --cache .",
  27. "lint": "npm-run-all -l -p \"lint:**\"",
  28. "test:only": "cross-env NODE_ENV=test jest",
  29. "test:watch": "npm run test:only -- --watch",
  30. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  31. "pretest": "npm run lint",
  32. "test": "npm run test:coverage",
  33. "prepare": "husky install && npm run build",
  34. "release": "standard-version"
  35. },
  36. "files": [
  37. "dist"
  38. ],
  39. "peerDependencies": {
  40. "less": "^3.5.0 || ^4.0.0",
  41. "webpack": "^5.0.0"
  42. },
  43. "dependencies": {
  44. "klona": "^2.0.4"
  45. },
  46. "devDependencies": {
  47. "@babel/cli": "^7.19.3",
  48. "@babel/core": "^7.19.3",
  49. "@babel/preset-env": "^7.19.3",
  50. "@commitlint/cli": "^17.1.2",
  51. "@commitlint/config-conventional": "^17.1.0",
  52. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  53. "babel-jest": "^29.1.2",
  54. "cross-env": "^7.0.3",
  55. "del": "^6.1.1",
  56. "del-cli": "^4.0.1",
  57. "eslint": "^8.24.0",
  58. "eslint-config-prettier": "^8.3.0",
  59. "eslint-plugin-import": "^2.24.1",
  60. "husky": "^8.0.1",
  61. "jest": "^29.1.2",
  62. "less": "^4.1.3",
  63. "less-plugin-glob": "^2.0.2",
  64. "lint-staged": "^12.5.0",
  65. "memfs": "^3.4.7",
  66. "npm-run-all": "^4.1.5",
  67. "prettier": "^2.7.1",
  68. "standard-version": "^9.3.1",
  69. "strip-ansi": "^7.0.0",
  70. "webpack": "^5.74.0"
  71. },
  72. "keywords": [
  73. "webpack",
  74. "loader",
  75. "less",
  76. "lesscss",
  77. "less.js",
  78. "css",
  79. "preprocessor"
  80. ]
  81. }