Basic
Here you can see all basic options, like defining paths to folders and important names.
mainAngularModule
mainAngularModule
Description | Type | Default |
---|---|---|
Main angular module of project. Will be used on $templateCache provider when generate partials. | String | 'MainAngularModule' |
src
src
Description | Type | Default |
---|---|---|
Source folder, where source code is present. | String | 'src' |
tmp
tmp
Description | Type | Default |
---|---|---|
Temporary development folder, where code is present on development. | String | 'builds/dev' |
dist
dist
Description | Type | Default |
---|---|---|
Production folder, where source code is present on final version. | String | 'builds/release' |
e2e
e2e
Description | Type | Default |
---|---|---|
Location for e2e tests | String | 'e2e' |
devTasks
devTasks
Description | Type | Default |
---|---|---|
Tasks of Dev Phase | Array | ['dev', 'watch', 'watchTests', 'serve', 'serve:e2e'] |
specFiles
specFiles
Description | Type |
---|---|
Pattern for spectation files | Array |
defaultOptions.specFiles = [
defaultOptions.src + '/**/*.spec.js',
defaultOptions.tmp + '/**/*.spec.js',
defaultOptions.src + '/**/*.mock.js',
defaultOptions.tmp + '/**/*.mock.js'
];
excludes
excludes
Description | Type |
---|---|
You can define some exclude pattern to tasks | Object |
defaultOptions.excludes = {
stylesFromIndexImport: [
defaultOptions.src + '/app/index.scss',
defaultOptions.src + '/app/vendor.scss',
defaultOptions.src + '/app/project/styles/**/*.scss'
]
};
excludes.stylesFromIndexImport
excludes.stylesFromIndexImport
Description | Type |
---|---|
Pattern to exclude files of the auto inject in index.scss | Array |
Updated less than a minute ago