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