New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tsl-cli

Package Overview
Dependencies
Maintainers
0
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsl-cli

tsl-cli

latest
npmnpm
Version
2.2.3
Version published
Weekly downloads
8
14.29%
Maintainers
0
Weekly downloads
 
Created
Source

介绍

特性

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

链接

  • 项目地址 gitlab

oss 戳这里

如何贡献

如果你希望参与贡献

Keywords

tsl-cli

FAQs

Package last updated on 27 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts