import { importBlog } from './blog' ; import { importConfig } from './config' ; import { importGallery } from './gallery' ; import { importPartners } from './partners' ; import { importPreviousSpeakers } from './previous-speakers' ; import { importSchedule } from './schedule' ; import { importSessions } from './sessions' ; import { importSpeakers } from './speakers' ; import { importTeam } from './team' ; import { importTickets } from './tickets' ; import { importVideos } from './videos' ; importConfig ( ) . then ( ( ) => importBlog ( ) ) . then ( ( ) => importGallery ( ) ) . then ( ( ) => importPartners ( ) ) . then ( ( ) => importPreviousSpeakers ( ) ) . then ( ( ) => importSchedule ( ) ) . then ( ( ) => importSessions ( ) ) . then ( ( ) => importSpeakers ( ) ) . then ( ( ) => importTeam ( ) ) . then ( ( ) => importTickets ( ) ) . then ( ( ) => importVideos ( ) ) . then ( ( ) => { console . log ( 'Finished' ) ; process . exit ( ) ; } ) . catch ( ( err ) => { console . log ( err ) ; process . exit ( ) ; } ) ;