UNPKG

pastoralist

Version:

A tool to watch over node module resolutions and overrides

100 lines (99 loc) 3.66 kB
{ "name": "pastoralist", "version": "1.12.0", "description": "A tool to watch over node module resolutions and overrides", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "bin": { "pastoralist": "./dist/index.js" }, "scripts": { "build": "turbo run build-dist", "build-dist": "bun run clean-dist && bun run build-bundle && bun run build-types", "build-bundle": "bun build src/index.ts --outdir dist --target node --minify --splitting --external fs --external path --external crypto", "build-types": "tsc --emitDeclarationOnly --outDir dist", "clean-dist": "bun run scripts/clean.ts", "commit": "git-cz", "dev": "bun run --cwd app dev", "dryrun": "bun run src/index.ts --dryRun", "format": "prettier --check .", "format:fix": "prettier --write .", "lint": "oxlint src app/src app/tests", "lint-fix": "oxlint src app/src app/tests --fix", "prepare": "sh scripts/prepare.sh", "prepublishOnly": "bun run test:unit && bun run build-dist", "preview": "bun run --cwd app preview", "release": "release-it", "test": "bun test", "test:unit": "bun test tests/unit", "test:bench": "./tests/benchmarks/run-benchmarks.sh", "test:e2e": "./tests/e2e/scripts/run-e2e-tests.sh", "test:integration:docker": "cd tests/e2e && docker compose up --abort-on-container-exit", "typecheck": "turbo run typecheck-src", "typecheck-src": "tsc --noEmit", "update": "codependence --update && bun run update-app-deps", "update-app-deps": "cd app && bun update", "dev:cli": "command -v bun >/dev/null 2>&1 || (echo 'Error: bun is required but not installed.' && exit 1) && bun build src/index.ts --outdir dist --target node --watch", "dev:link": "command -v npm >/dev/null 2>&1 || (echo 'Error: npm is required but not installed.' && exit 1) && npm link && echo '✓ pastoralist command now available globally'", "dev:unlink": "command -v npm >/dev/null 2>&1 || (echo 'Error: npm is required but not installed.' && exit 1) && npm unlink -g pastoralist", "test:watch": "bun test --watch", "test:coverage:html": "bun test tests/unit/ --coverage --coverage-reporter=html && open coverage/index.html", "validate": "bun run typecheck-src && bun run lint && bun run test:unit", "validate:full": "bun run validate && bun run test:e2e && bun run test:bench", "setup": "bun install && bun run build && bun run test:unit && echo '✓ Setup complete! Run bun run dev:link to use pastoralist globally'" }, "repository": { "type": "git", "url": "git+https://github.com/yowainwright/pastoralist.git" }, "keywords": [ "resolutions", "overrides", "dependencies", "security", "dependency-management", "yarn", "pnpm" ], "author": "Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)", "license": "MIT", "bugs": { "url": "https://github.com/yowainwright/pastoralist/issues" }, "homepage": "https://jeffry.in/pastoralist", "workspaces": [ "app" ], "devDependencies": { "@socketsecurity/bun-security-scanner": "^1.1.2", "@types/bun": "latest", "codependence": "^0.3.1", "oxlint": "^1.25.0", "prettier": "3.8.3", "release-it": "20.0.0", "turbo": "2.9.6", "typescript": "6.0.3" }, "release-it": { "git": { "commitMessage": "chore: release", "commitArgs": [ "--no-verify" ] } }, "packageManager": "bun@1.3.1", "engines": { "node": ">=20" } }