[rm] kill pkginfo

This commit is contained in:
Jarrett Cruger 2013-12-01 22:21:21 -08:00
parent c713936e8d
commit 92311c81c3
2 changed files with 4 additions and 4 deletions

View file

@ -12,9 +12,9 @@ var fs = require('fs'),
nconf = module.exports = new Provider(); nconf = module.exports = new Provider();
// //
// Expose the version from the package.json using `pkginfo`. // Expose the version from the package.json
// //
require('pkginfo')(module, 'version'); nconf.version = require('../package.json').version;
// //
// Setup all stores as lazy-loaded getters. // Setup all stores as lazy-loaded getters.
@ -37,3 +37,4 @@ nconf.loadFiles = common.loadFiles;
nconf.loadFilesSync = common.loadFilesSync; nconf.loadFilesSync = common.loadFilesSync;
nconf.formats = require('./nconf/formats'); nconf.formats = require('./nconf/formats');
nconf.Provider = Provider; nconf.Provider = Provider;

View file

@ -18,8 +18,7 @@
"dependencies": { "dependencies": {
"async": "0.2.9", "async": "0.2.9",
"ini": "1.x.x", "ini": "1.x.x",
"optimist": "0.3.x", "optimist": "0.3.x"
"pkginfo": "0.2.x"
}, },
"devDependencies": { "devDependencies": {
"vows": "0.7.x" "vows": "0.7.x"