@ly.boy/i-cli
前端开发基础脚手架
Last updated 6 months ago by ly.boy .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ly.boy/i-cli 
SYNC missed versions from official npm registry.

前端项目脚手架

前端基础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

Current Tags

  • 2.0.5                                ...           latest (6 months ago)

14 Versions

  • 2.0.5                                ...           6 months ago
  • 2.0.4                                ...           6 months ago
  • 2.0.3                                ...           6 months ago
  • 2.0.2                                ...           6 months ago
  • 2.0.0                                ...           7 months ago
  • 1.0.8                                ...           7 months ago
  • 1.0.7                                ...           7 months ago
  • 1.0.6                                ...           7 months ago
  • 1.0.5                                ...           7 months ago
  • 1.0.4                                ...           8 months ago
  • 1.0.3                                ...           8 months ago
  • 1.0.2                                ...           8 months ago
  • 1.0.1                                ...           8 months ago
  • 1.0.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (71)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |