tapc
v1.4.7
Published
Toolkit for front-end development
Downloads
34
Readme
tapc
Install
$ npm install -g tapc
Usage
$ tapc --help
Usage: tapc
[command] [options]
Commands:
assets [options] 启动 CDN 文件映射服务
build 执行项目构建
init [options] 启动 init 命令
link [options] 链接当前目录到 [root]/[group]
monitor [options] 启动 monitor 命令;如: tap monitor
preview 启动 wormhole 预览服务
server 启动本地开发服务器
watch 监听文件变化,自动执行项目构建
Options:
-h, --help output usage information
-v, --version output the version number
--debug 输出详细的log
--ignoreCore 忽略核心输出的内容
--config 指定配置文件
--refresh 拉取最新线上默认配置
Examples:
$ tap init -h
$ tap link -h
$ tap server
$ tap build
Test
$ npm run build # build the source code with babel
$ npm run dev # build automatically when files change
$ npm run test # run unit tests
License
The MIT License (MIT)
Copyright (c) 2015 tmallfe
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.