-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.js
44 lines (38 loc) · 1.21 KB
/
build.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
{
name: 'node_modules/almond/almond.js',
include: ['app/main', 'plugins/hello/init', 'plugins/remotestorage/init', 'plugins/search/init', 'plugins/navigation/init'],
insertRequire: [ 'app/main' ],
out: 'build/assets/dspace-client.js',
wrap: true,
paths: {
// directories
"templates" : "assets/templates",
"template/helpers" : "app/helpers",
"models" : "app/models",
"collections" : "app/collections",
"views" : "app/views",
"templateMap" : "app/templateMap",
"geofeeds": "app/geofeeds",
// dependencies of hbs
"i18nprecompile" : "deps/hbs/i18nprecompile",
"json2" : "deps/hbs/json2",
// general deps
"hbs": "deps/hbs",
"ender": 'deps/ender',
"underscore": "deps/underscore",
"backbone": "deps/backbone",
"backbone-localstorage": "deps/backbone.localstorage",
"Math.uuid": "deps/Math.uuid",
"reqwest": "deps/reqwest",
"handlebars": "deps/handlebars",
"modestmaps": "deps/modestmaps",
"easey": "deps/easey",
"easey_handlers": "deps/easey_handlers",
"domready": "deps/domready",
"markers": "deps/markers"
},
"hbs": {
"templateExtension" : "handlebars",
"disableI18n" : true
}
}