package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "file-loader",
  3. "version": "4.3.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. "main": "dist/cjs.js",
  11. "engines": {
  12. "node": ">= 8.9.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. "clean": "del-cli dist",
  19. "commitlint": "commitlint --from=master",
  20. "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
  21. "lint:js": "eslint --cache src test",
  22. "lint": "npm-run-all -l -p \"lint:**\"",
  23. "prepare": "npm run build",
  24. "release": "standard-version",
  25. "security": "npm audit",
  26. "test:only": "cross-env NODE_ENV=test jest",
  27. "test:watch": "cross-env NODE_ENV=test jest --watch",
  28. "test:coverage": "cross-env NODE_ENV=test jest --collectCoverageFrom=\"src/**/*.js\" --coverage",
  29. "pretest": "npm run lint",
  30. "test": "cross-env NODE_ENV=test npm run test:coverage",
  31. "defaults": "webpack-defaults"
  32. },
  33. "files": [
  34. "dist"
  35. ],
  36. "peerDependencies": {
  37. "webpack": "^4.0.0"
  38. },
  39. "dependencies": {
  40. "loader-utils": "^1.2.3",
  41. "schema-utils": "^2.5.0"
  42. },
  43. "devDependencies": {
  44. "@babel/cli": "^7.7.0",
  45. "@babel/core": "^7.7.2",
  46. "@babel/preset-env": "^7.7.1",
  47. "@commitlint/cli": "^8.2.0",
  48. "@commitlint/config-conventional": "^8.2.0",
  49. "@webpack-contrib/defaults": "^5.0.2",
  50. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  51. "babel-jest": "^24.9.0",
  52. "commitlint-azure-pipelines-cli": "^1.0.2",
  53. "cross-env": "^6.0.3",
  54. "del": "^5.1.0",
  55. "del-cli": "^3.0.0",
  56. "eslint": "^6.6.0",
  57. "eslint-config-prettier": "^6.7.0",
  58. "eslint-plugin-import": "^2.18.2",
  59. "husky": "^3.1.0",
  60. "jest": "^24.9.0",
  61. "jest-junit": "^9.0.0",
  62. "lint-staged": "^9.4.3",
  63. "memory-fs": "^0.5.0",
  64. "npm-run-all": "^4.1.5",
  65. "prettier": "^1.19.1",
  66. "standard-version": "^7.0.1",
  67. "url-loader": "^2.2.0",
  68. "webpack": "^4.41.2"
  69. },
  70. "keywords": [
  71. "webpack"
  72. ]
  73. }