2 * This file/module contains all configuration for the build process.
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
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
23 //js: [ 'src/app/*.js', 'src/common/*.js', 'src/config.js', '!src/**/*.spec.js' ],
24 js: [ 'src/**/*.js', '!src/**/*.spec.js', '!src/assets/**/*.js' ],
25 jsunit: [ 'src/**/*.spec.js' ],
27 coffee: [ 'src/**/*.coffee', '!src/**/*.spec.coffee' ],
28 coffeeunit: [ 'src/**/*.spec.coffee' ],
30 atpl: [ 'src/app/**/*.tpl.html' ],
31 ctpl: [ 'src/common/**/*.tpl.html' ],
33 html: [ 'src/index.html' ],
34 less: 'src/less/main.less'
38 * This is a collection of files used during testing only.
42 'vendor/angular-mocks/angular-mocks.js'
47 * This is the same as `app_files`, except it contains patterns that
48 * reference vendor code (`vendor/`) that we need to place into the build
49 * process somewhere. While the `app_files` property ensures all
50 * standardized files are collected for compilation, it is the user's job
51 * to ensure non-standardized (i.e. vendor-related) files are handled
52 * appropriately in `vendor_files.js`.
54 * The `vendor_files.js` property holds files to be automatically
55 * concatenated and minified with our project source files.
57 * The `vendor_files.css` property holds any CSS files to be automatically
58 * included in our app.
60 * The `vendor_files.assets` property holds any assets to be copied along
61 * with our app's assets. This structure is flattened, so it is not
62 * recommended that you use wildcards.
66 'vendor/jquery/jquery.min.js',
67 'vendor/bootstrap/dist/js/bootstrap.min.js',
68 'vendor/underscore/underscore-min.js',
69 'vendor/underscore.string/dist/underscore.string.min.js',
70 'vendor/select2/select2.js',
71 'vendor/d3/d3.min.js',
72 'vendor/angular/index.js',
73 'vendor/angular-cookies/index.js',
74 'vendor/angular-route/index.js',
75 'vendor/angular-ui-router/index.js',
76 'vendor/angular-ui-select2/index.js',
77 'vendor/restangular/dist/restangular.min.js'
80 'vendor/bootstrap/dist/css/bootstrap.min.css',
81 'vendor/select2/select2.css',
82 'vendor/select2-bootstrap-css/select2-bootstrap.css'