Comparing version 0.1.3 to 0.1.4
@@ -9,2 +9,3 @@ var watch = require('node-watch'); | ||
config.rootFile = config.rootFile ? config.rootFile : 'boot'; | ||
config.options = config.options ? config.options : {}; | ||
config.dest = config.dest ? config.dest : 'script.js'; | ||
@@ -18,2 +19,11 @@ } | ||
cmd += ' --declaration'; | ||
var keys = Object.keys(config.options); | ||
for(var k in keys) | ||
{ | ||
cmd += ' --' + keys[k]; | ||
var value = config.options[keys[k]]; | ||
if(value !== null) | ||
cmd += ' "' + value.toString() + '"'; | ||
} | ||
@@ -72,5 +82,8 @@ return cmd; | ||
browserify: true, | ||
declarations : false | ||
declarations : false, | ||
options: { | ||
outDir: "..." | ||
} | ||
} | ||
} | ||
} |
{ | ||
"name": "dev-watch", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Watch files and compile/transform them for development purpose", | ||
@@ -5,0 +5,0 @@ "main": "./lib/dev-watch", |
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
16161
342