add: support global transforms
require transforms within dependencies

so now transforms is an array of functions instead of an array of strings