You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

quick-command-build

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quick-command-build - npm Package Compare versions

Comparing version

to
0.1.28

9

install.js

@@ -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:模块的前缀(目录)