# ebuild-cli **Repository Path**: theajack/ebuild-cli ## Basic Information - **Project Name**: ebuild-cli - **Description**: No description available - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-22 - **Last Updated**: 2022-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ebuild-cli ### 🚀一键搭建webpack、babel、eslint、less、commitlint、typescript、vue、react等开发环境

Version Downloads License TopLang issue

[English](https://github.com/theajack/ebuild-cli/blob/master/README.md) ## 1. 安装: ``` npm i -g ebuild-cli ``` ## 2. 初始化 在你希望创建项目的目录下运行一下命令 ``` ebuild init cd npm install ``` 安装过程中有以下模板可供选择 1. 默认模式:包含webpack、babel、eslint、commitlint 2. css模式:默认模式 + css和less支持 3. typescript:默认模式 + ts 支持 4. npm包定制版本: typescript + less + jest + webpack 5. npm包定制版本2: typescript + webpack, 自动生成toc和npm目录 6. vue: vue2.x + vue-router + vuex 7. vue3: vue3 + typescript + vue-router4 + vuex4 8. react: react17 + typescript + redux + sass 9. node-es6: node + express + es6 + webpac 10. 原始模式:不推荐 ---- 附加功能: 启动一个开发服务器 ``` ebuild run ``` ## QA 如在windos上遇到 C:\xxx\Roaming\npm\ebuild.ps1,因为在此系统上禁止运行脚本。 请CMD执行 set-ExecutionPolicy RemoteSigned