-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsystemjs.config.js
More file actions
106 lines (99 loc) · 4.63 KB
/
Copy pathsystemjs.config.js
File metadata and controls
106 lines (99 loc) · 4.63 KB
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
(function(global) {
// map tells the System loader where to look for things
var map = {
'app': 'app', // 'dist',
'@angular/core' : 'node_modules/@angular/core/bundles/core.umd.js',
'@angular/common' : 'node_modules/@angular/common/bundles/common.umd.js',
'@angular/compiler' : 'node_modules/@angular/compiler/bundles/compiler.umd.js',
'@angular/platform-browser' : 'node_modules/@angular/platform-browser/bundles/platform-browser.umd.js',
'@angular/platform-browser-dynamic' : 'node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
'@angular/http' : 'node_modules/@angular/http/bundles/http.umd.js',
'@angular/router' : 'node_modules/@angular/router/bundles/router.umd.js',
'@angular/forms' : 'node_modules/@angular/forms/bundles/forms.umd.js',
'rxjs': 'node_modules/rxjs',
'@angular': 'node_modules/@angular',
'moment': 'node_modules/moment',
'codemirror': 'node_modules/codemirror',
'lodash': 'node_modules/lodash',
'node-uuid': 'node_modules/node-uuid',
'angular-sortablejs': 'node_modules/angular-sortablejs',
'sortablejs': 'node_modules/sortablejs/Sortable.js',
// hypergrid deps:
'fin-hypergrid': 'node_modules/fin-hypergrid',
'finbars': 'node_modules/finbars',
'fincanvas': 'node_modules/fincanvas',
'rectangular': 'node_modules/rectangular',
'object-iterators': 'node_modules/object-iterators',
'lru-cache': 'node_modules/lru-cache',
'sparse-boolean-array': 'node_modules/sparse-boolean-array',
'css-injector': 'node_modules/css-injector',
'automat': 'node_modules/automat',
'extend-me': 'node_modules/extend-me',
'mustache': 'node_modules/mustache',
'pop-menu': 'node_modules/pop-menu',
'hyper-analytics': 'node_modules/hyper-analytics',
'filter-tree': 'node_modules/filter-tree',
'list-dragon': 'node_modules/list-dragon',
'tabz': 'node_modules/tabz',
'templex': 'node_modules/templex',
'unstrungify': 'node_modules/unstrungify',
'regexp-like': 'node_modules/regexp-like',
'inject-stylesheet-template': 'node_modules/inject-stylesheet-template',
'overrider': 'node_modules/overrider'
};
// packages tells the System loader how to load when no filename and/or no extension
var packages = {
'app': { main: 'main.js', defaultExtension: 'js' },
'rxjs': { defaultExtension: 'js' },
'moment': { main: 'moment.js', defaultExtension: 'js' },
'codemirror': { main: 'lib/codemirror.js', defaultExtension: 'js' },
'lodash': { main: 'lodash.js', defaultExtension: 'js' },
'node-uuid': { main: 'uuid.js', defaultExtension: 'js' },
'angular-sortablejs': { main: 'dist/index.js', defaultExtension: 'js' },
// 'fin-hypergrid': {
// main: './src/Hypergrid.js',
// format: 'cjs',
// map: {
// './src/behaviors': './src/behaviors/index.js',
// './src/dialogs': './src/dialogs/index.js',
// './src/features': './src/features/index.js',
// './src/cellRenderers': './src/cellRenderers/index.js',
// './src/cellEditors': './src/cellEditors/index.js',
// './images': './images/index.js',
// './css': './css/index.js',
// './html': './html/index.js',
// './renderer': './FUCK/index.js'
// }
// },
'finbars': { main: 'index.js' },
'fincanvas': { main: 'index.js' },
'rectangular': { main: 'index.js' },
'object-iterators': { main: 'index.js' },
'lru-cache': { main: 'lib/lru-cache.js' },
'sparse-boolean-array': { main: 'index.js' },
'css-injector': { main: 'index.js' },
'automat': { main: 'index.js' },
'extend-me': { main: 'index.js' },
'mustache': { main: 'mustache.js' },
'pop-menu': { main: 'index.js' },
'hyper-analytics': { main: 'index.js' },
'filter-tree': {
main: './index.js',
map: {
'./html': './html/index.js'
}
},
'list-dragon': { main: 'index.js' },
'tabz': { main: 'index.js' },
'templex': { main: 'index.js' },
'unstrungify': { main: 'index.js' },
'regexp-like': { main: 'index.js' },
'inject-stylesheet-template': { main: 'index.js' },
'overrider': { main: 'index.js' }
};
var config = {
map: map,
packages: packages
}
System.config(config);
})(this);