npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

le-cli

v0.2.6

Published

前端项目构建实践

Downloads

13

Readme

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, 作为前台程序使用。