UNPKG

load-pkg

Version:

Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.

79 lines (78 loc) 1.4 kB
{ "name": "load-pkg", "description": "Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.", "version": "4.0.0", "homepage": "https://github.com/jonschlinkert/load-pkg", "author": "Jon Schlinkert (https://github.com/jonschlinkert)", "repository": "jonschlinkert/load-pkg", "bugs": { "url": "https://github.com/jonschlinkert/load-pkg/issues" }, "license": "MIT", "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=8" }, "scripts": { "test": "mocha" }, "dependencies": { "find-pkg": "^2.0.0" }, "devDependencies": { "gulp-format-md": "^1.0.0", "mocha": "^5.2.0" }, "keywords": [ "config", "dir", "directory", "file", "find", "find-up", "findup", "findup-sync", "folder", "json", "load", "look", "look-up", "match", "package", "package-json", "parent", "parents", "parse", "path", "pkg", "read", "resolve", "search", "up", "walk", "walking" ], "verb": { "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "cwd", "find-pkg", "look-up" ] }, "lint": { "reflinks": true } } }