| { | |
| "name": "corepack", | |
| "version": "0.34.6", | |
| "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": "^20.10.0 || ^22.11.0 || >=24.0.0" | |
| }, | |
| "exports": { | |
| "./package.json": "./package.json" | |
| }, | |
| "license": "MIT", | |
| "packageManager": "yarn@4.11.0+sha224.209a3e277c6bbc03df6e4206fbfcb0c1621c27ecf0688f79a0c619f0", | |
| "devDependencies": { | |
| "@types/debug": "^4.1.5", | |
| "@types/node": "^20.4.6", | |
| "@types/proxy-from-env": "^1", | |
| "@types/semver": "^7.1.0", | |
| "@types/which": "^3.0.0", | |
| "@yarnpkg/eslint-config": "^3.0.0", | |
| "@yarnpkg/fslib": "^3.0.0-rc.48", | |
| "@zkochan/cmd-shim": "^6.0.0", | |
| "better-sqlite3": "^11.7.2", | |
| "clipanion": "patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch", | |
| "debug": "^4.1.1", | |
| "esbuild": "^0.25.0", | |
| "eslint": "^9.22.0", | |
| "proxy-from-env": "^1.1.0", | |
| "semver": "^7.6.3", | |
| "supports-color": "^10.0.0", | |
| "tar": "^7.5.4", | |
| "tsx": "^4.16.2", | |
| "typescript": "^5.7.3", | |
| "undici": "^6.21.2", | |
| "v8-compile-cache": "^2.3.0", | |
| "vitest": "^3.0.5", | |
| "which": "^5.0.0" | |
| }, | |
| "resolutions": { | |
| "undici-types": "6.x" | |
| }, | |
| "scripts": { | |
| "build": "run clean && run build:bundle && tsx ./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'", | |
| "clean": "run rimraf dist shims", | |
| "corepack": "tsx ./sources/_cli.ts", | |
| "lint": "eslint .", | |
| "prepack": "yarn build", | |
| "postpack": "run clean", | |
| "rimraf": "node -e 'for(let i=2;i<process.argv.length;i++)fs.rmSync(process.argv[i],{recursive:true,force:true});'", | |
| "typecheck": "tsc --noEmit", | |
| "test": "vitest" | |
| }, | |
| "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" | |
| ] | |
| }, | |
| "bin": { | |
| "corepack": "./dist/corepack.js", | |
| "pnpm": "./dist/pnpm.js", | |
| "pnpx": "./dist/pnpx.js", | |
| "yarn": "./dist/yarn.js", | |
| "yarnpkg": "./dist/yarnpkg.js" | |
| } | |
| } |