MCPcopy
hub / github.com/callstack/haul / getRunScript

Function getRunScript

packages/haul-cli/src/commands/init.ts:260–262  ·  view source on GitHub ↗
(scriptName: string)

Source from the content-addressed store, hash-verified

258}
259
260function getRunScript(scriptName: string) {
261 return `yarn run ${scriptName}`;
262}
263
264async function addHaulScript(progress: Ora, cwd: string): Promise<string> {
265 const packageJson = require(path.join(cwd, 'package.json'));

Callers 1

handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected