2023-04-13 00:28:14 +08:00
|
|
|
{
|
|
|
|
"name": "@bytedo/gzip",
|
|
|
|
"type": "module",
|
2023-04-13 01:18:11 +08:00
|
|
|
"description": "浏览器端的gzip库, fork于pako, 仅调整语法为esm, 并只保留gzip的导出。",
|
2023-05-29 17:10:11 +08:00
|
|
|
"version": "2.1.1",
|
2023-04-13 00:28:14 +08:00
|
|
|
"keywords": [
|
2023-04-13 01:18:11 +08:00
|
|
|
"gzip",
|
2023-05-29 17:10:11 +08:00
|
|
|
"gunzip"
|
2023-04-13 00:28:14 +08:00
|
|
|
],
|
|
|
|
"files": [
|
|
|
|
"dist/*"
|
|
|
|
],
|
2023-04-13 01:18:11 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/bytedo/gzip.git"
|
|
|
|
},
|
2023-04-13 00:28:14 +08:00
|
|
|
"scripts": {
|
2023-04-13 01:18:11 +08:00
|
|
|
"build:gzip": "esbuild src/gzip.js --minify --bundle --format=esm --target=esnext --outfile=dist/gzip.js",
|
2023-05-29 17:10:11 +08:00
|
|
|
"build:gunzip": "esbuild src/gunzip.js --minify --bundle --format=esm --target=esnext --outfile=dist/gunzip.js",
|
2023-04-13 01:18:11 +08:00
|
|
|
"build:all": "esbuild src/index.js --format=esm --outfile=dist/index.js",
|
2023-05-29 17:10:11 +08:00
|
|
|
"build": "npm run build:gzip && npm run build:gunzip && npm run build:all"
|
2023-04-13 00:28:14 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"esbuild": "^0.17.16"
|
2023-04-13 01:18:11 +08:00
|
|
|
},
|
|
|
|
"license": "(MIT AND Zlib)"
|
2023-04-13 00:28:14 +08:00
|
|
|
}
|