166 lines
4.1 KiB
JSON
166 lines
4.1 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.8.23",
|
||
|
|
"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",
|
||
|
|
"deflate64",
|
||
|
|
"wasm"
|
||
|
|
],
|
||
|
|
"engines": {
|
||
|
|
"deno": ">=1.0.0",
|
||
|
|
"node": ">=18.0.0",
|
||
|
|
"bun": ">=0.7.0"
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"build": "npx rollup -c",
|
||
|
|
"build-dev": "npx rollup -c rollup.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",
|
||
|
|
"./dist/zip-web-worker.js": "./dist/zip-web-worker.js",
|
||
|
|
"./dist/zip-web-worker-native.js": "./dist/zip-web-worker-native.js",
|
||
|
|
"./dist/zip-module.wasm": "./dist/zip-module.wasm",
|
||
|
|
".": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./index.js"
|
||
|
|
},
|
||
|
|
"require": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./index.cjs"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./index-native.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./index-native.js"
|
||
|
|
},
|
||
|
|
"require": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./index-native.cjs"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./index.min.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./index.min.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./index-native.min.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./index-native.min.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-core-reader.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-core-reader.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-core-writer.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-core-writer.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-fs.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-fs-wasm.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-fs-native.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-fs-native.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-core.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-core-wasm.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-core-native.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-core-native.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-fs-core.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-fs-core-wasm.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-fs-core-native.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-fs-core-native.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-wasm.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"./lib/zip-native.js": {
|
||
|
|
"import": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"default": "./lib/zip-native.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-replace": "^6.0.3",
|
||
|
|
"@rollup/plugin-terser": "^1.0.0",
|
||
|
|
"eslint": "^10.0.2",
|
||
|
|
"http-server": "^14.1.1",
|
||
|
|
"rollup": "^4.59.0",
|
||
|
|
"typedoc": "^0.28.17",
|
||
|
|
"typedoc-plugin-markdown": "^4.10.0"
|
||
|
|
}
|
||
|
|
}
|