package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "enhanced-resolve",
  3. "version": "5.10.0",
  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. "pnpapi": false,
  13. "process": "./lib/util/process-browser.js"
  14. },
  15. "dependencies": {
  16. "graceful-fs": "^4.2.4",
  17. "tapable": "^2.2.0"
  18. },
  19. "license": "MIT",
  20. "devDependencies": {
  21. "@types/mocha": "^8.0.3",
  22. "@types/node": "^14.11.1",
  23. "cspell": "4.2.8",
  24. "eslint": "^7.9.0",
  25. "eslint-config-prettier": "^6.11.0",
  26. "eslint-plugin-jsdoc": "^30.5.1",
  27. "eslint-plugin-node": "^11.1.0",
  28. "eslint-plugin-prettier": "^3.1.4",
  29. "husky": "^6.0.0",
  30. "lint-staged": "^10.4.0",
  31. "memfs": "^3.2.0",
  32. "mocha": "^8.1.3",
  33. "nyc": "^15.1.0",
  34. "prettier": "^2.1.2",
  35. "should": "^13.2.3",
  36. "tooling": "webpack/tooling#v1.14.0",
  37. "typescript": "^4.2.0-beta"
  38. },
  39. "engines": {
  40. "node": ">=10.13.0"
  41. },
  42. "main": "lib/index.js",
  43. "types": "types.d.ts",
  44. "homepage": "http://github.com/webpack/enhanced-resolve",
  45. "scripts": {
  46. "lint": "yarn run code-lint && yarn run type-lint && yarn run special-lint && yarn run spelling",
  47. "fix": "yarn run code-lint-fix && yarn run special-lint-fix",
  48. "code-lint": "eslint --cache lib test",
  49. "code-lint-fix": "eslint --cache lib test --fix",
  50. "type-lint": "tsc",
  51. "special-lint": "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",
  52. "special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/generate-types --write",
  53. "pretty": "prettier --loglevel warn --write \"lib/**/*.{js,json}\" \"test/*.js\"",
  54. "pretest": "yarn lint",
  55. "spelling": "cspell \"**/*.*\"",
  56. "test": "mocha --full-trace --check-leaks",
  57. "test:only": "mocha --full-trace --check-leaks",
  58. "precover": "yarn lint",
  59. "cover": "nyc --reporter=html node node_modules/mocha/bin/_mocha --full-trace --check-leaks",
  60. "cover:ci": "nyc --reporter=lcovonly node node_modules/mocha/bin/_mocha --full-trace --check-leaks",
  61. "prepare": "husky install"
  62. },
  63. "lint-staged": {
  64. "*.js": "eslint --cache"
  65. },
  66. "repository": {
  67. "type": "git",
  68. "url": "git://github.com/webpack/enhanced-resolve.git"
  69. }
  70. }