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

@forestxie/fst-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forestxie/fst-cli

一套快速生成项目的脚手架

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

@forestxie/fst-cli

项目脚手架,整合各个模板,一键生成模板。提高生产力

安装

npm i @forestxie/fst-cli -g
cnpm i @forestxie/fst-cli -g
yarn add @forestxie/fst-cli -g

功能

项目初始化

cunw init <you project name>

帮助

cunw help

查看版本

cunw -V

提供模板

1. vue 2.0

自定义配置

  • 是否使用移动端适配
  • 是否兼容安卓4.4.0版本
  • 是否配置微信sdk
  • 环境选择: 本地、开发、测试、生产、灰度、预发布

2. 基于vue的活动页h5多页面

活动页h5多页面配置,并结合jenkins和nginx实现,每次增加一个页面,只需要在jenkins的动态参数中增加一个参数

3. 使用rollup做构建工具,适用于编写组件或库

rollup是一款专业打包js的打包工具,比起webpack打包速度更快,体积更小。适用于组件和库的开发打包。

自定义配置

  • es – 将软件包保存为ES模块文件
  • cjs – CommonJS,适用于 Node 和 Browserify/Webpack
  • amd 异步模块定义,用于像RequireJS这样的模块加载器
  • umd – 通用模块定义,以amd,cjs 和 iife 为一体

更多模板还在路上..

Keywords

cli

FAQs

Package last updated on 20 Apr 2021

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