Fix test identities
[groupbasedpolicy.git] / groupbasedpolicy-ui / module / src / main / resources / gbp / build.config.js
1 /**
2  * This file/module contains all configuration for the build process.
3  */
4 module.exports = {
5     /**
6      * The `build_dir` folder is where our projects are compiled during
7      * development and the `compile_dir` folder is where our app resides once it's
8      * completely built.
9      */
10     build_dir: 'build',
11     app_dir: 'app',
12
13     /**
14      * This is a collection of file patterns that refer to our app code (the
15      * stuff in `src/`). These file paths are used in the configuration of
16      * build tasks. `js` is all project javascript, less tests. `ctpl` contains
17      * our reusable components' (`src/common`) template HTML files, while
18      * `atpl` contains the same, but for our app's code. `html` is just our
19      * main HTML file, `less` is our main stylesheet, and `unit` contains our
20      * app's unit tests.
21      */
22     app_files: {
23         js: ['*/**/*.js', '!node/**/*.*', '!node_modules/**/*.*', '!vendor/**/*.*'],
24         root_js: ['main.js'],
25
26         templates: ['*/**/*.tpl.html'],
27     },
28
29     assets_files: {
30         css: ['common/*.css'],
31     },
32
33     /**
34      * This is a collection of files used during testing only.
35      */
36
37
38     /**
39      * This is the same as `app_files`, except it contains patterns that
40      * reference vendor code (`vendor/`) that we need to place into the build
41      * process somewhere. While the `app_files` property ensures all
42      * standardized files are collected for compilation, it is the user's job
43      * to ensure non-standardized (i.e. vendor-related) files are handled
44      * appropriately in `vendor_files.js`.
45      *
46      * The `vendor_files.js` property holds files to be automatically
47      * concatenated and minified with our project source files.
48      *
49      * The `vendor_files.css` property holds any CSS files to be automatically
50      * included in our app.
51      *
52      * The `vendor_files.assets` property holds any assets to be copied along
53      * with our app's assets. This structure is flattened, so it is not
54      * recommended that you use wildcards.
55      */
56     vendor_files: {
57         js: [
58             'angular-material/angular-material.min.js',
59             'angular-animate/angular-animate.min.js',
60             'angular-aria/angular-aria.min.js',
61             'angular-material-data-table/dist/md-data-table.min.js',
62             'angular-messages/angular-messages.min.js',
63             'NeXt/js/next.min.js',
64         ],
65         css: [
66             'angular-material/angular-material.min.css',
67             'roboto-fontface/css/roboto-fontface.css',
68             'angular-material-data-table/dist/md-data-table.min.css',
69             'NeXt/css/next.min.css',
70
71         ],
72         fonts: [
73             'roboto-fontface/fonts/*.*',
74             'NeXt/fonts/*.*',
75         ]
76     }
77
78 };