Lines 18-58json
26 "cc-linker": "dist/cli.js"
31 "scripts/postinstall.js"
34 "dev": "bun run src/index.ts",
35 "build": "bun build src/index.ts --compile --outfile dist/cc-linker",
36 "build:npm": "bun build src/index.ts --outdir dist --target bun --sourcemap && mv dist/index.js dist/cli.js && mv dist/index.js.map dist/cli.js.map 2>/dev/null; chmod +x dist/cli.js",
37 "prepublishOnly": "bun run build:npm",
38 "postinstall": "node scripts/postinstall.js",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L38 MediumAmbiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L38 39 "link:local": "bun run build:npm && bun link",
40 "unlink:local": "bun unlink cc-linker",
41 "pack:test": "bun run build:npm && npm pack && mkdir -p /tmp/test-cc-linker && npm install --prefix /tmp/test-cc-linker ./cc-linker-$(node -p \"require('./package.json').version\").tgz",
42 "reload": "bun run build:npm && node scripts/reload-daemon.js",
43 "reload:force": "bun run build:npm && node scripts/reload-daemon.js --force",
44 "deploy": "node scripts/deploy-local.js",
45 "deploy:force": "node scripts/deploy-local.js --force",
47 "test:coverage": "bun test --coverage",
48 "typecheck": "tsc --noEmit"
56 "@types/bun": "latest",
57 "@types/inquirer": "^9.0.9",
58 "@types/node": "^25.6.0",