• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "corepack",
3  "version": "0.25.2",
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": "^18.17.1 || >=20.10.0"
14  },
15  "exports": {
16    "./package.json": "./package.json"
17  },
18  "license": "MIT",
19  "packageManager": "yarn@4.1.0+sha224.bc24d7f5afc738464f3d4e95f4e6e7829a35cee54a0fd527ea5baa83",
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.4.6",
28    "@types/proxy-from-env": "^1",
29    "@types/semver": "^7.1.0",
30    "@types/tar": "^6.0.0",
31    "@types/which": "^3.0.0",
32    "@typescript-eslint/eslint-plugin": "^6.8.0",
33    "@typescript-eslint/parser": "^6.8.0",
34    "@yarnpkg/eslint-config": "^1.0.0",
35    "@yarnpkg/fslib": "^3.0.0-rc.48",
36    "@zkochan/cmd-shim": "^6.0.0",
37    "babel-plugin-dynamic-import-node": "^2.3.3",
38    "clipanion": "^3.0.1",
39    "debug": "^4.1.1",
40    "esbuild": "0.19.5",
41    "eslint": "^8.0.0",
42    "eslint-plugin-arca": "^0.16.0",
43    "jest": "^29.0.0",
44    "proxy-from-env": "^1.1.0",
45    "semver": "^7.5.2",
46    "supports-color": "^9.0.0",
47    "tar": "^6.0.1",
48    "ts-node": "^10.0.0",
49    "typescript": "^5.0.4",
50    "undici": "^6.6.1",
51    "v8-compile-cache": "^2.3.0",
52    "which": "^4.0.0"
53  },
54  "scripts": {
55    "build": "rm -rf dist shims && run build:bundle && ts-node ./mkshims.ts",
56    "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'",
57    "corepack": "ts-node ./sources/_cli.ts",
58    "lint": "eslint .",
59    "prepack": "yarn build",
60    "postpack": "rm -rf dist shims",
61    "typecheck": "tsc --noEmit",
62    "test": "jest"
63  },
64  "files": [
65    "dist",
66    "shims",
67    "LICENSE.md"
68  ],
69  "publishConfig": {
70    "bin": {
71      "corepack": "./dist/corepack.js",
72      "pnpm": "./dist/pnpm.js",
73      "pnpx": "./dist/pnpx.js",
74      "yarn": "./dist/yarn.js",
75      "yarnpkg": "./dist/yarnpkg.js"
76    },
77    "executableFiles": [
78      "./dist/npm.js",
79      "./dist/npx.js",
80      "./dist/pnpm.js",
81      "./dist/pnpx.js",
82      "./dist/yarn.js",
83      "./dist/yarnpkg.js",
84      "./dist/corepack.js",
85      "./shims/npm",
86      "./shims/npm.ps1",
87      "./shims/npx",
88      "./shims/npx.ps1",
89      "./shims/pnpm",
90      "./shims/pnpm.ps1",
91      "./shims/pnpx",
92      "./shims/pnpx.ps1",
93      "./shims/yarn",
94      "./shims/yarn.ps1",
95      "./shims/yarnpkg",
96      "./shims/yarnpkg.ps1"
97    ]
98  },
99  "bin": {
100    "corepack": "./dist/corepack.js",
101    "pnpm": "./dist/pnpm.js",
102    "pnpx": "./dist/pnpx.js",
103    "yarn": "./dist/yarn.js",
104    "yarnpkg": "./dist/yarnpkg.js"
105  }
106}