get-dep-tree
Version:
Use npm's Arborist to get a dependency tree for a package.
93 lines (92 loc) • 2.38 kB
JSON
{
"name": "get-dep-tree",
"version": "3.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",
"prelint": "evalmd README.md",
"lint": "eslint .",
"postlint": "tsc && attw -P",
"pretest": "npm run lint",
"tests-only": "nyc tape 'test/**/*.js'",
"test": "npm run tests-only",
"posttest": "npx npm@'>= 10.2' audit --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": "^9.1.9",
"array.prototype.flat": "^1.3.3",
"lockfile-info": "^1.1.0",
"pacote": "^21.0.4"
},
"engines": {
"node": "^22.21 || ^24.12 || >= 25.2"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@ljharb/eslint-config": "^22.1.3",
"@ljharb/tsconfig": "^0.3.2",
"@types/array.prototype.flat": "^1.2.5",
"@types/node": "^25.0.3",
"@types/sinon-sandbox": "^2.0.4",
"@types/tape": "^5.8.1",
"auto-changelog": "^2.5.0",
"encoding": "^0.1.13",
"eslint": "^9.39.2",
"evalmd": "^0.0.19",
"npmignore": "^0.3.2",
"nyc": "^17.1.0",
"safe-publish-latest": "^2.0.0",
"sinon-sandbox": "^2.0.6",
"tape": "^5.9.0",
"typescript": "next"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
},
"publishConfig": {
"ignore": [
".github/workflows",
".nycrc",
"eslint.config.mjs",
"test"
]
}
}