mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
PR-URL: https://github.com/nodejs/node/pull/50563 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
108 lines
2.9 KiB
JSON
108 lines
2.9 KiB
JSON
{
|
|
"name": "corepack",
|
|
"version": "0.23.0",
|
|
"homepage": "https://github.com/nodejs/corepack#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/nodejs/corepack/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nodejs/corepack.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.17.1"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json"
|
|
},
|
|
"license": "MIT",
|
|
"packageManager": "yarn@4.0.0-rc.53+sha256.00e0111b9741a6b886c659a49b06d4ccb16e5d568bd1006c2d1f80bc48393c9b",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.14.3",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
|
|
"@babel/preset-typescript": "^7.13.0",
|
|
"@jest/globals": "^29.0.0",
|
|
"@types/debug": "^4.1.5",
|
|
"@types/jest": "^29.0.0",
|
|
"@types/node": "^20.4.6",
|
|
"@types/semver": "^7.1.0",
|
|
"@types/tar": "^6.0.0",
|
|
"@types/which": "^3.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
"@typescript-eslint/parser": "^6.8.0",
|
|
"@yarnpkg/eslint-config": "^0.6.0-rc.7",
|
|
"@yarnpkg/fslib": "^3.0.0-rc.48",
|
|
"@zkochan/cmd-shim": "^6.0.0",
|
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
"clipanion": "^3.0.1",
|
|
"debug": "^4.1.1",
|
|
"esbuild": "0.19.5",
|
|
"eslint": "^8.0.0",
|
|
"eslint-plugin-arca": "^0.16.0",
|
|
"jest": "^29.0.0",
|
|
"nock": "^13.0.4",
|
|
"proxy-agent": "^6.2.2",
|
|
"semver": "^7.5.2",
|
|
"supports-color": "^9.0.0",
|
|
"tar": "^6.0.1",
|
|
"ts-node": "^10.0.0",
|
|
"typescript": "^5.0.4",
|
|
"v8-compile-cache": "^2.3.0",
|
|
"which": "^4.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "rm -rf dist shims && run build:bundle && ts-node ./mkshims.ts",
|
|
"build:bundle": "esbuild ./sources/_lib.ts --bundle --platform=node --target=node18.17.0 --external:corepack --outfile='./dist/lib/corepack.cjs' --resolve-extensions='.ts,.mjs,.js'",
|
|
"corepack": "ts-node ./sources/_cli.ts",
|
|
"lint": "eslint .",
|
|
"prepack": "yarn build",
|
|
"postpack": "rm -rf dist shims",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "jest"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"shims",
|
|
"LICENSE.md"
|
|
],
|
|
"publishConfig": {
|
|
"bin": {
|
|
"corepack": "./dist/corepack.js",
|
|
"pnpm": "./dist/pnpm.js",
|
|
"pnpx": "./dist/pnpx.js",
|
|
"yarn": "./dist/yarn.js",
|
|
"yarnpkg": "./dist/yarnpkg.js"
|
|
},
|
|
"executableFiles": [
|
|
"./dist/npm.js",
|
|
"./dist/npx.js",
|
|
"./dist/pnpm.js",
|
|
"./dist/pnpx.js",
|
|
"./dist/yarn.js",
|
|
"./dist/yarnpkg.js",
|
|
"./dist/corepack.js",
|
|
"./shims/npm",
|
|
"./shims/npm.ps1",
|
|
"./shims/npx",
|
|
"./shims/npx.ps1",
|
|
"./shims/pnpm",
|
|
"./shims/pnpm.ps1",
|
|
"./shims/pnpx",
|
|
"./shims/pnpx.ps1",
|
|
"./shims/yarn",
|
|
"./shims/yarn.ps1",
|
|
"./shims/yarnpkg",
|
|
"./shims/yarnpkg.ps1"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"vm2": "portal:./vm2"
|
|
},
|
|
"bin": {
|
|
"corepack": "./dist/corepack.js",
|
|
"pnpm": "./dist/pnpm.js",
|
|
"pnpx": "./dist/pnpx.js",
|
|
"yarn": "./dist/yarn.js",
|
|
"yarnpkg": "./dist/yarnpkg.js"
|
|
}
|
|
} |