package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "resolve",
  3. "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
  4. "version": "1.22.1",
  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",
  21. "prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:",
  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.0.0",
  34. "array.prototype.map": "^1.0.4",
  35. "aud": "^2.0.0",
  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.0",
  47. "tap": "0.4.13",
  48. "tape": "^5.5.3",
  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.9.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. ]
  70. }
  71. }