Remove dependency, ignore package-lock.json

This commit is contained in:
Peter Jaszkowiak
2017-06-01 14:04:05 -06:00
parent 44e55d2a98
commit 9a3b684228
3 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@@ -63,3 +63,4 @@ build
*.log
test/files/normalise.jpg.png
test/files/normalise-resized.jpg
package-lock.json

View File

@@ -46,7 +46,6 @@
"json-2-csv": "^2.0.22",
"less": "^2.0.0",
"lodash": "^4.17.4",
"lodash.padstart": "^4.6.1",
"logrotate-stream": "^0.2.3",
"lru-cache": "4.0.2",
"mime": "^1.3.4",

View File

@@ -3,7 +3,7 @@
var async = require('async');
var winston = require('winston');
var nconf = require('nconf');
var padstart = require('lodash.padstart');
var _ = require('lodash');
var cacheBuster = require('./cacheBuster');
var meta;
@@ -122,7 +122,7 @@ function buildTargets(targets, parallel, callback) {
}));
all(targets, function (target, next) {
targetHandlers[target](parallel, step(padstart(target, length) + ' ', next));
targetHandlers[target](parallel, step(_.padStart(target, length) + ' ', next));
}, callback);
}