Lines 56-84json
56 "test:safe": "swift test --package-path Apps/CLI -Xswiftc -DPEEKABOO_SKIP_AUTOMATION --no-parallel",
57 "test:automation": "PEEKABOO_INCLUDE_AUTOMATION_TESTS=true swift test --package-path Apps/CLI --no-parallel",
58 "test:automation:read": "RUN_AUTOMATION_READ=true PEEKABOO_INCLUDE_AUTOMATION_TESTS=true swift test --package-path Apps/CLI --no-parallel",
59 "test:automation:input": "PEEKABOO_INCLUDE_AUTOMATION_TESTS=true PEEKABOO_RUN_INPUT_AUTOMATION_TESTS=true swift test --package-path Core/PeekabooCore --no-parallel",
60 "test:automation:local": "bash -lc 'BIN_PATH=$(swift build --package-path Apps/CLI --show-bin-path) && RUN_LOCAL_TESTS=true PEEKABOO_INCLUDE_AUTOMATION_TESTS=true PEEKABOO_RUN_INPUT_AUTOMATION_TESTS=true PEEKABOO_CLI_PATH=\"$BIN_PATH/peekaboo\" swift test --package-path Apps/CLI --no-parallel'",
61 "test:all": "bash -lc 'set -euo pipefail; cd Apps/CLI && swift test -Xswiftc -DPEEKABOO_SKIP_AUTOMATION --no-parallel && PEEKABOO_INCLUDE_AUTOMATION_TESTS=true swift test --no-parallel'",
62 "test": "pnpm run test:safe",
63 "tachikoma:test:integration": "zsh -lc 'source ~/.profile >/dev/null 2>&1; cd Tachikoma; INTEGRATION_TESTS=1 swift test --no-parallel -Xswiftc -DLIVE_PROVIDER_TESTS'",
64 "lint:swift": "swiftlint lint --config .swiftlint.yml",
65 "lint": "pnpm run lint:swift",
66 "format:swift": "swiftformat .",
67 "format": "pnpm run format:swift",
68 "prepare-release": "node scripts/prepare-release.js",
69 "release:mac-app": "./scripts/release-macos-app.sh",
70 "docs:list": "node scripts/docs-list.mjs",
71 "docs:site": "node scripts/build-docs-site.mjs",
72 "lint:docs": "node scripts/docs-lint.mjs",
73 "benchmark:tools": "Apps/Playground/scripts/peekaboo-perf.sh",
74 "test:benchmark-tools": "scripts/test-peekaboo-perf.sh",
75 "oracle": "pnpm -C ../oracle oracle",
76 "postinstall": "chmod +x peekaboo peekaboo-mcp.js 2>/dev/null || true",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L76 MediumAmbiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L76 77 "check:changed": "pnpm run test:safe",
78 "test:changed": "pnpm run test:safe",
79 "crabbox:hydrate": "crabbox actions hydrate",
80 "crabbox:run": "crabbox run",
81 "crabbox:stop": "crabbox stop",
82 "crabbox:warmup": "crabbox warmup"