[rm] kill pkginfo
This commit is contained in:
parent
c713936e8d
commit
92311c81c3
2 changed files with 4 additions and 4 deletions
|
@ -12,9 +12,9 @@ var fs = require('fs'),
|
|||
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.
|
||||
|
@ -37,3 +37,4 @@ nconf.loadFiles = common.loadFiles;
|
|||
nconf.loadFilesSync = common.loadFilesSync;
|
||||
nconf.formats = require('./nconf/formats');
|
||||
nconf.Provider = Provider;
|
||||
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
"dependencies": {
|
||||
"async": "0.2.9",
|
||||
"ini": "1.x.x",
|
||||
"optimist": "0.3.x",
|
||||
"pkginfo": "0.2.x"
|
||||
"optimist": "0.3.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vows": "0.7.x"
|
||||
|
|
Loading…
Reference in a new issue