UNPKG

zx-extra

Version:

zx with some useful extras

86 lines (85 loc) 2.68 kB
{ "name": "zx-extra", "version": "4.0.20", "description": "zx with some useful extras", "type": "module", "exports": { ".": { "types": "./target/dts/index.d.ts", "import": "./target/esm/index.mjs", "default": "./target/esm/index.mjs" } }, "bin": { "zx-extra": "src/main/js/cli.mjs" }, "scripts": { "build": "concurrently 'npm:build:*'", "build:js": "node ./src/scripts/build.mjs --entry='./src/main/ts/index.ts:./src/main/ts/cli.ts' --format='mjs'", "build:jsr": "node ./src/scripts/build-jsr.mjs", "build:dts": "tsc --emitDeclarationOnly --outDir target/dts", "build:docs": "typedoc --options src/main/typedoc", "test": "concurrently 'npm:test:unit' 'npm:test:jsr'", "test:unit": "npm run test:js && npm run test:ts", "test:js": "PATH=$(env -i bash -c 'echo $PATH') node ./target/esm/cli.mjs ./src/test/js/test.mjs --quiet", "test:ts": "node --experimental-strip-types ./src/test/ts/index.test.ts", "test:cov": "c8 npm run test:unit && c8 report -r lcov", "test:bun": "bun ./target/esm/cli.mjs ./src/test/js/test.mjs --quiet", "test:jsr": "jsr publish --dry-run", "publish:manual": "npm publish --no-git-tag-version", "publish:beta": "npm publish --no-git-tag-version --tag beta", "publish:rc": "npm publish --no-git-tag-version --tag rc", "postrelease": "node src/scripts/build-jsr.mjs && jsr publish --allow-dirty" }, "files": [ "target/dts", "target/esm", "README.md", "LICENSE" ], "repository": { "type": "git", "url": "git+https://github.com/qiwi/zx-extra.git" }, "keywords": [ "zx", "zx-extra", "shell", "bash" ], "author": "Anton Golub <mailbox@antongolub.ru>", "license": "MIT", "bugs": { "url": "https://github.com/qiwi/zx-extra/issues" }, "homepage": "https://github.com/qiwi/zx-extra#readme", "dependencies": { "@types/ini": "^4.1.1", "@types/semver": "^7.7.1", "@types/ssri": "^7.1.5", "@webpod/ip": "^0.6.1", "globby-cp": "^1.4.5", "ini": "^5.0.0", "ip-address": "^10.0.1", "is-reachable": "^5.2.1", "semver": "^7.7.3", "ssri": "^12.0.0", "tempy": "^3.1.0", "zx": "8.8.5" }, "devDependencies": { "@types/fs-extra": "^11.0.4", "@types/node": "^24.8.1", "c8": "^10.1.3", "concurrently": "^9.2.1", "esbuild": "^0.25.11", "esbuild-node-externals": "^1.18.0", "esbuild-plugin-entry-chunks": "^0.1.17", "esbuild-plugin-extract-helpers": "^0.0.6", "esbuild-plugin-transform-hook": "^0.2.0", "fast-glob": "^3.3.3", "jsr": "^0.13.5", "typedoc": "^0.28.14", "typescript": "^5.9.3" } }