MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / buildPackageScripts

Function buildPackageScripts

packages/cli/src/commands/init.ts:224–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222}
223
224function buildPackageScripts(): Record<string, string> {
225 return {
226 dev: hyperframesScript("preview"),
227 check:
228 `${hyperframesScript("lint")} && ${hyperframesScript("validate")} && ` +
229 `${hyperframesScript("inspect")}`,
230 render: hyperframesScript("render"),
231 publish: hyperframesScript("publish"),
232 };
233}
234
235function writeDefaultPackageJson(destDir: string, projectName: string): void {
236 const packageJsonPath = resolve(destDir, "package.json");

Callers 1

writeDefaultPackageJsonFunction · 0.85

Calls 1

hyperframesScriptFunction · 0.85

Tested by

no test coverage detected