quick-command-build
Advanced tools
Comparing version
@@ -9,3 +9,2 @@ 'use strict'; | ||
var path = require('path'); | ||
var exists = fs.existsSync; | ||
@@ -19,6 +18,6 @@ exports.register = function(commander,quick){ | ||
.option('-o, --outf <path>', 'set build out folder') | ||
.option('-q, --queue <queuestring>', 'set build queue,Use comma(,) separated') | ||
.option('-m, --moreLog <flag>', 'see more logs') | ||
.option('-u, --uglify <flag>', 'uglify js') | ||
.option('-p, --id <id>', 'set module prefix') | ||
.option('-q, --queue <string>', 'set build queue,Use comma(,) separated or all') | ||
.option('-m, --moreLog <boolean>', 'see more logs') | ||
.option('-u, --uglify <boolean>', 'uglify js') | ||
.option('-p, --id <string>', 'set module prefix') | ||
@@ -25,0 +24,0 @@ .action(function(){ |
{ | ||
"name" : "quick-command-build", | ||
"description" : "quick build command.", | ||
"version" : "0.1.27", | ||
"version" : "0.1.28", | ||
"author" : "QuickJs Team <q@quickjs.org>", | ||
@@ -10,3 +10,3 @@ "homepage" : "http://q.quickjs.org/", | ||
"type": "git", | ||
"url": "https://github.com/dreamstu/q-command-build.git" | ||
"url": "https://github.com/dreamstu/quick-command-build.git" | ||
}, | ||
@@ -17,5 +17,2 @@ "engines" : { | ||
"main" : "install.js", | ||
"scripts" : { | ||
"test" : "mocha test/ut --recursive" | ||
}, | ||
"dependencies" : { | ||
@@ -22,0 +19,0 @@ "quick-build-core":"^1.0.9" |
@@ -9,2 +9,21 @@ # quick-command-build | ||
-r, --root <path> set build root | ||
-r, --root <path> set build root | ||
-t, --temp <path> set up temporary folders for build | ||
-i, --inf <path> set build in folder | ||
-o, --outf <path> set build out folder | ||
-q, --queue <string> set build queue,Use comma(,) separated or all | ||
-m, --moreLog <boolean> see more logs | ||
-u, --uglify <boolean> uglify js | ||
-p, --id <string> set module prefix | ||
## 各参数含义 | ||
root:构建基础目录 | ||
temp:构建临时目录,相对于构建目录 | ||
inf:需要构建的组件父目录 | ||
outf:构建输出目录 | ||
queue:需要构建的组件队列,例如:underscore,jquery。如需构建inf下的所有组件,则只需指定为:all 即可 | ||
moreLog:构建时输出详细日志 | ||
uglify:是否压缩js | ||
id:模块的前缀(目录) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6015
12.94%29
222.22%0
-100%88
-1.12%