2015-03-17 12:49:07 -04:00
|
|
|
var Package = require('dgeni').Package;
|
|
|
|
var basePackage = require('../dgeni-package');
|
|
|
|
|
2015-05-15 08:57:38 -04:00
|
|
|
module.exports = new Package('angular-public', [basePackage])
|
2015-03-17 12:49:07 -04:00
|
|
|
|
2015-05-15 08:57:38 -04:00
|
|
|
.config(function(readTypeScriptModules) {
|
|
|
|
readTypeScriptModules.sourceFiles = [
|
|
|
|
'angular2/annotations.js',
|
|
|
|
'angular2/change_detection.ts',
|
|
|
|
'angular2/core.js',
|
|
|
|
'angular2/di.ts',
|
|
|
|
'angular2/directives.js',
|
|
|
|
'angular2/forms.js',
|
|
|
|
'angular2/router.js',
|
|
|
|
'angular2/test.js',
|
|
|
|
'angular2/pipes.js'
|
|
|
|
];
|
|
|
|
readTypeScriptModules.hidePrivateMembers = true;
|
|
|
|
})
|
|
|
|
|
|
|
|
.config(function(getLinkInfo) {
|
|
|
|
getLinkInfo.useFirstAmbiguousLink = false;
|
|
|
|
})
|
|
|
|
|
2015-03-17 12:49:07 -04:00
|
|
|
// Configure file writing
|
|
|
|
.config(function(writeFilesProcessor) {
|
|
|
|
writeFilesProcessor.outputFolder = 'dist/public_docs';
|
2015-04-10 06:45:02 -04:00
|
|
|
});
|