package.json 2.9 KB

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