lib/context.js
function( packageFilename, options ) {
    if( typeof options === 'undefined' ) options = {};

    packageFilename = Path.resolve( packageFilename );
    if( false == FS.existsSync() ) 
        this.fatal( "Package file not found: \"" + packageFilename + "\"" );
    
    var prjDir = Path.dirname( packageFilename );
    this._prjDir = Path.resolve( prjDir );
    this._libDir = Path.resolve( Path.join(__dirname, "../ker") );
    this._tplDir = Path.resolve( Path.join(__dirname, "../tpl") );
    this._srcDir = mkdir.call( this, prjDir, "src" );
    this._docDir = mkdir.call( this, prjDir, "doc" );
    this._tmpDir = mkdir.call( this, prjDir, "tmp" );
    this._wwwDir = mkdir.call( this, prjDir, "www" );

}
function( packageFilename, options ) {
    if( typeof options === 'undefined' ) options = {};

    packageFilename = Path.resolve( packageFilename );
    if( false == FS.existsSync() ) 
        this.fatal( "Package file not found: \"" + packageFilename + "\"" );
    
    var prjDir = Path.dirname( packageFilename );
    this._prjDir = Path.resolve( prjDir );
    this._libDir = Path.resolve( Path.join(__dirname, "../ker") );
    this._tplDir = Path.resolve( Path.join(__dirname, "../tpl") );
    this._srcDir = mkdir.call( this, prjDir, "src" );
    this._docDir = mkdir.call( this, prjDir, "doc" );
    this._tmpDir = mkdir.call( this, prjDir, "tmp" );
    this._wwwDir = mkdir.call( this, prjDir, "www" );

}
function ( packageFilename , options ) { if ( typeof options === 'undefined' ) options = { } ; packageFilename = Path . resolve ( packageFilename ) ; if ( false == FS . existsSync ( ) ) this . fatal ( "Package file not found: \"" + packageFilename + "\"" ) ; var prjDir = Path . dirname ( packageFilename ) ; this . _prjDir = Path . resolve ( prjDir ) ; this . _libDir = Path . resolve ( Path . join ( __dirname , "../ker" ) ) ; this . _tplDir = Path . resolve ( Path . join ( __dirname , "../tpl" ) ) ; this . _srcDir = mkdir . call ( this , prjDir , "src" ) ; this . _docDir = mkdir . call ( this , prjDir , "doc" ) ; this . _tmpDir = mkdir . call ( this , prjDir , "tmp" ) ; this . _wwwDir = mkdir . call ( this , prjDir , "www" ) ; }
This is the context of a project. A project is definied by its `package.json` file.
This is the context of a project . A project is definied by its package . json file .