separate local and npm dependencies in declaration section