129 lines
3.4 KiB
JSON
129 lines
3.4 KiB
JSON
{
|
|
"name": "@zip.js/zip.js",
|
|
"description": "A JavaScript library to zip and unzip files in the browser, Deno and Node.js",
|
|
"author": "Gildas Lormeau",
|
|
"license": "BSD-3-Clause",
|
|
"version": "2.7.72",
|
|
"type": "module",
|
|
"keywords": [
|
|
"zip",
|
|
"unzip",
|
|
"browser",
|
|
"web",
|
|
"aes-256",
|
|
"aes-192",
|
|
"aes-128",
|
|
"zip-crypto",
|
|
"encryption",
|
|
"zip64",
|
|
"web-streams",
|
|
"compression-streams",
|
|
"web-crypto",
|
|
"web-workers",
|
|
"deno",
|
|
"node.js",
|
|
"multi-core",
|
|
"split-zip",
|
|
"usdz"
|
|
],
|
|
"engines": {
|
|
"deno": ">=1.0.0",
|
|
"node": ">=16.5.0",
|
|
"bun": ">=0.7.0"
|
|
},
|
|
"scripts": {
|
|
"build": "npx rollup -c",
|
|
"build-dev": "npx rollup -c rollup.config.dev.js",
|
|
"build-fflate": "npm i --no-save fflate && npx rollup -c rollup-fflate.config.js",
|
|
"build-fflate-dev": "npm i --no-save fflate && npx rollup -c rollup-fflate.config.dev.js",
|
|
"build-doc-api": "npx typedoc",
|
|
"build-doc-markdown": "npx typedoc --plugin typedoc-plugin-markdown --out ./docs",
|
|
"test-deno": "cd ./tests && deno test --allow-read ./deno-runner.js",
|
|
"test-node": "cd ./tests && node ./node-runner.js",
|
|
"test-bun": "cd ./tests && bun test ./bun-runner.js",
|
|
"test-firefox": "firefox http://localhost:8081/tests/ & npx http-server -p=8081 & wait $!",
|
|
"test-chrome": "google-chrome http://localhost:8081/tests/ & npx http-server -p=8081 & wait $!"
|
|
},
|
|
"main": "./index.cjs",
|
|
"module": "./index.js",
|
|
"types": "./index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"require": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.cjs"
|
|
}
|
|
},
|
|
"./index.min.js": {
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.min.js"
|
|
}
|
|
},
|
|
"./data-uri.js": {
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./lib/zip-data-uri.js"
|
|
}
|
|
},
|
|
"./lib/zip-fs.js": {
|
|
"import": {
|
|
"types": "./lib/zip-fs.d.ts",
|
|
"default": "./lib/zip-fs.js"
|
|
}
|
|
},
|
|
"./lib/zip-full.js": {
|
|
"import": {
|
|
"types": "./lib/zip-full.d.ts",
|
|
"default": "./lib/zip-full.js"
|
|
}
|
|
},
|
|
"./lib/zip-no-worker-deflate.js": {
|
|
"import": {
|
|
"types": "./lib/zip-no-worker-deflate.d.ts",
|
|
"default": "./lib/zip-no-worker-deflate.js"
|
|
}
|
|
},
|
|
"./lib/zip-no-worker-inflate.js": {
|
|
"import": {
|
|
"types": "./lib/zip-no-worker-inflate.d.ts",
|
|
"default": "./lib/zip-no-worker-inflate.js"
|
|
}
|
|
},
|
|
"./lib/zip-no-worker.js": {
|
|
"import": {
|
|
"types": "./lib/zip-no-worker.d.ts",
|
|
"default": "./lib/zip-no-worker.js"
|
|
}
|
|
},
|
|
"./lib/zip.js": {
|
|
"import": {
|
|
"types": "./lib/zip.d.ts",
|
|
"default": "./lib/zip.js"
|
|
}
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/gildas-lormeau/zip.js.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/gildas-lormeau/zip.js/issues"
|
|
},
|
|
"homepage": "https://gildas-lormeau.github.io/zip.js",
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
"@rollup/plugin-replace": "^6.0.2",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"eslint": "^9.32.0",
|
|
"http-server": "^14.1.1",
|
|
"rollup": "^4.46.2",
|
|
"typedoc": "^0.28.9",
|
|
"typedoc-plugin-markdown": "^4.8.0"
|
|
}
|
|
} |