gulp-i18n-leverage
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -79,4 +79,4 @@ /* | ||
r.path = file.path; | ||
r.base = file.base; | ||
r.srcBase = file.base.substr(0, file.base.length - 1); | ||
r.base = file.base[file.base.length - 1] === path.sep ? file.base : file.base + path.sep; | ||
r.srcBase = file.base.substr(0, r.base.length - 1); | ||
r.distBase = r.srcBase.substr(0, r.srcBase.length - srcPath.length) + distPath; | ||
@@ -89,2 +89,3 @@ r.urlPath = file.path.substr(r.srcBase.length); | ||
r.extName = path.extname(r.fileName); | ||
console.log(r); | ||
var baseNameWithLang = r.fileName.substr(0, r.fileName.length - r.extName.length); | ||
@@ -416,3 +417,3 @@ var splitBaseName = baseNameWithLang.split('.'); | ||
var paths = parsePath(); | ||
//console.log(paths); | ||
console.log(paths); | ||
var result = update(paths, contents); | ||
@@ -419,0 +420,0 @@ if (result) { |
{ | ||
"name": "gulp-i18n-leverage", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Merge changes in default JSON into localized JSON for i18n-behavior", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "mocha" | ||
}, | ||
@@ -35,3 +35,10 @@ "repository": { | ||
"through2": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"gulp": "^3.9.1", | ||
"gulp-debug": "^2.1.2", | ||
"is-stream": "^1.0.1", | ||
"mocha": "^2.4.5" | ||
} | ||
} |
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
46112
12
972
1
5
2