@ly.boy/i-cli

2.0.5 • Public • Published

前端项目脚手架

前端基础webpack封装,以实现webpack 打包编译的统一管理

install

npm install -g  @ly.boy/i-cli 

脚手架使用

  • 创建项目

     i init
  • 选择项目模版

     liyingdeMacBook-Pro:t liying$ i init
     ? 请选择工程模版? (Use arrow keys)
     ❯ h5项目react基础模版 
       pc项目react基础模版 

    输入项目名称 例:t_h5

     ? 请选择工程模版? h5项目react基础模版
     ? 请输入项目名称 t_h5
     ? 当前目录创建 t_h5 项目,项目模版(h5项目react基础模版)? (Y/n) 
  • 开发调试

     cd t_h5
     npm install
     npm run dev
  • 编译预览 打包:可以通过 build:test 、build:test2、 build:test3 、build:prod build:pre 编译不通环境

     npm run build
     npm run serve

项目模版更新(主要是项目模版配置文件记录gitlab 项目模版地址)

i update

Readme

Keywords

none

Package Sidebar

Install

npm i @ly.boy/i-cli

Weekly Downloads

0

Version

2.0.5

License

ISC

Unpacked Size

84.9 kB

Total Files

58

Last publish

Collaborators

  • ly.boy