import { unixEOL } from '@sap-cloud-sdk/util' ; param packageName param description param sdkVersion param packageVersion returns internal export function packageJson ( packageName , description , sdkVersion , packageVersion ) { return ( JSON . stringify ( { name : packageName , version : packageVersion , description , homepage : 'https://sap.github.io/cloud-sdk/docs/js/getting-started' , main : './index.js' , types : './index.d.ts' , publishConfig : { access : 'public' } , files : [ '**/*.js' , '**/*.js.map' , '**/*.d.ts' , '**/d.ts.map' ] , repository : { type : 'git' , url : '' } , scripts : { compile : 'npx tsc' } , dependencies : { '@sap-cloud-sdk/openapi' : `^${ sdkVersion }` } , peerDependencies : { '@sap-cloud-sdk/openapi' : `^${ sdkVersion }` } , devDependencies : { typescript : '~4.1.2' } } , null , 2 ) + unixEOL ) ; } internal export const genericDescription = ( packageName ) : string => `SAP Cloud SDK for JavaScript: Generated client for OpenAPI service ${ packageName . split ( '-' ) . join ( ' ' ) }` ;