2015-09-16 02:21:55 -04:00
|
|
|
'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() {
|
|
|
|
|
2015-09-17 04:53:37 -04:00
|
|
|
var angularPackageJson= path.join('../angular','package.json');
|
|
|
|
return JSON.parse(fs.readFileSync(angularPackageJson), 'UTF-8');
|
2015-09-16 02:21:55 -04:00
|
|
|
}
|