package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "enhanced-resolve",
  3. "version": "5.18.2",
  4. "author": "Tobias Koppers @sokra",
  5. "description": "Offers a async require.resolve function. It's highly configurable.",
  6. "files": [
  7. "lib",
  8. "types.d.ts",
  9. "LICENSE"
  10. ],
  11. "browser": {
  12. "process": "./lib/util/process-browser.js",
  13. "module": "./lib/util/module-browser.js"
  14. },
  15. "dependencies": {
  16. "graceful-fs": "^4.2.4",
  17. "tapable": "^2.2.0"
  18. },
  19. "license": "MIT",
  20. "devDependencies": {
  21. "@eslint/js": ">= 9.28.0",
  22. "@eslint/markdown": ">= 6.5.0",
  23. "@types/graceful-fs": "^4.1.6",
  24. "@types/jest": "^27.5.1",
  25. "@types/node": "^24.0.3",
  26. "@stylistic/eslint-plugin": ">= 4.4.1",
  27. "cspell": "4.2.8",
  28. "eslint": "^9.28.0",
  29. "eslint-config-prettier": "^10.1.5",
  30. "eslint-config-webpack": "^4.1.2",
  31. "eslint-plugin-import": "^2.31.0",
  32. "eslint-plugin-jest": "^29.0.1",
  33. "eslint-plugin-jsdoc": "^51.2.2",
  34. "eslint-plugin-n": "^17.19.0",
  35. "eslint-plugin-prettier": "^5.4.1",
  36. "eslint-plugin-unicorn": "^59.0.1",
  37. "globals": "^16.2.0",
  38. "husky": "^6.0.0",
  39. "jest": "^27.5.1",
  40. "lint-staged": "^10.4.0",
  41. "memfs": "^3.2.0",
  42. "prettier": "^3.5.3",
  43. "prettier-2": "npm:prettier@^2",
  44. "tooling": "webpack/tooling#v1.24.0",
  45. "typescript": "^5.8.3"
  46. },
  47. "engines": {
  48. "node": ">=10.13.0"
  49. },
  50. "main": "lib/index.js",
  51. "types": "types.d.ts",
  52. "homepage": "http://github.com/webpack/enhanced-resolve",
  53. "scripts": {
  54. "prepare": "husky install",
  55. "lint": "yarn lint:code && yarn lint:types && yarn lint:types-test && yarn lint:special && yarn lint:spellcheck",
  56. "lint:code": "eslint --cache .",
  57. "lint:special": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-file-header && node node_modules/tooling/generate-types",
  58. "lint:types": "tsc",
  59. "lint:types-test": "tsc -p tsconfig.types.test.json",
  60. "lint:spellcheck": "cspell --no-must-find-files \"**/*.*\"",
  61. "fmt": "yarn fmt:base --loglevel warn --write",
  62. "fmt:check": "yarn fmt:base --check",
  63. "fmt:base": "prettier --cache --ignore-unknown .",
  64. "fix": "yarn fix:code && yarn fix:special",
  65. "fix:code": "yarn lint:code --fix",
  66. "fix:special": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/generate-types --write",
  67. "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html",
  68. "pretest": "yarn lintqqq",
  69. "test": "yarn test:coverage",
  70. "test:only": "jest",
  71. "test:watch": "yarn test:only --watch",
  72. "test:coverage": "yarn test:only --collectCoverageFrom=\"lib/**/*.js\" --coverage"
  73. },
  74. "lint-staged": {
  75. "*.{js,cjs,mjs}": [
  76. "eslint --cache --fix"
  77. ],
  78. "*": [
  79. "prettier --cache --write --ignore-unknown",
  80. "cspell --cache --no-must-find-files"
  81. ]
  82. },
  83. "repository": {
  84. "type": "git",
  85. "url": "git://github.com/webpack/enhanced-resolve.git"
  86. }
  87. }