package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "less-loader",
  3. "version": "5.0.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. "main": "dist/cjs.js",
  11. "engines": {
  12. "node": ">= 4.8.0"
  13. },
  14. "scripts": {
  15. "start": "npm run build -- -w",
  16. "prebuild": "npm run clean",
  17. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  18. "build:fixtures": "babel-node test/helpers/createSpec.js",
  19. "clean": "del-cli dist",
  20. "commitlint": "commitlint --from=master",
  21. "lint": "eslint --cache src test",
  22. "prepare": "npm run build",
  23. "release": "standard-version",
  24. "security": "npm audit",
  25. "test:only": "cross-env NODE_ENV=test npm run build:fixtures && jest",
  26. "test:watch": "cross-env NODE_ENV=test npm run build:fixtures && jest --watch",
  27. "test:coverage": "cross-env NODE_ENV=test npm run build:fixtures && jest --collectCoverageFrom='src/**/*.js' --coverage",
  28. "pretest": "npm run lint",
  29. "test": "cross-env NODE_ENV=test npm run test:coverage",
  30. "defaults": "webpack-defaults"
  31. },
  32. "files": [
  33. "dist"
  34. ],
  35. "peerDependencies": {
  36. "less": "^2.3.1 || ^3.0.0",
  37. "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0"
  38. },
  39. "dependencies": {
  40. "clone": "^2.1.1",
  41. "loader-utils": "^1.1.0",
  42. "pify": "^4.0.1"
  43. },
  44. "devDependencies": {
  45. "@babel/cli": "^7.4.4",
  46. "@babel/core": "^7.4.4",
  47. "@babel/node": "^7.2.2",
  48. "@babel/preset-env": "^7.4.4",
  49. "@commitlint/cli": "^7.5.2",
  50. "@commitlint/config-conventional": "^7.5.0",
  51. "@webpack-contrib/defaults": "^4.0.1",
  52. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  53. "babel-jest": "^24.7.1",
  54. "commitlint-azure-pipelines-cli": "^1.0.1",
  55. "cross-env": "^5.2.0",
  56. "del": "^4.1.1",
  57. "del-cli": "^1.1.0",
  58. "eslint": "^5.16.0",
  59. "eslint-plugin-import": "^2.17.2",
  60. "eslint-plugin-prettier": "^3.0.1",
  61. "husky": "^2.1.0",
  62. "inspect-loader": "^1.0.0",
  63. "jest": "^24.7.1",
  64. "jest-junit": "^6.3.0",
  65. "less": "^3.9.0",
  66. "lint-staged": "^8.1.5",
  67. "memory-fs": "^0.4.1",
  68. "prettier": "^1.17.0",
  69. "standard-version": "^5.0.2",
  70. "webpack": "^4.30.0"
  71. },
  72. "keywords": [
  73. "webpack",
  74. "loader",
  75. "less",
  76. "lesscss",
  77. "less.js",
  78. "css",
  79. "preprocessor"
  80. ]
  81. }