forked from UniversalViewer/universalviewer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
48 lines (46 loc) · 1.91 KB
/
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
var metadata = require('./package');
module.exports = function () {
this.name = metadata.name;
this.header = '// ' + this.name + ' v' + metadata.version + ' ' + metadata.homepage + '\n';
this.examplesPort = 8002;
this.dependencies = {
bundle: [
'node_modules/base-component/dist/base-component.js',
'node_modules/exjs/dist/ex.es3.min.js',
'node_modules/http-status-codes/dist/http-status-codes.js',
'node_modules/jquery-plugins/dist/jquery-plugins.js',
'node_modules/jquery-tiny-pubsub/dist/ba-tiny-pubsub.js',
'node_modules/key-codes/dist/key-codes.js',
'node_modules/manifesto.js/dist/client/manifesto.js',
'node_modules/@iiif/manifold/dist/manifold.js',
'node_modules/pdfjs-dist/build/pdf.combined.js',
'node_modules/utils/dist/utils.js'
],
offline: [ // when offline, make these libs available as they can't be loaded from a cdn
'node_modules/jquery/dist/jquery.min.js',
'node_modules/jsviews/jsviews.min.js',
'node_modules/core-js/client/shim.min.js'
]
};
this.directories = {
bower: './lib',
build: './.build',
dist: './dist',
examples: './examples',
extensions: './src/extensions',
lib: './src/lib',
modules: './src/modules',
npm: './node_modules',
src: './src',
themes: './src/themes',
uv: 'uv',
uvAVExtension: './src/extensions/uv-av-extension',
uvDefaultExtension: './src/extensions/uv-default-extension',
uvMediaElementExtension: './src/extensions/uv-mediaelement-extension',
uvPdfExtension: './src/extensions/uv-pdf-extension',
uvSeadragonExtension: './src/extensions/uv-seadragon-extension',
uvVirtexExtension: './src/extensions/uv-virtex-extension'
};
this.themes = {
}
}