import { t } from './i18n' ; param options param options . localOnly param options . addMock param options . sapClient param options . flpAppId param options . startFile param options . localStartFile description returns export function getPackageJsonTasks ( { localOnly , addMock = true , sapClient , flpAppId = '' , startFile , localStartFile } ) { const sapClientParam = sapClient ? `?sap-client=${ sapClient }` : '' ; const params = `${ sapClientParam ?? '' }${ flpAppId ? `#${ flpAppId }` : '' }` ; const startCommand = localOnly ? `echo \\"${ t ( 'info.mockOnlyWarning' ) }\\"` : `fiori run --open '${ startFile || 'test/flpSandbox.html' }${ params }'` ; const startLocalCommand = `fiori run --config ./ui5-local.yaml --open '${ localStartFile || 'test/flpSandbox.html' }${ params }'` ; const startNoFlpCommand = localOnly ? `echo \\"${ t ( 'info.mockOnlyWarning' ) }\\"` : `fiori run --open '${ 'index.html' }${ sapClientParam }'` ; const mockTask = `fiori run --config ./ui5-mock.yaml --open 'test/flpSandbox.html${ params }'` ; return Object . assign ( { start : startCommand , 'start-local' : startLocalCommand , 'start-noflp' : startNoFlpCommand } , addMock ? { 'start-mock' : mockTask } : { } ) ; }