package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "resolve",
  3. "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
  4. "version": "1.22.8",
  5. "repository": {
  6. "type": "git",
  7. "url": "git://github.com/browserify/resolve.git"
  8. },
  9. "bin": {
  10. "resolve": "./bin/resolve"
  11. },
  12. "main": "index.js",
  13. "keywords": [
  14. "resolve",
  15. "require",
  16. "node",
  17. "module"
  18. ],
  19. "scripts": {
  20. "prepack": "npmignore --auto --commentLines=autogenerated && cp node_modules/is-core-module/core.json ./lib/ ||:",
  21. "prepublishOnly": "safe-publish-latest",
  22. "prepublish": "not-in-publish || npm run prepublishOnly",
  23. "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
  24. "lint": "eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**'",
  25. "pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async",
  26. "tests-only": "tape test/*.js",
  27. "pretest": "npm run lint",
  28. "test": "npm run --silent tests-only",
  29. "posttest": "npm run test:multirepo && aud --production",
  30. "test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test"
  31. },
  32. "devDependencies": {
  33. "@ljharb/eslint-config": "^21.1.0",
  34. "array.prototype.map": "^1.0.6",
  35. "aud": "^2.0.3",
  36. "copy-dir": "^1.3.0",
  37. "eclint": "^2.8.1",
  38. "eslint": "=8.8.0",
  39. "in-publish": "^2.0.1",
  40. "mkdirp": "^0.5.5",
  41. "mv": "^2.1.1",
  42. "npmignore": "^0.3.0",
  43. "object-keys": "^1.1.1",
  44. "rimraf": "^2.7.1",
  45. "safe-publish-latest": "^2.0.0",
  46. "semver": "^6.3.1",
  47. "tap": "0.4.13",
  48. "tape": "^5.7.0",
  49. "tmp": "^0.0.31"
  50. },
  51. "license": "MIT",
  52. "author": {
  53. "name": "James Halliday",
  54. "email": "mail@substack.net",
  55. "url": "http://substack.net"
  56. },
  57. "funding": {
  58. "url": "https://github.com/sponsors/ljharb"
  59. },
  60. "dependencies": {
  61. "is-core-module": "^2.13.0",
  62. "path-parse": "^1.0.7",
  63. "supports-preserve-symlinks-flag": "^1.0.0"
  64. },
  65. "publishConfig": {
  66. "ignore": [
  67. ".github/workflows",
  68. "appveyor.yml",
  69. "test/resolver/malformed_package_json"
  70. ]
  71. }
  72. }