REFACTOR: rename package.json dirs to directories