package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "file-loader",
  3. "version": "6.2.0",
  4. "description": "A file loader module for webpack",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/file-loader",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/file-loader",
  9. "bugs": "https://github.com/webpack-contrib/file-loader/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/cjs.js",
  15. "engines": {
  16. "node": ">= 10.13.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",
  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": "npm run build",
  34. "release": "standard-version",
  35. "defaults": "webpack-defaults"
  36. },
  37. "files": [
  38. "dist"
  39. ],
  40. "peerDependencies": {
  41. "webpack": "^4.0.0 || ^5.0.0"
  42. },
  43. "dependencies": {
  44. "loader-utils": "^2.0.0",
  45. "schema-utils": "^3.0.0"
  46. },
  47. "devDependencies": {
  48. "@babel/cli": "^7.11.6",
  49. "@babel/core": "^7.11.6",
  50. "@babel/preset-env": "^7.11.5",
  51. "@commitlint/cli": "^11.0.0",
  52. "@commitlint/config-conventional": "^11.0.0",
  53. "@webpack-contrib/defaults": "^6.3.0",
  54. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  55. "babel-jest": "^26.5.2",
  56. "cross-env": "^7.0.2",
  57. "del": "^6.0.0",
  58. "del-cli": "^3.0.1",
  59. "eslint": "^7.10.0",
  60. "eslint-config-prettier": "^6.12.0",
  61. "eslint-plugin-import": "^2.22.1",
  62. "husky": "^4.3.0",
  63. "jest": "^26.5.2",
  64. "lint-staged": "^10.4.0",
  65. "memfs": "^3.2.0",
  66. "npm-run-all": "^4.1.5",
  67. "prettier": "^2.1.2",
  68. "standard-version": "^9.0.0",
  69. "url-loader": "^4.1.0",
  70. "webpack": "^4.44.2"
  71. },
  72. "keywords": [
  73. "webpack"
  74. ]
  75. }