refactored npm dependencies