mirror of https://gitee.com/openkylin/npm.git
265 lines
6.3 KiB
JSON
265 lines
6.3 KiB
JSON
|
{
|
||
|
"version": "8.5.1",
|
||
|
"name": "npm",
|
||
|
"description": "a package manager for JavaScript",
|
||
|
"workspaces": [
|
||
|
"docs",
|
||
|
"workspaces/*"
|
||
|
],
|
||
|
"files": [
|
||
|
"index.js",
|
||
|
"bin",
|
||
|
"docs/content/**/*.md",
|
||
|
"docs/output/**/*.html",
|
||
|
"lib",
|
||
|
"man"
|
||
|
],
|
||
|
"keywords": [
|
||
|
"install",
|
||
|
"modules",
|
||
|
"package manager",
|
||
|
"package.json"
|
||
|
],
|
||
|
"preferGlobal": true,
|
||
|
"config": {
|
||
|
"publishtest": false
|
||
|
},
|
||
|
"homepage": "https://docs.npmjs.com/",
|
||
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/npm/cli"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/npm/cli/issues"
|
||
|
},
|
||
|
"directories": {
|
||
|
"bin": "./bin",
|
||
|
"doc": "./doc",
|
||
|
"lib": "./lib",
|
||
|
"man": "./man"
|
||
|
},
|
||
|
"main": "./index.js",
|
||
|
"bin": {
|
||
|
"npm": "bin/npm-cli.js",
|
||
|
"npx": "bin/npx-cli.js"
|
||
|
},
|
||
|
"exports": {
|
||
|
".": [
|
||
|
{
|
||
|
"default": "./index.js"
|
||
|
},
|
||
|
"./index.js"
|
||
|
],
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@isaacs/string-locale-compare": "^1.1.0",
|
||
|
"@npmcli/arborist": "^4.3.1",
|
||
|
"@npmcli/ci-detect": "^2.0.0",
|
||
|
"@npmcli/config": "^3.0.0",
|
||
|
"@npmcli/map-workspaces": "^2.0.0",
|
||
|
"@npmcli/package-json": "^1.0.1",
|
||
|
"@npmcli/run-script": "^2.0.0",
|
||
|
"abbrev": "~1.1.1",
|
||
|
"ansicolors": "~0.3.2",
|
||
|
"ansistyles": "~0.1.3",
|
||
|
"archy": "~1.0.0",
|
||
|
"cacache": "^15.3.0",
|
||
|
"chalk": "^4.1.2",
|
||
|
"chownr": "^2.0.0",
|
||
|
"cli-columns": "^4.0.0",
|
||
|
"cli-table3": "^0.6.1",
|
||
|
"columnify": "~1.5.4",
|
||
|
"fastest-levenshtein": "^1.0.12",
|
||
|
"glob": "^7.2.0",
|
||
|
"graceful-fs": "^4.2.9",
|
||
|
"hosted-git-info": "^4.1.0",
|
||
|
"ini": "^2.0.0",
|
||
|
"init-package-json": "^2.0.5",
|
||
|
"is-cidr": "^4.0.2",
|
||
|
"json-parse-even-better-errors": "^2.3.1",
|
||
|
"libnpmaccess": "^5.0.1",
|
||
|
"libnpmdiff": "^3.0.0",
|
||
|
"libnpmexec": "^3.0.3",
|
||
|
"libnpmfund": "^2.0.2",
|
||
|
"libnpmhook": "^7.0.1",
|
||
|
"libnpmorg": "^3.0.1",
|
||
|
"libnpmpack": "^3.1.0",
|
||
|
"libnpmpublish": "^5.0.1",
|
||
|
"libnpmsearch": "^4.0.1",
|
||
|
"libnpmteam": "^3.0.1",
|
||
|
"libnpmversion": "^2.0.2",
|
||
|
"make-fetch-happen": "^10.0.3",
|
||
|
"minipass": "^3.1.6",
|
||
|
"minipass-pipeline": "^1.2.4",
|
||
|
"mkdirp": "^1.0.4",
|
||
|
"mkdirp-infer-owner": "^2.0.0",
|
||
|
"ms": "^2.1.2",
|
||
|
"node-gyp": "^8.4.1",
|
||
|
"nopt": "^5.0.0",
|
||
|
"npm-audit-report": "^2.1.5",
|
||
|
"npm-install-checks": "^4.0.0",
|
||
|
"npm-package-arg": "^8.1.5",
|
||
|
"npm-pick-manifest": "^6.1.1",
|
||
|
"npm-profile": "^6.0.0",
|
||
|
"npm-registry-fetch": "^12.0.2",
|
||
|
"npm-user-validate": "^1.0.1",
|
||
|
"npmlog": "^6.0.1",
|
||
|
"opener": "^1.5.2",
|
||
|
"pacote": "^12.0.3",
|
||
|
"parse-conflict-json": "^2.0.1",
|
||
|
"proc-log": "^1.0.0",
|
||
|
"qrcode-terminal": "^0.12.0",
|
||
|
"read": "~1.0.7",
|
||
|
"read-package-json": "^4.1.1",
|
||
|
"read-package-json-fast": "^2.0.3",
|
||
|
"readdir-scoped-modules": "^1.1.0",
|
||
|
"rimraf": "^3.0.2",
|
||
|
"semver": "^7.3.5",
|
||
|
"ssri": "^8.0.1",
|
||
|
"tar": "^6.1.11",
|
||
|
"text-table": "~0.2.0",
|
||
|
"tiny-relative-date": "^1.3.0",
|
||
|
"treeverse": "^1.0.4",
|
||
|
"validate-npm-package-name": "~3.0.0",
|
||
|
"which": "^2.0.2",
|
||
|
"write-file-atomic": "^4.0.0"
|
||
|
},
|
||
|
"bundleDependencies": [
|
||
|
"@isaacs/string-locale-compare",
|
||
|
"@npmcli/arborist",
|
||
|
"@npmcli/ci-detect",
|
||
|
"@npmcli/config",
|
||
|
"@npmcli/map-workspaces",
|
||
|
"@npmcli/package-json",
|
||
|
"@npmcli/run-script",
|
||
|
"abbrev",
|
||
|
"ansicolors",
|
||
|
"ansistyles",
|
||
|
"archy",
|
||
|
"cacache",
|
||
|
"chalk",
|
||
|
"chownr",
|
||
|
"cli-columns",
|
||
|
"cli-table3",
|
||
|
"columnify",
|
||
|
"fastest-levenshtein",
|
||
|
"glob",
|
||
|
"graceful-fs",
|
||
|
"hosted-git-info",
|
||
|
"ini",
|
||
|
"init-package-json",
|
||
|
"is-cidr",
|
||
|
"json-parse-even-better-errors",
|
||
|
"libnpmaccess",
|
||
|
"libnpmdiff",
|
||
|
"libnpmexec",
|
||
|
"libnpmfund",
|
||
|
"libnpmhook",
|
||
|
"libnpmorg",
|
||
|
"libnpmpack",
|
||
|
"libnpmpublish",
|
||
|
"libnpmsearch",
|
||
|
"libnpmteam",
|
||
|
"libnpmversion",
|
||
|
"make-fetch-happen",
|
||
|
"minipass",
|
||
|
"minipass-pipeline",
|
||
|
"mkdirp",
|
||
|
"mkdirp-infer-owner",
|
||
|
"ms",
|
||
|
"node-gyp",
|
||
|
"nopt",
|
||
|
"npm-audit-report",
|
||
|
"npm-install-checks",
|
||
|
"npm-package-arg",
|
||
|
"npm-pick-manifest",
|
||
|
"npm-profile",
|
||
|
"npm-registry-fetch",
|
||
|
"npm-user-validate",
|
||
|
"npmlog",
|
||
|
"opener",
|
||
|
"pacote",
|
||
|
"parse-conflict-json",
|
||
|
"proc-log",
|
||
|
"qrcode-terminal",
|
||
|
"read",
|
||
|
"read-package-json",
|
||
|
"read-package-json-fast",
|
||
|
"readdir-scoped-modules",
|
||
|
"rimraf",
|
||
|
"semver",
|
||
|
"ssri",
|
||
|
"tar",
|
||
|
"text-table",
|
||
|
"tiny-relative-date",
|
||
|
"treeverse",
|
||
|
"validate-npm-package-name",
|
||
|
"which",
|
||
|
"write-file-atomic"
|
||
|
],
|
||
|
"devDependencies": {
|
||
|
"@npmcli/eslint-config": "^2.0.0",
|
||
|
"@npmcli/template-oss": "^2.4.3",
|
||
|
"eslint": "^8.3.0",
|
||
|
"licensee": "^8.2.0",
|
||
|
"spawk": "^1.7.1",
|
||
|
"tap": "^15.1.6"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"dumpconf": "env | grep npm | sort | uniq",
|
||
|
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
|
||
|
"licenses": "licensee --production --errors-only",
|
||
|
"test": "tap",
|
||
|
"test-all": "npm run test --if-present --workspaces --include-workspace-root",
|
||
|
"check-coverage": "tap",
|
||
|
"snap": "tap",
|
||
|
"postsnap": "make -s mandocs",
|
||
|
"test:nocleanup": "NO_TEST_CLEANUP=1 npm run test --",
|
||
|
"sudotest": "sudo npm run test --",
|
||
|
"sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run test --",
|
||
|
"posttest": "npm run lint",
|
||
|
"eslint": "eslint",
|
||
|
"lint": "npm run eslint -- bin lib scripts smoke-tests test ./*.js",
|
||
|
"lintfix": "npm run lint -- --fix",
|
||
|
"prelint": "rimraf test/npm_cache*",
|
||
|
"resetdeps": "bash scripts/resetdeps.sh",
|
||
|
"smoke-tests": "tap smoke-tests/index.js"
|
||
|
},
|
||
|
"tap": {
|
||
|
"test-env": [
|
||
|
"LC_ALL=sk"
|
||
|
],
|
||
|
"color": 1,
|
||
|
"files": "test/{lib,bin,index.js}",
|
||
|
"coverage-map": "test/coverage-map.js",
|
||
|
"check-coverage": true,
|
||
|
"timeout": 600
|
||
|
},
|
||
|
"templateOSS": {
|
||
|
"applyRootRepoFiles": false,
|
||
|
"applyWorkspaceRepoFiles": true,
|
||
|
"applyRootModuleFiles": false,
|
||
|
"workspaces": [
|
||
|
"@npmcli/arborist",
|
||
|
"libnpmaccess",
|
||
|
"libnpmdiff",
|
||
|
"libnpmfund",
|
||
|
"libnpmexec",
|
||
|
"libnpmorg",
|
||
|
"libnpmhook",
|
||
|
"libnpmpack",
|
||
|
"libnpmpublish",
|
||
|
"libnpmsearch",
|
||
|
"libnpmteam",
|
||
|
"libnpmversion"
|
||
|
],
|
||
|
"version": "2.4.3"
|
||
|
},
|
||
|
"license": "Artistic-2.0",
|
||
|
"engines": {
|
||
|
"node": "^12.13.0 || ^14.15.0 || >=16"
|
||
|
}
|
||
|
}
|