Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

package.json 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "resolve-package",
  3. "version": "1.0.1",
  4. "description": "Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested [global-modules][] package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some package - path to its entry point, its main export",
  5. "repository": "tunnckoCore/resolve-package",
  6. "author": "Charlike Mike Reagent <@tunnckoCore> (http://i.am.charlike.online)",
  7. "precommit.silent": true,
  8. "main": "index.js",
  9. "license": "MIT",
  10. "scripts": {
  11. "lint": "standard --verbose",
  12. "pretest": "npm run lint",
  13. "test": "npm run coverage",
  14. "posttest": "npm run lint:coverage",
  15. "coverage": "nyc node test.js",
  16. "lint:coverage": "nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100",
  17. "report-coverage": "nyc report --reporter=text-lcov | coveralls",
  18. "prerelease": "npm test",
  19. "release": "standard-version --sign --no-verify",
  20. "precommit": "git add --all",
  21. "commit": "git-cz"
  22. },
  23. "dependencies": {
  24. "get-installed-path": "^2.0.3"
  25. },
  26. "devDependencies": {
  27. "commitizen": "^2.8.6",
  28. "coveralls": "^2.11.15",
  29. "cz-conventional-changelog": "^1.2.0",
  30. "mkdirp": "^0.5.1",
  31. "mukla": "^0.4.8",
  32. "nyc": "^10.0.0",
  33. "pre-commit": "^1.2.2",
  34. "rimraf": "^2.5.4",
  35. "standard": "^8.6.0",
  36. "standard-version": "^4.0.0"
  37. },
  38. "files": [
  39. "index.js"
  40. ],
  41. "keywords": [
  42. "file",
  43. "filepath",
  44. "fs",
  45. "get",
  46. "global",
  47. "globally",
  48. "install",
  49. "installed",
  50. "local",
  51. "module",
  52. "modules",
  53. "node",
  54. "nodemodules",
  55. "packages",
  56. "path",
  57. "pkg",
  58. "require",
  59. "resolve",
  60. "resolves"
  61. ],
  62. "config": {
  63. "commitizen": {
  64. "path": "./node_modules/cz-conventional-changelog"
  65. }
  66. },
  67. "engines": {
  68. "node": ">=4",
  69. "npm": ">=2"
  70. },
  71. "verb": {
  72. "run": true,
  73. "toc": {
  74. "render": true,
  75. "method": "preWrite",
  76. "maxdepth": 3,
  77. "footer": ""
  78. },
  79. "layout": "empty",
  80. "tasks": [
  81. "readme"
  82. ],
  83. "related": {
  84. "list": [
  85. "always-done",
  86. "minibase",
  87. "try-catch-core",
  88. "global-prefix",
  89. "global-modules",
  90. "global-paths",
  91. "get-installed-path",
  92. "is-installed",
  93. "detect-installed",
  94. "mukla",
  95. "each-promise"
  96. ],
  97. "highlight": "always-done"
  98. },
  99. "reflinks": [
  100. "always-done",
  101. "async-done",
  102. "base",
  103. "charlike",
  104. "commitizen",
  105. "detect-installed",
  106. "dezalgo",
  107. "generate",
  108. "get-installed-path",
  109. "gulp",
  110. "is-installed",
  111. "once",
  112. "resolve",
  113. "resolve-from",
  114. "resolve-module",
  115. "resolve-pkg",
  116. "standard-version",
  117. "verb",
  118. "verb-generate-readme",
  119. "global-modules",
  120. "global-prefix"
  121. ],
  122. "lint": {
  123. "reflinks": true
  124. }
  125. }
  126. }