Lines 79-117json
83 "@changesets/cli": "^2.30.0",
84 "@types/node": "^25.5.2",
85 "@types/proper-lockfile": "^4.1.4",
86 "@types/safe-regex": "^1.1.6",
87 "@types/semver": "^7.7.1",
88 "@typescript-eslint/eslint-plugin": "^8.0.0",
89 "@typescript-eslint/parser": "^8.0.0",
90 "@vitest/coverage-v8": "^3.2.4",
94 "typescript": "^5.8.0",
98 "build": "tsc -p tsconfig.build.json",
99 "postinstall": "node scripts/postinstall.mjs",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L99 MediumAmbiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L99 100 "lint": "pnpm run lint:regex && pnpm run lint:awk-quotes && eslint .",
101 "lint:regex": "node scripts/lint-safe-regex.mjs",
102 "lint:awk-quotes": "node scripts/lint-awk-shim-quotes.mjs",
103 "perf:hooks": "pnpm run build && node scripts/profile-hooks.mjs",
104 "format": "prettier --write .",
105 "format:check": "prettier --check .",
106 "test": "pnpm run build && pnpm run test:dogfood && pnpm run test:bash-syntax && node scripts/run-vitest.mjs",
107 "test:watch": "vitest",
108 "test:coverage": "vitest run --coverage",
109 "test:dogfood": "node tools/check-dogfood-drift.mjs",
110 "test:bash-syntax": "bash -c 'for f in hooks/*.sh hooks/_lib/*.sh; do bash -n \"$f\" || exit 1; done && echo \"[bash-syntax] OK — all hooks parse cleanly\"'",
111 "test:perf": "pnpm run build && REA_INCLUDE_PERF=1 vitest run __tests__/scripts/profile-hooks.test.ts",
112 "type-check": "tsc --noEmit",
113 "changeset": "changeset",
114 "changeset:version": "changeset version",
115 "changeset:publish": "changeset publish"