14 lines
370 B
JavaScript
14 lines
370 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var fs = require('fs');
|
||
|
var path = require('canonical-path');
|
||
|
|
||
|
/**
|
||
|
* Load information about this project from the package.json
|
||
|
* @return {Object} The package information
|
||
|
*/
|
||
|
module.exports = function packageInfo() {
|
||
|
|
||
|
var topLevelPackageJson= path.join('../angular','package.json');
|
||
|
return JSON.parse(fs.readFileSync(topLevelPackageJson), 'UTF-8');
|
||
|
}
|