-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.51 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
{
"name": "fast-asar",
"version": "1.0.9",
"main": "dist/index.js",
"devDependencies": {
"@electron/asar": "^3.2.7",
"bun-types": "latest",
"typedoc": "^0.25.2",
"typescript": "^5.2.2"
},
"optionalDependencies": {
"ansi-colors": "^4.1.3"
},
"bin": "dist/cli/index.js",
"description": "A faster implementation of Electron's ASAR archive format.",
"files": [
"dist"
],
"scripts": {
"build": "bun scripts/build.ts",
"build:docs": "typedoc src/index.ts",
"pretest": "bun scripts/cleanupTestData.ts",
"test": "bun test",
"prepublishOnly": "bun run build",
"benchmark:extract": "hyperfine -r 5 './node_modules/.bin/asar extract test/ignore/app.asar test/ignore/app1' 'bun ./src/cli/index.ts extract test/ignore/app.asar test/ignore/app2' -c 'rm -rf test/ignore/app1 test/ignore/app2' --export-markdown benchmark/extract.md",
"benchmark:pack": "hyperfine -r 5 './node_modules/.bin/asar pack src test/ignore/src.asar' 'bun ./src/cli/index.ts pack src test/ignore/src.asar' -c 'rm -f test/ignore/src.asar' --export-markdown benchmark/pack.md",
"benchmark:list": "hyperfine -r 5 './node_modules/.bin/asar list test/ignore/app.asar' 'bun ./src/cli/index.ts list test/ignore/app.asar' --export-markdown benchmark/list.md",
"benchmark:help": "hyperfine -r 5 './node_modules/.bin/asar help' 'bun ./src/cli/index.ts help' --export-markdown benchmark/list.md"
},
"type": "module",
"types": "dist/index.d.ts",
"dependencies": {
"chromium-pickle-js": "^0.2.0"
}
}