Lines 57-97json
58 "docs/install/linux-global-install.md",
59 "docs/install/coderabbit-manual-setup.md",
60 "docs/install/installer-diagnostics.md",
62 "packages/client/dist/",
63 "!packages/client/dist/**/*.js.map",
64 "!packages/client/dist/**/*.d.ts.map",
69 "test": "node scripts/test-root.mjs",
70 "test:fast": "npm --prefix packages/server test -- public-output-ip-dlp protected-execution-worker invoke-e2e arch-plan-brownfield-ux arch-plan-product-experience p201-zero-pi-arch-plan-e2e && npm --prefix packages/client test -- platform-detector invoke project-evidence-collector public-execution/dispatch && npm --prefix packages/shared test -- public-execution-contract project-evidence-contract",
71 "test:pr": "npm run test:fast && npm --prefix packages/shared run build && npm --prefix packages/client run build && npm --prefix packages/client test -- tarball-validation stubs-integrity p155-install-regression-suite && npm --prefix packages/server run build -- --noEmit",
72 "test:release": "npx vitest run --config vitest.config.ts packages/shared/src packages/core/src && npm run build && npm --prefix packages/client test && npm test -- --runInBand && npm run test:fast && npm --prefix packages/server test -- p201-zero-pi-public-safety p201-downstream-ux-propagation p201-encrypted-asset-bundle p201-encrypted-production-deploy shared-types-sync quota-v2-flags && npm --prefix packages/server run build -- --noEmit && npm --prefix packages/server run bundle && npm run storybook:build && npm run storybook:smoke && npm run sbom && npm run validate && bash scripts/ip- ...
73 "build": "npm run build -w packages/shared && npm run build -w packages/client && node scripts/strip-source-map-comments.js && node scripts/minify-client-dist.mjs",
74 "build:clean": "rm -rf packages/shared/dist packages/client/dist && npm run build",
75 "build:client": "npm run build -w packages/client",
76 "build:shared": "npm run build -w packages/shared",
77 "postinstall": "node postinstall.js",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L77 MediumAmbiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L77 78 "sync": "node sync-version.js",
79 "validate": "node scripts/validate-pre-publish.js",
80 "validate:bash": "bash scripts/validate-pre-publish.sh",
81 "admin:dev": "cd admin && npm run dev",
82 "admin:build": "cd admin && npm run build",
83 "admin:test": "cd admin && npm run test",
84 "admin:lint": "cd admin && npm run lint",
85 "portal:dev": "cd portal && npm run dev",
86 "portal:build": "cd portal && npm run build",
87 "portal:test": "cd portal && npm run test",
88 "storybook": "storybook dev -p 6006",
89 "storybook:build": "storybook build --output-dir storybook-static",
90 "storybook:smoke": "node scripts/storybook-smoke-a11y-check.js",
91 "test:e2e": "bash scripts/e2e-smoke-test.sh",
92 "sbom": "bash scripts/generate-sbom.sh",
93 "prepublishOnly": "npm run build && npm --prefix packages/server run build -- --noEmit && node scripts/validate-pre-publish.js && node sync-version.js && npm run sbom
94 "version": "npm run sync && echo 'Nova versao:' && cat package.json | grep version"
Long lines were clipped for display.