UNPKG

@obsidize/tar-browserify

Version:

Browser-based tar utility for packing and unpacking tar files (stream-capable)

95 lines (94 loc) 3.46 kB
{ "name": "@obsidize/tar-browserify", "version": "6.0.1", "description": "Browser-based tar utility for packing and unpacking tar files (stream-capable)", "main": "./index.js", "module": "./index.js", "types": "./index.d.ts", "typings": "./index.d.ts", "scripts": { "test": "jest", "format": "prettier ./src --write", "build:clean": "rimraf ./dist", "build:tsc": "tsc", "build:webpack": "webpack --config webpack.config.js", "copy:assets": "tsx ./scripts/copy-build-assets.ts", "build": "run-s build:clean build:tsc build:webpack copy:assets", "coverage:clean": "rimraf ./coverage", "coverage:open": "open-cli ./coverage/lcov-report/index.html", "coverage": "run-s coverage:clean test coverage:open", "docs": "typedoc ./src/index.ts --out ./docs --excludePrivate", "docs:open": "open-cli ./docs/index.html", "git:publish": "tsx ./scripts/release-publish.ts", "dist:publish": "npm publish ./dist", "dist:pack": "tsx ./scripts/release-pack.ts", "dist:bundle": "run-s format build coverage docs dist:pack", "version": "npm run dist:bundle", "version:patch": "npm version patch", "version:publish": "run-s git:publish dist:publish", "bump": "run-s version:patch version:publish", "generate:tar:test:content": "tsx ./scripts/generate-tarball-test-content.ts", "generate:tar:json:postbuild": "tsx ./scripts/generate-tar-sample-json.ts", "generate:tar:json:postbuild:pax": "tsx ./scripts/generate-tar-sample-json.ts ./dev-assets/pax-tgz-sample/packed/test.tar", "generate:tar:json": "run-s build generate:tar:json:postbuild", "generate:tar:json:pax": "run-s build generate:tar:json:postbuild:pax", "generate:tar:output:postbuild": "tsx ./scripts/generate-tar-sample-file.ts", "generate:tar:output": "run-s build generate:tar:output:postbuild", "untar:pax:sample": "cd ./dev-assets/pax-tgz-sample/packed && tsx ../../../scripts/untar.ts ./test.tar ../unpacked && cd ../../../", "test:unpack:repack:postbuild": "tsx ./scripts/test-unpack-repack.ts", "test:unpack:repack": "run-s build test:unpack:repack:postbuild", "test:pax:single:postbuild": "tsx ./scripts/test-pax-single-file.ts", "test:pax:single": "run-s build test:pax:single:postbuild" }, "repository": { "type": "git", "url": "git+https://github.com/jospete/obsidize-tar-browserify.git" }, "keywords": [ "tar", "archive", "read", "write", "pax", "browser", "tarball", "browserify", "ustar", "gnutar", "obsidize" ], "author": "Josh Noel <obsidize@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/jospete/obsidize-tar-browserify/issues" }, "homepage": "https://github.com/jospete/obsidize-tar-browserify#readme", "devDependencies": { "@babel/core": "7.26.0", "@babel/preset-env": "7.26.0", "@babel/preset-typescript": "7.26.0", "@types/jest": "29.5.14", "@types/pako": "2.0.3", "@types/tar": "6.1.13", "@types/yargs": "17.0.20", "babel-jest": "29.7.0", "cpy-cli": "4.2.0", "globby": "13.1.3", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "jsdom": "25.0.1", "npm-run-all": "4.1.5", "open-cli": "7.1.0", "pako": "2.1.0", "prettier": "3.6.2", "rimraf": "4.1.1", "tar": "7.4.3", "ts-loader": "9.4.2", "tsx": "^4.20.3", "typedoc": "0.23.24", "typescript": "4.9.4", "webpack": "^5.100.0", "webpack-cli": "5.0.1", "yargs": "17.6.2" } }