-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpfile.js
34 lines (32 loc) · 1.09 KB
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
var gulp = require('gulp');
var ngGulp = require('@microfocus/ng-gulp');
var path = require('path');
var cwd = process.cwd();
ngGulp(gulp, {
autoTest: false,
cssBasename: 'ng-ias',
devServer: false,
jsBasename: 'ng-ias',
externals: {
'angular-ui-router': 'window["angular-ui-router"]'
},
files: {
sassManifest: [
path.resolve(cwd, 'src/ng-ias.scss'),
path.resolve(cwd, 'src/ng-ias_dark.scss')
],
typescriptMainDevelopment: path.resolve(cwd, 'src/ng-ias.module.ts'),
typescriptMainProduction: path.resolve(cwd, 'src/ng-ias.module.ts'),
typescriptMainTest: path.resolve(cwd, 'src/ng-ias.module.ts'),
vendorDevelopment: [
// There should not be any vendor dependencies in this library
],
vendorProduction: [
// There should not be any vendor dependencies in this library
],
vendorTest: [
path.resolve(cwd, 'node_modules/angular/angular.js'),
path.resolve(cwd, 'node_modules/angular-mocks/angular-mocks.js')
]
}
});