Comparing version 0.1.2 to 0.1.3
@@ -6,3 +6,3 @@ #! /usr/bin/env node | ||
// 合并文件 | ||
var combine = require('../lib/combine').combine; | ||
var combine = require('../lib/combine'); | ||
@@ -25,6 +25,6 @@ // 命令参数 | ||
console.log(' File: ./test.js'); | ||
console.log(' Usage: node ' + app + ' --path ./ --file test --type js -output test.min.js'); | ||
console.log(' Usage: node ' + app + ' --path ./ --file test --type js -output test.combine.js'); | ||
console.log(' CSS'); | ||
console.log(' File: ./test.css'); | ||
console.log(' Usage: node ' + app + ' --path ./ --file test.css --type css --output test.min.css'); | ||
console.log(' Usage: node ' + app + ' --path ./ --file test.css --type css --output test.combine.css'); | ||
process.exit(); | ||
@@ -31,0 +31,0 @@ } |
#! /usr/bin/env node | ||
/** | ||
* @author FlashSoft | ||
*/ | ||
// 引入的模块 | ||
@@ -70,3 +72,3 @@ var fs = require('fs'), path = require('path'); | ||
} | ||
exports.combine = combine; | ||
modules.exports = combine; | ||
{ | ||
"name": "combine", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "JavaScript combine and CSS combine", | ||
@@ -5,0 +5,0 @@ "keywords": "combine, dev", |
4286
104
25