-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrequirejs.conf.js
112 lines (112 loc) · 3.06 KB
/
requirejs.conf.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
requirejs.config({
baseUrl: '/',
include: [
'streamhub-map/views/collection-map-view',
'streamhub-hot-collections-tests/mocks/streams/mock-hot-collections',
'json!streamhub-hot-collections-tests/mocks/clients/hot-collections-response.json'
],
paths: {
jquery: 'lib/jquery/jquery',
jasmine: 'lib/jasmine/lib/jasmine-core/jasmine',
'jasmine-html': 'lib/jasmine/lib/jasmine-core/jasmine-html',
'jasmine-jquery': 'lib/jasmine-jquery/lib/jasmine-jquery',
text: 'lib/requirejs-text/text',
hgn: 'lib/requirejs-hogan-plugin/hgn',
hogan: 'lib/hogan/web/builds/2.0.0/hogan-2.0.0.amd',
json: 'lib/requirejs-plugins/src/json',
base64: 'lib/base64/base64',
'event-emitter': 'lib/event-emitter/src/event-emitter',
inherits: 'lib/inherits/inherits',
leaflet: 'lib/leaflet/leaflet-src',
'leaflet-css': 'lib/leaflet/leaflet.css',
'leaflet-markercluster': 'lib/leaflet-markercluster/dist/leaflet.markercluster-src',
'leaflet-markercluster-css': 'lib/leaflet-markercluster/dist/MarkerCluster.css',
rework: 'lib/rework/rework',
'livefyre-package-attribute': 'lib/livefyre-package-attribute/src/main',
debug: 'lib/debug/debug'
},
packages: [{
name: "streamhub-sdk",
location: "lib/streamhub-sdk/src/"
},{
name: "streamhub-sdk/auth",
location: "lib/streamhub-sdk/src/auth"
},{
name: "streamhub-sdk/collection",
location: "lib/streamhub-sdk/src/collection"
},{
name: "streamhub-sdk/content",
location: "lib/streamhub-sdk/src/content"
},{
name: "streamhub-sdk/modal",
location: "lib/streamhub-sdk/src/modal"
},{
name: "streamhub-sdk-tests",
location: "lib/streamhub-sdk/tests/"
},{
name: "stream",
location: "lib/stream/src"
},{
name: "streamhub-map",
location: "src"
},{
name: "streamhub-map-resources",
location: "src/resources/"
},{
name: "streamhub-hot-collections",
location: "lib/streamhub-hot-collections/src/"
},{
name: "streamhub-hot-collections-tests",
location: "lib/streamhub-hot-collections/tests/"
},{
name: "streamhub-metrics",
location: "lib/streamhub-metrics/src/"
},{
name: "auth",
location: "lib/auth/src"
},{
name: "view",
location: "lib/view/src",
main: "view"
},{
name: "css",
location: "lib/require-css",
main: "css"
},{
name: "less",
location: "lib/require-less",
main: "less"
}],
css: {
clearFileEachBuild: 'dist/streamhub-map.min.css',
transformEach: {
requirejs: 'lib/livefyre-package-attribute/tools/prefix-css-requirejs',
node: 'lib/livefyre-package-attribute/tools/prefix-css-node'
}
},
shim: {
jasmine: {
exports: 'jasmine'
},
'jasmine-html': {
deps: ['jasmine'],
exports: 'jasmine'
},
'jasmine-jquery': {
deps: ['jquery', 'jasmine']
},
jquery: {
exports: '$'
},
leaflet: {
exports: 'L'
},
'leaflet-markercluster': {
deps: ['leaflet']
},
rework: {
exports: 'rework'
}
},
urlArgs: "_=" + (new Date()).getTime()
});