{ "name": "resolve-package", "version": "1.0.1", "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", "repository": "tunnckoCore/resolve-package", "author": "Charlike Mike Reagent <@tunnckoCore> (http://i.am.charlike.online)", "precommit.silent": true, "main": "index.js", "license": "MIT", "scripts": { "lint": "standard --verbose", "pretest": "npm run lint", "test": "npm run coverage", "posttest": "npm run lint:coverage", "coverage": "nyc node test.js", "lint:coverage": "nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100", "report-coverage": "nyc report --reporter=text-lcov | coveralls", "prerelease": "npm test", "release": "standard-version --sign --no-verify", "precommit": "git add --all", "commit": "git-cz" }, "dependencies": { "get-installed-path": "^2.0.3" }, "devDependencies": { "commitizen": "^2.8.6", "coveralls": "^2.11.15", "cz-conventional-changelog": "^1.2.0", "mkdirp": "^0.5.1", "mukla": "^0.4.8", "nyc": "^10.0.0", "pre-commit": "^1.2.2", "rimraf": "^2.5.4", "standard": "^8.6.0", "standard-version": "^4.0.0" }, "files": [ "index.js" ], "keywords": [ "file", "filepath", "fs", "get", "global", "globally", "install", "installed", "local", "module", "modules", "node", "nodemodules", "packages", "path", "pkg", "require", "resolve", "resolves" ], "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "engines": { "node": ">=4", "npm": ">=2" }, "verb": { "run": true, "toc": { "render": true, "method": "preWrite", "maxdepth": 3, "footer": "" }, "layout": "empty", "tasks": [ "readme" ], "related": { "list": [ "always-done", "minibase", "try-catch-core", "global-prefix", "global-modules", "global-paths", "get-installed-path", "is-installed", "detect-installed", "mukla", "each-promise" ], "highlight": "always-done" }, "reflinks": [ "always-done", "async-done", "base", "charlike", "commitizen", "detect-installed", "dezalgo", "generate", "get-installed-path", "gulp", "is-installed", "once", "resolve", "resolve-from", "resolve-module", "resolve-pkg", "standard-version", "verb", "verb-generate-readme", "global-modules", "global-prefix" ], "lint": { "reflinks": true } } }