FIX: rename dirs to directories in package.json to conform to CommonJS