UNPKG

get-dep-tree

Version:

Use npm's Arborist to get a dependency tree for a package.

83 lines (82 loc) 2.09 kB
{ "name": "get-dep-tree", "version": "2.0.0", "description": "Use npm's Arborist to get a dependency tree for a package.", "main": "index.js", "exports": { ".": "./index.js", "./package.json": "./package.json" }, "sideEffects": false, "scripts": { "prepack": "npmignore --auto --commentLines=auto", "prepublish": "not-in-publish || npm run prepublishOnly", "prepublishOnly": "safe-publish-latest", "lint": "eslint --ext=js,mjs .", "postlint": "evalmd README.md", "pretest": "npm run lint", "tests-only": "nyc tape 'test/**/*.js'", "test": "npm run tests-only", "posttest": "aud --production", "version": "auto-changelog && git add CHANGELOG.md", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" }, "repository": { "type": "git", "url": "git+https://github.com/ljharb/get-dep-tree.git" }, "keywords": [ "npm", "tree", "virtual", "ideal", "actual", "dependency", "lockfile", "arborist" ], "author": "Jordan Harband <ljharb@gmail.com>", "funding": { "url": "https://github.com/sponsors/ljharb" }, "license": "MIT", "bugs": { "url": "https://github.com/ljharb/get-dep-tree/issues" }, "homepage": "https://github.com/ljharb/get-dep-tree#readme", "dependencies": { "@npmcli/arborist": "^6.5.1", "array.prototype.flat": "^1.3.2", "colors": "=1.4.0", "lockfile-info": "^1.0.0", "pacote": "^15.2.0" }, "engines": { "node": ">= 19 || ^18 || ^16.13 || ^14.18" }, "devDependencies": { "@ljharb/eslint-config": "^21.1.1", "aud": "^2.0.5", "auto-changelog": "^2.4.0", "eslint": "=8.8.0", "evalmd": "^0.0.19", "npmignore": "^0.3.1", "nyc": "^15.1.0", "safe-publish-latest": "^2.0.0", "sinon-sandbox": "^2.0.6", "tape": "^5.8.1" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true }, "publishConfig": { "ignore": [ ".github/workflows" ] } }