gzip/package.json

28 lines
841 B
JSON
Raw Normal View History

{
"name": "@bytedo/gzip",
"type": "module",
"description": "浏览器端的gzip库, fork于pako, 仅调整语法为esm, 并只保留gzip的导出。",
2023-05-29 17:10:11 +08:00
"version": "2.1.1",
"keywords": [
"gzip",
2023-05-29 17:10:11 +08:00
"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",
2023-05-29 17:10:11 +08:00
"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",
2023-05-29 17:10:11 +08:00
"build": "npm run build:gzip && npm run build:gunzip && npm run build:all"
},
"devDependencies": {
"esbuild": "^0.17.16"
},
"license": "(MIT AND Zlib)"
}