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-04-13 00:28:14 +08:00
|
|
|
"version": "2.1.0",
|
|
|
|
"keywords": [
|
2023-04-13 01:18:11 +08:00
|
|
|
"gzip",
|
|
|
|
"ungzip"
|
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",
|
|
|
|
"build:ungzip": "esbuild src/ungzip.js --minify --bundle --format=esm --target=esnext --outfile=dist/ungzip.js",
|
|
|
|
"build:all": "esbuild src/index.js --format=esm --outfile=dist/index.js",
|
|
|
|
"build": "npm run build:gzip && npm run build:ungzip && 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
|
|
|
}
|