The company I work for requires at least 1 fltdeck member to be on board. (Something to do with insurance liabilities)
& of course min cabin crew compliment which includes the No1/Purser
Was changed a couple of years ago from maintenance crew required.