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

tsl-cli

v2.2.3

Published

tsl-cli

Downloads

194

Readme

介绍

特性

tsl-cli 脚手架支持的能力如下:

  • 快速创建新项目,项目已完成目录统一、规范统一、webpack配置优化等特性
  • 支持通过远程模板构建新项目
  • 内置微前端主应用服务,保持本地微应用的开发方式不做改变
  • 支持开发和打包基础组件库
  • 支持开发和打包轻应用业务组件
  • 同时支持vue2、vue3两个版本
  • 支持本地文件上传oss存储

需要更多功能,等您反馈。。。

支持环境

  • macos
  • windows
  • linux

版本

  • 稳定版:v2.0

安装

  • npm 安装
npm install tsl-cli -g
  • yarn 安装
yarn global add tsl-cli

查看帮助

tsl-cli -h

帮助 

          特斯联前端脚手架: tsl-cli v2.1.5
          tsl-cli脚手架支持的能力:
            1》内置多类项目模板
            2》内置多种皮肤色调
            3》创建统一的项目结构
            4》内置统一的项目规范
            5》内置微前端主应用服务
            6》支持组件库开发
            7》支持studio组件库开发
            8》支持本地文件oss存储

              $$        $$$$$    $$
              $$      $$         $$
           $$$$$$$$   $$         $$
              $$        $$$$     $$
              $$            $$   $$
              $$            $$   $$
              $$$$     $$$$$     $$$$$$


Options:
  -v, --version                      output the version number
  -h, --help                         display help for command

Commands:
  init <name>                        创建一个初始化项目
  dev [options]                      开发
  build [options]                    构建
  compile [options]                  编译
  clean <cache>                      清除缓存
  standard [options]                 规范
  test [options]                     单元测试
  config [options] [template] [url]  修改脚手架配置
  ui                                 ui界面
  oss                                oss存储配置
  help [command]                     display help for command

  Examples:
    tsl-cli init
    tsl-cli clean cache
    tsl-cli dev
    tsl-cli build
    tsl-cli compile

开发

tsl-cli dev

开发

Options:
  -t, --type [type]  指定类型: project | uc | studio
  -h, --help         display help for command

项目打包

tsl-cli build

构建

Options:
  -m, --mode [mode]  指定打包模式: string (default: "master")
  -t, --type [type]  指定类型: project | uc | studio
  -h, --help         display help for command

编译library

tsl-cli compile

编译

Options:
  -t, --type [type]     指定类型: uc | studio | library
  -m, --mode [mode...]  指定模式: es | commonjs | umd (default: "es commonjs umd")
  -s, --src [src]       源文件目录 (default: "src")
  -w, --watch           监听变化 (default: false)
  -h, --help            display help for command

链接

oss 戳这里

如何贡献

如果你希望参与贡献