• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "corepack",
3  "version": "0.19.0",
4  "homepage": "https://github.com/nodejs/corepack#readme",
5  "bugs": {
6    "url": "https://github.com/nodejs/corepack/issues"
7  },
8  "repository": {
9    "type": "git",
10    "url": "https://github.com/nodejs/corepack.git"
11  },
12  "engines": {
13    "node": ">=16.20.0"
14  },
15  "exports": {
16    "./package.json": "./package.json"
17  },
18  "license": "MIT",
19  "packageManager": "yarn@4.0.0-rc.44+sha224.6526204ca38ed0105e81ba52d83dc0c7b8ee63600a13dc332914fde0",
20  "devDependencies": {
21    "@babel/core": "^7.14.3",
22    "@babel/plugin-transform-modules-commonjs": "^7.14.0",
23    "@babel/preset-typescript": "^7.13.0",
24    "@jest/globals": "^29.0.0",
25    "@types/debug": "^4.1.5",
26    "@types/jest": "^29.0.0",
27    "@types/node": "^20.0.0",
28    "@types/semver": "^7.1.0",
29    "@types/tar": "^6.0.0",
30    "@types/which": "^3.0.0",
31    "@typescript-eslint/eslint-plugin": "^5.0.0",
32    "@typescript-eslint/parser": "^5.0.0",
33    "@yarnpkg/eslint-config": "^0.6.0-rc.7",
34    "@yarnpkg/fslib": "^2.1.0",
35    "@zkochan/cmd-shim": "^6.0.0",
36    "babel-plugin-dynamic-import-node": "^2.3.3",
37    "clipanion": "^3.0.1",
38    "debug": "^4.1.1",
39    "esbuild": "0.17.19",
40    "eslint": "^8.0.0",
41    "eslint-plugin-arca": "^0.15.0",
42    "jest": "^29.0.0",
43    "nock": "^13.0.4",
44    "proxy-agent": "^6.0.0",
45    "semver": "^7.1.3",
46    "supports-color": "^9.0.0",
47    "tar": "^6.0.1",
48    "ts-node": "^10.0.0",
49    "typescript": "^5.0.4",
50    "v8-compile-cache": "^2.3.0",
51    "which": "^3.0.0"
52  },
53  "scripts": {
54    "build": "rm -rf dist shims && run build:bundle && ts-node ./mkshims.ts",
55    "build:bundle": "esbuild ./sources/_lib.ts --bundle --platform=node --target=node16.20.0 --external:corepack --outfile='./dist/lib/corepack.cjs' --resolve-extensions='.ts,.mjs,.js'",
56    "corepack": "ts-node ./sources/_cli.ts",
57    "lint": "eslint .",
58    "prepack": "yarn build",
59    "postpack": "rm -rf dist shims",
60    "typecheck": "tsc --noEmit",
61    "test": "jest"
62  },
63  "files": [
64    "dist",
65    "shims",
66    "LICENSE.md"
67  ],
68  "publishConfig": {
69    "bin": {
70      "corepack": "./dist/corepack.js",
71      "pnpm": "./dist/pnpm.js",
72      "pnpx": "./dist/pnpx.js",
73      "yarn": "./dist/yarn.js",
74      "yarnpkg": "./dist/yarnpkg.js"
75    },
76    "executableFiles": [
77      "./dist/npm.js",
78      "./dist/npx.js",
79      "./dist/pnpm.js",
80      "./dist/pnpx.js",
81      "./dist/yarn.js",
82      "./dist/yarnpkg.js",
83      "./dist/corepack.js",
84      "./shims/npm",
85      "./shims/npm.ps1",
86      "./shims/npx",
87      "./shims/npx.ps1",
88      "./shims/pnpm",
89      "./shims/pnpm.ps1",
90      "./shims/pnpx",
91      "./shims/pnpx.ps1",
92      "./shims/yarn",
93      "./shims/yarn.ps1",
94      "./shims/yarnpkg",
95      "./shims/yarnpkg.ps1"
96    ]
97  },
98  "resolutions": {
99    "vm2": "patch:vm2@npm:3.9.9#.yarn/patches/vm2-npm-3.9.9-03fd1f4dc5.patch"
100  },
101  "bin": {
102    "corepack": "./dist/corepack.js",
103    "pnpm": "./dist/pnpm.js",
104    "pnpx": "./dist/pnpx.js",
105    "yarn": "./dist/yarn.js",
106    "yarnpkg": "./dist/yarnpkg.js"
107  }
108}