package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "less-loader",
  3. "version": "4.1.0",
  4. "author": "Johannes Ewald @jhnns",
  5. "description": "Less loader for webpack. Compiles Less to CSS.",
  6. "license": "MIT",
  7. "engines": {
  8. "node": ">= 4.8 < 5.0.0 || >= 5.10"
  9. },
  10. "main": "dist/cjs.js",
  11. "files": [
  12. "dist"
  13. ],
  14. "scripts": {
  15. "start": "npm run build -- -w",
  16. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  17. "clean": "del-cli dist",
  18. "create-spec": "babel-node test/helpers/createSpec.js",
  19. "lint": "eslint --cache src test",
  20. "pretest": "npm run create-spec",
  21. "test": "jest",
  22. "posttest": "npm run lint",
  23. "lint-staged": "lint-staged",
  24. "prebuild": "npm run clean",
  25. "prepare": "npm run build",
  26. "release": "standard-version",
  27. "security": "nsp check",
  28. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  29. "travis:lint": "npm run lint && npm run security",
  30. "travis:test": "npm run test -- --runInBand",
  31. "pretravis:coverage": "npm run pretest",
  32. "travis:coverage": "npm run test:coverage -- --runInBand",
  33. "appveyor:test": "npm run test",
  34. "defaults": "webpack-defaults"
  35. },
  36. "dependencies": {
  37. "clone": "^2.1.1",
  38. "loader-utils": "^1.1.0",
  39. "pify": "^3.0.0"
  40. },
  41. "peerDependencies": {
  42. "less": "^2.3.1 || ^3.0.0",
  43. "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0"
  44. },
  45. "devDependencies": {
  46. "babel-cli": "^6.24.0",
  47. "babel-jest": "^21.2.0",
  48. "babel-plugin-transform-object-rest-spread": "^6.23.0",
  49. "babel-polyfill": "^6.23.0",
  50. "babel-preset-env": "^1.6.0",
  51. "cross-env": "^3.2.4",
  52. "del-cli": "^0.2.1",
  53. "eslint": "^3.18.0",
  54. "eslint-config-webpack": "^1.2.1",
  55. "eslint-plugin-import": "^2.2.0",
  56. "inspect-loader": "^1.0.0",
  57. "jest": "^21.2.1",
  58. "less": "^3.0.1",
  59. "lint-staged": "^3.4.0",
  60. "nsp": "^2.6.3",
  61. "pre-commit": "^1.2.2",
  62. "standard-version": "^4.0.0",
  63. "webpack": "^3.0.0",
  64. "webpack-defaults": "^1.6.0"
  65. },
  66. "repository": "https://github.com/webpack-contrib/less-loader.git",
  67. "bugs": "https://github.com/webpack-contrib/less-loader/issues",
  68. "homepage": "https://github.com/webpack-contrib/less-loader",
  69. "pre-commit": "lint-staged",
  70. "lint-staged": {
  71. "*.js": [
  72. "eslint --fix",
  73. "git add"
  74. ]
  75. }
  76. }