mirror of
https://github.com/xenos1337/httptoolkit-patcher.git
synced 2026-07-15 16:20:02 +02:00
Refactor index.js to use function declarations instead of arrow functions for consistency and readability. Update README.md to clarify installation and usage instructions, removing the build section. Remove GitHub Actions release workflow as it is no longer needed.
Signed-off-by: xenos <66328734+xenos1337@users.noreply.github.com>
This commit is contained in:
+2
-15
@@ -9,18 +9,7 @@
|
||||
"start": "node index.js",
|
||||
"patch": "node index.js patch",
|
||||
"unpatch": "node index.js unpatch",
|
||||
"restore": "node index.js restore",
|
||||
"build": "esbuild index.js --bundle --platform=node --format=cjs --target=node18 --outfile=dist/bundle.cjs --external:@electron/asar --external:chalk"
|
||||
},
|
||||
"pkg": {
|
||||
"targets": [
|
||||
"node18-win-x64",
|
||||
"node18-linux-x64",
|
||||
"node18-linux-arm64",
|
||||
"node18-macos-x64",
|
||||
"node18-macos-arm64"
|
||||
],
|
||||
"outputPath": "dist"
|
||||
"restore": "node index.js restore"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -28,8 +17,6 @@
|
||||
"chalk": "4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.14.9",
|
||||
"esbuild": "^0.25.11",
|
||||
"pkg": "^5.8.1"
|
||||
"@types/node": "^20.14.9"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user