Support "local" directive in component.json.