package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "resolve",
  3. "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
  4. "version": "1.22.0",
  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. "prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:",
  21. "prepublish": "not-in-publish || npm run prepublishOnly",
  22. "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
  23. "lint": "eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**'",
  24. "pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async",
  25. "tests-only": "tape test/*.js",
  26. "pretest": "npm run lint",
  27. "test": "npm run --silent tests-only",
  28. "posttest": "npm run test:multirepo && aud --production",
  29. "test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test"
  30. },
  31. "devDependencies": {
  32. "@ljharb/eslint-config": "^20.2.0",
  33. "array.prototype.map": "^1.0.4",
  34. "aud": "^2.0.0",
  35. "copy-dir": "^1.3.0",
  36. "eclint": "^2.8.1",
  37. "eslint": "^8.7.0",
  38. "in-publish": "^2.0.1",
  39. "mkdirp": "^0.5.5",
  40. "mv": "^2.1.1",
  41. "object-keys": "^1.1.1",
  42. "rimraf": "^2.7.1",
  43. "safe-publish-latest": "^2.0.0",
  44. "tap": "0.4.13",
  45. "tape": "^5.4.1",
  46. "tmp": "^0.0.31"
  47. },
  48. "license": "MIT",
  49. "author": {
  50. "name": "James Halliday",
  51. "email": "mail@substack.net",
  52. "url": "http://substack.net"
  53. },
  54. "funding": {
  55. "url": "https://github.com/sponsors/ljharb"
  56. },
  57. "dependencies": {
  58. "is-core-module": "^2.8.1",
  59. "path-parse": "^1.0.7",
  60. "supports-preserve-symlinks-flag": "^1.0.0"
  61. },
  62. "__npminstall_done": true,
  63. "_from": "resolve@1.22.0",
  64. "_resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.0.tgz"
  65. }