-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) Β· 3.57 KB
/
package.json
File metadata and controls
99 lines (99 loc) Β· 3.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "pastoralist",
"version": "1.11.4",
"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"
}
}