gzip/package.json

28 lines
841 B
JSON
Raw Normal View History

{
"name": "@bytedo/gzip",
"type": "module",
"description": "浏览器端的gzip库, fork于pako, 仅调整语法为esm, 并只保留gzip的导出。",
"version": "2.1.0",
"keywords": [
"gzip",
"ungzip"
],
"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: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"
},
"devDependencies": {
"esbuild": "^0.17.16"
},
"license": "(MIT AND Zlib)"
}