generator-xd-angular
Version:
AngularJS yeoman-generator using Angular-ui-router, sass-bootstrap, compass, mocha, gulp, font-awesome, ngdocs
19 lines (16 loc) • 469 B
JavaScript
var rootPath = process.env.PWD = process.cwd();
console.log('App rootPath: ' + rootPath);
console.log('Dev webRoot: ' + rootPath.concat('/dev'));
console.log('Prod webRoot: ' + rootPath.concat('/public'));
module.exports = {
development: {
rootPath: rootPath,
port: process.env.PORT || 8081,
webRoot: rootPath.concat('/dev')
},
production: {
rootPath: rootPath,
port: process.env.PORT || 8081,
webRoot: rootPath.concat('/public')
}
};