Refactoring npm scripts into separate files