pastoralist
Version:
A tool to watch over node module resolutions and overrides
114 lines (113 loc) • 4.46 kB
JSON
{
"name": "pastoralist",
"version": "1.12.1",
"description": "A tool to watch over node module resolutions and overrides",
"keywords": [
"dependencies",
"dependency-management",
"overrides",
"pnpm",
"resolutions",
"security",
"yarn"
],
"homepage": "https://jeffry.in/pastoralist",
"bugs": {
"url": "https://github.com/yowainwright/pastoralist/issues"
},
"license": "MIT",
"author": "Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)",
"repository": {
"type": "git",
"url": "git+https://github.com/yowainwright/pastoralist.git"
},
"bin": {
"pastoralist": "./dist/index.js"
},
"workspaces": [
"app"
],
"files": [
"dist"
],
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"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 --incremental false",
"check:test-manifests": "bun scripts/check-test-manifests.ts",
"clean-dist": "bun run scripts/clean.ts",
"commit": "git-cz",
"dev": "bun run --cwd app dev",
"dryrun": "bun run src/index.ts --dryRun",
"format": "oxfmt --check .",
"format:fix": "oxfmt --write .",
"lint": "oxlint -c .oxlintrc.json src app/src app/tests tools tests/unit/tools",
"lint-fix": "oxlint -c .oxlintrc.json src app/src app/tests tools tests/unit/tools --fix",
"prepare": "sh scripts/prepare.sh",
"prepublishOnly": "bun run test:unit",
"preview": "bun run --cwd app preview",
"release": "bun scripts/release.ts",
"release:beta": "bun scripts/release.ts --preRelease=beta",
"release:beta:dry": "bun scripts/release.ts --preRelease=beta --dry-run",
"release:alpha": "bun scripts/release.ts --preRelease=alpha",
"release:alpha:dry": "bun scripts/release.ts --preRelease=alpha --dry-run",
"release:tag": "bun scripts/tag-release.ts",
"release:tag:dry": "bun scripts/tag-release.ts --dry-run",
"release:dry": "bun scripts/release.ts --dry-run",
"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",
"deps:check": "codependence",
"deps:update": "codependence --update",
"update": "bun run deps: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 check:test-manifests && bun run typecheck-src && bun run lint && bun run test:unit",
"validate:full": "bun run validate && bun run test:e2e && bun run test:bench",
"videos:postprocess": "bun scripts/postprocess-episode-videos.ts",
"setup": "bun install && bun run build && bun run test:unit && echo '✓ Setup complete! Run bun run dev:link to use pastoralist globally'"
},
"devDependencies": {
"@socketsecurity/bun-security-scanner": "^1.1.2",
"@types/bun": "1.3.14",
"codependence": "^0.3.1",
"oxfmt": "^0.50.0",
"oxlint": "^1.67.0",
"release-it": "20.0.1",
"turbo": "2.9.16",
"typescript": "6.0.3"
},
"engines": {
"node": ">=20"
},
"packageManager": "bun@1.3.14",
"release-it": {
"git": {
"commitMessage": "chore(release): ${version}",
"commitArgs": [
"--no-verify"
],
"tagName": "v${version}"
},
"npm": {
"publish": false
}
}
}