UNPKG

1.84 kBJSONView Raw
1{
2 "name": "pkg-fetch",
3 "version": "3.5.2",
4 "description": "Compiles and stores base binaries for pkg",
5 "main": "lib-es5/index.js",
6 "license": "MIT",
7 "repository": "vercel/pkg-fetch",
8 "bin": {
9 "pkg-fetch": "lib-es5/bin.js"
10 },
11 "files": [
12 "lib-es5/*.js",
13 "lib-es5/*.ts",
14 "lib-es5/*.json",
15 "patches/*"
16 ],
17 "dependencies": {
18 "chalk": "^4.1.2",
19 "fs-extra": "^9.1.0",
20 "https-proxy-agent": "^5.0.0",
21 "node-fetch": "^2.6.6",
22 "progress": "^2.0.3",
23 "semver": "^7.3.5",
24 "tar-fs": "^2.1.1",
25 "yargs": "^16.2.0"
26 },
27 "devDependencies": {
28 "@types/fs-extra": "^9.0.13",
29 "@types/node": "^14.17.32",
30 "@types/node-fetch": "^2.5.12",
31 "@types/progress": "^2.0.5",
32 "@types/semver": "^7.3.9",
33 "@types/tar-fs": "^2.0.1",
34 "@types/yargs": "^16.0.4",
35 "@typescript-eslint/eslint-plugin": "^4.33.0",
36 "@typescript-eslint/parser": "^4.33.0",
37 "eslint": "^7.32.0",
38 "eslint-config-airbnb-base": "^14.2.1",
39 "eslint-config-prettier": "^8.3.0",
40 "eslint-import-resolver-typescript": "^2.5.0",
41 "eslint-plugin-import": "^2.25.2",
42 "lint-staged": "^10.5.4",
43 "prettier": "^2.4.1",
44 "rimraf": "^3.0.2",
45 "simple-git-hooks": ">=2.7.0",
46 "typescript": "^4.4.4"
47 },
48 "scripts": {
49 "build": "rimraf lib-es5 && tsc --build lib",
50 "bin": "node lib-es5/bin.js",
51 "lint": "eslint lib",
52 "prepare": "npm run build",
53 "prepublishOnly": "npm run lint",
54 "start": "node lib-es5/bin.js",
55 "applyPatches": "node lib-es5/apply-patches.js",
56 "printHashes": "node lib-es5/print-hashes.js",
57 "updateExpected": "node lib-es5/generate-expected-shas.js"
58 },
59 "prettier": {
60 "singleQuote": true
61 },
62 "simple-git-hooks": {
63 "pre-commit": "npx lint-staged"
64 },
65 "lint-staged": {
66 "*.{js,css,md}": "prettier --write"
67 }
68}