@bbtfe/procli
前端工程化命令工具,一键创建目录结构
Last updated 4 days ago by mzg123 .
ISC · Original npm · Tarball · package.json
$ cnpm install @bbtfe/procli 
SYNC missed versions from official npm registry.

前端工程化命令

组件功能

背景
前端项目需求变化快,开发周期短,为了提供效率,将项目初始化、编译打包、测试等流程通过工程化的方式固定下来
让项目人员只关注业务本身,省去搭建项目、配置编译项的琐碎时间。
目前支持 
base模版是构建静态页面的模版
react模版引入了react相关的模块
vue模版引入了vue相关模块
react-router 在react的基础上增加router
vue-router在vue的基础上增加router

Install

npm i @bbtfe/procli

use

procli -t react/base appname
进入到appname 执行npm i 安装依赖

npm run build  编译
npm run server 启动本地server
npm run watch  监视本地改动
npm run test。 测试

注意

procli -t react/base appname 执行后 进入appname 根据实际情况 修改 buildconfig/baseconfig.js 配置文件中相关路径配置

Current Tags

  • 0.0.47                                ...           latest (4 days ago)

45 Versions

  • 0.0.47                                ...           4 days ago
  • 0.0.46                                ...           3 months ago
  • 0.0.45                                ...           3 months ago
  • 0.0.44                                ...           3 months ago
  • 0.0.43                                ...           3 months ago
  • 0.0.42                                ...           3 months ago
  • 0.0.41                                ...           3 months ago
  • 0.0.40                                ...           3 months ago
  • 0.0.39                                ...           4 months ago
  • 0.0.38                                ...           5 months ago
  • 0.0.37                                ...           5 months ago
  • 0.0.36                                ...           5 months ago
  • 0.0.35                                ...           5 months ago
  • 0.0.34                                ...           6 months ago
  • 0.0.33                                ...           6 months ago
  • 0.0.32                                ...           6 months ago
  • 0.0.31                                ...           6 months ago
  • 0.0.30                                ...           6 months ago
  • 0.0.29                                ...           6 months ago
  • 0.0.28                                ...           6 months ago
  • 0.0.27                                ...           6 months ago
  • 0.0.26                                ...           6 months ago
  • 0.0.25                                ...           6 months ago
  • 0.0.24                                ...           6 months ago
  • 0.0.23                                ...           6 months ago
  • 0.0.22                                ...           6 months ago
  • 0.0.21                                ...           6 months ago
  • 0.0.20                                ...           6 months ago
  • 0.0.19                                ...           6 months ago
  • 0.0.18                                ...           6 months ago
  • 0.0.17                                ...           6 months ago
  • 0.0.16                                ...           6 months ago
  • 0.0.15                                ...           6 months ago
  • 0.0.14                                ...           6 months ago
  • 0.0.13                                ...           6 months ago
  • 0.0.12                                ...           6 months ago
  • 0.0.11                                ...           6 months ago
  • 0.0.10                                ...           6 months ago
  • 0.0.7                                ...           6 months ago
  • 0.0.6                                ...           6 months ago
  • 0.0.5                                ...           6 months ago
  • 0.0.4                                ...           7 months ago
  • 0.0.3                                ...           7 months ago
  • 0.0.2                                ...           7 months ago
  • 0.0.1                                ...           7 months ago
Downloads
Today 0
This Week 0
This Month 53
Last Day 0
Last Week 53
Last Month 0
Dependencies (3)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |