forked from vercel/pkg
-
-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.39 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.39 KB
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
{
"name": "@yao-pkg/pkg",
"version": "6.14.2",
"description": "Package your Node.js project into an executable",
"main": "lib-es5/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/yao-pkg/pkg.git"
},
"types": "lib-es5/index.d.ts",
"bin": {
"pkg": "lib-es5/bin.js"
},
"files": [
"lib-es5/*.js",
"lib-es5/index.d.ts",
"dictionary/*.js",
"prelude/*.js"
],
"prettier": {
"singleQuote": true
},
"dependencies": {
"@babel/generator": "^7.23.0",
"@babel/parser": "^7.23.0",
"@babel/traverse": "^7.23.0",
"@babel/types": "^7.23.0",
"@yao-pkg/pkg-fetch": "3.5.33",
"esbuild": "^0.27.3",
"into-stream": "^9.1.0",
"minimist": "^1.2.6",
"multistream": "^4.1.0",
"picocolors": "^1.1.0",
"picomatch": "^4.0.2",
"prebuild-install": "^7.1.1",
"resolve": "^1.22.10",
"resolve.exports": "^2.0.3",
"stream-meter": "^1.0.4",
"tar": "^7.5.7",
"tinyglobby": "^0.2.11",
"unzipper": "^0.12.3"
},
"devDependencies": {
"@release-it/conventional-changelog": "^10.0.5",
"@types/babel__generator": "^7.6.5",
"@types/babel__traverse": "^7.20.3",
"@types/minimist": "^1.2.2",
"@types/multistream": "^4.1.0",
"@types/node": "^20.0.0",
"@types/picomatch": "^3.0.1",
"@types/resolve": "^1.20.2",
"@types/stream-meter": "^0.0.22",
"@types/tar": "^6.1.13",
"@types/unzipper": "^0.10.10",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"esbuild-register": "^3.6.0",
"eslint": "^9.0.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-import": "^2.31.0",
"globals": "^17.3.0",
"json-stable-stringify": "^1.0.1",
"lint-staged": "^15.0.0",
"prettier": "^3.0.3",
"release-it": "^19.2.4",
"rimraf": "^6.1.2",
"simple-git-hooks": "^2.11.1",
"typescript": "^4.7.2"
},
"scripts": {
"clean": "rimraf lib-es5",
"build": "npm run clean && tsc",
"start": "tsc --watch",
"lint": "npm run lint:style && npm run lint:code",
"lint:style": "prettier -c \"{lib,prelude,test}/**/*.{ts,js}\"",
"lint:code": "eslint lib prelude test",
"fix": "npm run lint:style -- -w && npm run lint:code -- --fix",
"prepare": "npm run build",
"prepublishOnly": "npm run lint",
"test": "npm run build && npm run test:host && npm run test:20 && npm run test:22 && npm run test:24",
"test:20": "node test/test.js node20 no-npm",
"test:22": "node test/test.js node22 no-npm",
"test:24": "node test/test.js node24 no-npm",
"test:host": "node test/test.js host only-npm",
"bump:fetch": "yarn add @yao-pkg/pkg-fetch --exact",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,css,md,json}": "prettier --write"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"packageManager": "[email protected]",
"engines": {
"node": ">=20.0.0"
},
"resolutions": {
"lodash": "^4.17.23",
"@octokit/request-error": "^5.1.1",
"@octokit/plugin-paginate-rest": "^9.2.2",
"@octokit/request": "^8.4.1",
"js-yaml": "^4.1.1",
"brace-expansion": "^2.0.2",
"tmp": "^0.2.4"
}
}