-
Notifications
You must be signed in to change notification settings - Fork 108
/
build-config.js
57 lines (44 loc) · 1018 Bytes
/
build-config.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// - - - - - 8-< - - - - - - - - - - - - - -
var _ = require('lodash');
// - - - - - 8-< - - - - - - - - - - - - - -
var pkg = require('./package.json');
pkg.year = pkg.year || new Date().getFullYear();
// - - - - - 8-< - - - - - - - - - - - - - -
var config = {
/* 'production' || 'development' */
env: process.env.NODE_ENV,
folders: {
dest: 'dest/',
src: 'src/'
},
modules: [
{
name: 'angular-block-ui',
alias: 'blockUI'
},
// {
// name: 'angular-delay',
// alias: 'delay'
// },
// {
// name: 'angular-showdown',
// alias: 'showdown'
// },
{
name: 'app',
alias: 'myApp'
}
],
bower: {
includeDev: true
},
header: _.template([
'/*!',
' <%= pkg.name %> v<%= pkg.version %>',
' (c) <%= pkg.year %> <%= pkg.author %> <%= pkg.homepage %>',
' License: <%= pkg.license %>',
'*/\n'
].join('\n'), { pkg: pkg })
};
// - - - - - 8-< - - - - - - - - - - - - - -
module.exports = config;