Comparing version 0.1.16 to 0.1.17
@@ -10,3 +10,4 @@ #!/usr/bin/env node | ||
const run = require('../index.js').run; | ||
const gulp = require('gulp'); | ||
require('../index.js')(); | ||
@@ -20,2 +21,2 @@ process.once("uncaughtException", err => { | ||
run(process.argv[1]); | ||
gulp.start(process.argv[1] || 'default'); |
@@ -6,2 +6,4 @@ /** | ||
const gulp = require('gulp'); | ||
module.exports = function main(userConfig) { | ||
@@ -11,7 +13,1 @@ require('./config')(userConfig); | ||
}; | ||
module.exports.run = function run(task) { | ||
const gulp = require('gulp'); | ||
gulp.start(task || 'default'); | ||
}; |
{ | ||
"name": "pagegenjs", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "Page generator using JavaScript on client and server.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163696
2092