UNPKG

zip-a-folder

Version:

Zip/Tar a complete folder or a glob list into a zip/tgz file

78 lines (77 loc) 2.03 kB
{ "name": "zip-a-folder", "version": "3.1.9", "description": "Zip/Tar a complete folder or a glob list into a zip/tgz file", "author": "Marius Augenstein", "license": "MIT", "bugs": { "url": "https://github.com/maugenst/zip-a-folder/issues" }, "homepage": "https://github.com/maugenst/zip-a-folder#readme", "main": "dist/lib/cjs/ZipAFolder.js", "module": "dist/lib/mjs/ZipAFolder.js", "typings": "@typings/ZipAFolder.d.ts", "typeRoots": [ "./@typings", "./node_modules/@types/" ], "files": [ "README.md", "lib", "dist", "@typings" ], "exports": { "types": "./@typings/ZipAFolder.d.ts", "import": "./dist/lib/mjs/ZipAFolder.js", "require": "./dist/lib/cjs/ZipAFolder.js" }, "scripts": { "all": "run-s clean:all ci build test", "ci": "npm ci", "clean": "rimraf dist/ && mkdir dist", "clean:all": "rimraf node_modules dist/ && mkdir dist", "test": "jest --coverage --", "build": "run-s clean lint build:mjs build:cjs fixup", "build:cjs": "tsc -p tsconfig-cjs.json", "build:mjs": "tsc -p tsconfig-mjs.json", "build:dev": "tsc -p tsconfig-mjs.json --watch", "fixup": "./fixup.sh", "lint": "npx @biomejs/biome lint ./lib ./test --write" }, "repository": { "type": "git", "url": "git+https://github.com/maugenst/zip-a-folder.git" }, "keywords": [ "zip", "gzip", "tar", "folder", "async", "promise" ], "devDependencies": { "@biomejs/biome": "1.9.4", "@swc/core": "^1.11.11", "@swc/jest": "^0.2.37", "@types/archiver": "^6.0.3", "@types/glob": "^8.1.0", "@types/is-glob": "^4.0.4", "@types/jest": "^29.5.14", "@types/node": "^22.13.10", "chokidar": "^4.0.3", "jest": "^29.7.0", "jest-extended": "^4.0.2", "npm-run-all": "^4.1.5", "rimraf": "^6.0.1", "ts-jest": "^29.2.6", "tslib": "^2.8.1", "typescript": "5.8" }, "dependencies": { "archiver": "^7.0.1", "glob": "^11.0.1", "is-glob": "^4.0.3" } }