slush-rojo2
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "slush-rojo2", | ||
"description": "ROJO 2 Slush Template", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/rojo2/slush-rojo2", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -5,3 +5,3 @@ /* | ||
* | ||
* Copyright (c) 2014, | ||
* Copyright (c) 2014, | ||
* Licensed under the BSD license. | ||
@@ -30,10 +30,15 @@ */ | ||
configFile = homeDir + "/.gitconfig", | ||
user = {}; | ||
user = { | ||
name: "test", | ||
email: "test@test.com" | ||
}; | ||
if (require("fs").existsSync(configFile)) { | ||
user = require("iniparser").parseSync(configFile).user; | ||
iniUser = require("iniparser").parseSync(configFile).user; | ||
} | ||
return { | ||
appName: workingDirName, | ||
userName: format(user.name) || osUserName, | ||
authorEmail: user.email || "" | ||
userName: (user && format(user.name)) || osUserName, | ||
authorEmail: (user && user.email) || "" | ||
}; | ||
@@ -40,0 +45,0 @@ })(); |
@@ -45,3 +45,3 @@ "use strict"; | ||
gulp.task("scripts-lint", () => { | ||
gulp.task("scripts:lint", () => { | ||
@@ -65,3 +65,3 @@ gulp.src(CONFIG.SRC.SCRIPTS) | ||
gulp.task("styles-lint", () => { | ||
gulp.task("styles:lint", () => { | ||
@@ -95,3 +95,3 @@ gulp.src(CONFIG.SRC.STYLES) | ||
gulp.task("watch", ["scripts", "templates", "styles"], () => { | ||
gulp.task("watch", ["build"], () => { | ||
@@ -110,2 +110,4 @@ gulp.watch(CONFIG.SRC.SCRIPTS, ["scripts"]); | ||
gulp.task("build", ["scripts", "templates", "styles"]); | ||
gulp.task("default", ["watch"]); |
@@ -7,2 +7,3 @@ { | ||
"scripts": { | ||
"build": "./node_modules/.bin/gulp build", | ||
"start": "./node_modules/.bin/gulp", | ||
@@ -9,0 +10,0 @@ "test": "./node_modules/.bin/karma start" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
45897
49
366