Giter Club home page Giter Club logo

yanlele / le-cli Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 1.0 780 KB

前端工程化:创建项目,自动开发生成脚手架、webpack配置文件;开发完成后构建项目,进行压缩合并,并行生产环境和开发环境,构建前后端分离的中间层mock接口服务。集成vue,react等单页面spa环境以及集成jquery为基础的多页开发环境;添加node层后台项目构建,express和koa; 增加TS构建koa项目、TSX项目

TypeScript 100.00%

le-cli's Introduction

le-cli

前端工程化:创建项目,自动开发生成脚手架、webpack配置文件;开发完成后构建项目,进行压缩合并,并行生产环境和开发环境。

所有模板项目文件都迁移到https://github.com/cli-template-build 做集体维护

安装

npm install le-cli -g

使用

在您需要构建项目的目录, 直接使用命令行 tpm-cli -s
查看帮助 tpm-cli或者tpm-cli --help

01

已添加的项目构建

  • 多页jquery程序+handlebars模板引擎
  • 基于TypeScript+webpack多页打包的前台程序
  • react+redux+antd+jsonServerMockjs
  • react+redux+antd+next服务端渲染
  • koa程序+MySql连接数据库
  • koa程序+基于TypeScript+MySql
  • 基于TypeScript+react+saga项目
  • 小程序 - 基于tina的小程序构建项目

版本升级说明

  • 0.2.5

    • 因为win 不能夸盘符使用 move 文件, 故改为copy 方式
  • 0.2.2

    • 因为某些电脑已经有tpm命令了,命令行冲突, 启动命令行改为 tpm-cli
  • 0.2.1

    • 添加远程更新模板数据 实现动态加载
    • 如果远程获取失败, 走本地数据下载项目
    • 修改日志以及loading
  • 0.2.0

    • 重要更新
    • 所有模板项目文件都迁移到https://github.com/cli-template-build 做集体维护
    • 此初始化构建项目和模板文件分离, 只做一个初始化构建工具单独维护和发版
  • 0.1.10

    • 项目构建改造成为了 TS 构建工具
  • 0.0.10

    • 添加了 基于TypeScript+react+saga项目
    • TypeScript-multipage 项目添加了 live-server 启动项目
    • TypeScript-multipage 添加了handlebars-loader
  • 0.0.8

    • 添加基于next 的react 服务端渲染项目模板。 内置redux+antd, 作为前台程序使用。

le-cli's People

Contributors

yanlele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

nick2834

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.