add optimist to package dependencies