forked from ironbane/ironbane-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
angus.config.js
79 lines (66 loc) · 2.03 KB
/
angus.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
'use strict';
module.exports = {
npm: {
packages: [
'three@^0.66.4',
'shelljs@^0.3.0',
'curlrequest@^0.5.1',
'adm-zip@^0.4.4',
'mkdirp@^0.5.0',
'q',
'underscore'
]
},
bower: {
packages: [
'angular',
'angular-ui-router',
'howler.js',
'Keypress'
],
localFolders: [
'src/lib'
],
filesNeeded: {
js: [
'angular/angular.js',
'angular-ui-router/release/angular-ui-router.js',
'howler.js/howler.js',
'Keypress/keypress.js',
'lib/game-shim.js',
'lib/hand-1.3.8.js',
'lib/three.js',
'lib/three-angular.js',
'lib/howler-angular.js'
],
less: [],
/*
html - Only for AngularJS apps: include html templates here to cache them.
This array must contain objects in the following format:
{
libPath: 'angular-ui/template/modal/backdrop.html',
readAs: 'template/modal/backdrop.html'
}
*/
html: []
}
},
// The port this app will be accessible on.
// Defaults to 9000
port: 9000,
// Which CSS compiler to use. Can be 'none', 'sass' or 'less'.
// Defaults to 'sass'
cssCompiler: 'less',
// Which test runner to use. Can be 'none' or 'karma'.
// Defaults to 'karma'
testRunner: 'karma',
// Whether JsHint should check your code for errors.
// Note that you need a .jshintrc file in your project directory for this to work.
// See the example apps for a good starting point.
// Defaults to true
useJsHint: true,
// When enabled, Angus will execute a few additional tasks such as html2js, ngconstant and ngmin.
// Defaults to false
usesAngularJS: true
};