REFACTOR: change dirs to directories in package.json