forked from vercel/pkg-fetch
-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
124 lines (124 loc) · 3.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@yao-pkg/pkg-fetch",
"version": "3.5.17",
"description": "Compiles and stores base binaries for pkg",
"main": "lib-es5/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/yao-pkg/pkg-fetch.git"
},
"bin": {
"pkg-fetch": "lib-es5/bin.js"
},
"files": [
"lib-es5/*.js",
"lib-es5/*.ts",
"lib-es5/*.json",
"patches/*"
],
"dependencies": {
"https-proxy-agent": "^5.0.0",
"node-fetch": "^2.6.6",
"picocolors": "^1.1.0",
"progress": "^2.0.3",
"semver": "^7.3.5",
"tar-fs": "^2.1.1",
"yargs": "^16.2.0"
},
"devDependencies": {
"@release-it/conventional-changelog": "^7.0.2",
"@types/node": "^16.18.113",
"@types/node-fetch": "^2.5.12",
"@types/progress": "^2.0.5",
"@types/semver": "^7.3.9",
"@types/tar-fs": "^2.0.1",
"@types/yargs": "^16.0.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.2",
"lint-staged": "^10.5.4",
"prettier": "^2.4.1",
"release-it": "^16.2.1",
"rimraf": "^3.0.2",
"simple-git-hooks": ">=2.7.0",
"typescript": "^4.4.4"
},
"scripts": {
"build": "rimraf lib-es5 && tsc --build lib",
"bin": "node lib-es5/bin.js",
"lint": "eslint lib",
"prepare": "npm run build",
"prepublishOnly": "npm run lint",
"start": "node lib-es5/bin.js",
"applyPatches": "node lib-es5/apply-patches.js",
"printHashes": "node lib-es5/print-hashes.js",
"updateExpected": "node lib-es5/generate-expected-shas.js",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it",
"release:patch": "npm run release -- patch",
"release:minor": "npm run release -- minor"
},
"release-it": {
"github": {
"release": false
},
"hooks": {
"before:init": [
"yarn lint"
]
},
"npm": {
"publish": true
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "test",
"section": "Test added"
},
{
"type": "refactor",
"section": "Code refactoring"
},
{
"type": "chore",
"section": "Chores"
},
{
"type": "docs",
"section": "Documentation"
}
]
}
}
}
},
"prettier": {
"singleQuote": true
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,css,md}": "prettier --write"
},
"publishConfig": {
"access": "public"
}
}