expose filename

This commit is contained in:
AJ ONeal 2017-04-07 01:45:24 -06:00
parent 8d4af3894a
commit 0e9f43fe34
2 changed files with 7 additions and 4 deletions

View File

@ -78,7 +78,10 @@
console.error(file); console.error(file);
} }
obj[keyname][filename] = data || obj[keyname][filename]; data = obj[keyname][filename] = data || obj[keyname][filename];
if (data) {
data.filename = file.name;
}
/* /*
if (!obj[keyname][filename]) { if (!obj[keyname][filename]) {
obj[keyname][filename] = {}; obj[keyname][filename] = {};

View File

@ -8,7 +8,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git@github.com:DearDesi/desirae.git" "url": "git@git.daplie.com:Daplie/desirae.git"
}, },
"keywords": [ "keywords": [
"dear", "dear",
@ -25,9 +25,9 @@
"author": "AJ ONeal", "author": "AJ ONeal",
"license": "Apache2", "license": "Apache2",
"bugs": { "bugs": {
"url": "https://github.com/DearDesi/desirae/issues" "url": "https://git.daplie.com/Daplie/desirae/issues"
}, },
"homepage": "https://github.com/DearDesi/desirae", "homepage": "https://git.daplie.com/Daplie/desirae",
"dependencies": { "dependencies": {
"bluebird": "^2.5.3", "bluebird": "^2.5.3",
"escape-string-regexp": "^1.0.2", "escape-string-regexp": "^1.0.2",