code: function addFiles(name) {
    const componentDir = `${packagesDir}/${name}`;
    const componentSrcDir = `${packagesDir}/${name}/src`;
    const componentStyleDir = `${packagesDir}/${name}/style`;
    const upperComponentName = getComponentName(name);
    /* eslint-disable-next-line */
    console.log(`Adding new component：${upperComponentName}`);
  
    if (!fs.existsSync(componentDir)) {
      fs.mkdirSync(componentDir);
      fs.mkdirSync(componentSrcDir);
      fs.mkdirSync(componentStyleDir);
    } else {
      /* eslint-disable-next-line */
      console.log(`${upperComponentName} already exists, please choose another name.`);
      process.exit(2);
    }
    addFilesToIndex(name);
  }
docs: 创建组件文件夹以及js/css文件