system.conf.js 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. System.config({
  2. defaultJSExtenions: true,
  3. baseURL: 'public',
  4. paths: {
  5. 'virtual-scroll': 'vendor/npm/virtual-scroll/src/index.js',
  6. 'mousetrap': 'vendor/npm/mousetrap/mousetrap.js',
  7. 'remarkable': 'vendor/npm/remarkable/dist/remarkable.js',
  8. 'tether': 'vendor/npm/tether/dist/js/tether.js',
  9. 'eventemitter3': 'vendor/npm/eventemitter3/index.js',
  10. 'tether-drop': 'vendor/npm/tether-drop/dist/js/drop.js',
  11. 'moment': 'vendor/moment.js',
  12. "jquery": "vendor/jquery/dist/jquery.js",
  13. 'lodash-src': 'vendor/lodash/dist/lodash.js',
  14. "lodash": 'app/core/lodash_extended.js',
  15. "angular": "vendor/angular/angular.js",
  16. "bootstrap": "vendor/bootstrap/bootstrap.js",
  17. 'angular-route': 'vendor/angular-route/angular-route.js',
  18. 'angular-sanitize': 'vendor/angular-sanitize/angular-sanitize.js',
  19. "angular-ui": "vendor/angular-ui/ui-bootstrap-tpls.js",
  20. "angular-strap": "vendor/angular-other/angular-strap.js",
  21. "angular-dragdrop": "vendor/angular-native-dragdrop/draganddrop.js",
  22. "angular-bindonce": "vendor/angular-bindonce/bindonce.js",
  23. "spectrum": "vendor/spectrum.js",
  24. "bootstrap-tagsinput": "vendor/tagsinput/bootstrap-tagsinput.js",
  25. "jquery.flot": "vendor/flot/jquery.flot",
  26. "jquery.flot.pie": "vendor/flot/jquery.flot.pie",
  27. "jquery.flot.selection": "vendor/flot/jquery.flot.selection",
  28. "jquery.flot.stack": "vendor/flot/jquery.flot.stack",
  29. "jquery.flot.stackpercent": "vendor/flot/jquery.flot.stackpercent",
  30. "jquery.flot.time": "vendor/flot/jquery.flot.time",
  31. "jquery.flot.crosshair": "vendor/flot/jquery.flot.crosshair",
  32. "jquery.flot.fillbelow": "vendor/flot/jquery.flot.fillbelow",
  33. "jquery.flot.gauge": "vendor/flot/jquery.flot.gauge",
  34. "d3": "vendor/d3/d3.js",
  35. "jquery.flot.dashes": "vendor/flot/jquery.flot.dashes",
  36. "jquery-ui": "vendor/jquery-ui/custom.js",
  37. "gridstack": "vendor/npm/gridstack/dist/gridstack.js",
  38. "gridstack.jquery-ui": "vendor/npm/gridstack/dist/gridstack.jQueryUI.js",
  39. },
  40. packages: {
  41. app: {
  42. defaultExtension: 'js',
  43. },
  44. vendor: {
  45. defaultExtension: 'js',
  46. },
  47. plugins: {
  48. defaultExtension: 'js',
  49. },
  50. test: {
  51. defaultExtension: 'js',
  52. },
  53. },
  54. map: {
  55. text: 'vendor/plugin-text/text.js',
  56. css: 'app/core/utils/css_loader.js',
  57. },
  58. meta: {
  59. 'vendor/npm/jquery-ui/jquery-ui.js': {
  60. format: 'amd',
  61. deps: ['jquery'],
  62. },
  63. 'vendor/npm/gridstack/dist/gridstack.js': {
  64. format: 'global',
  65. deps: ['jquery', 'jquery-ui', 'lodash'],
  66. },
  67. "vendor/npm/gridstack/dist/gridstack.jQueryUI.js": {
  68. format: 'global',
  69. deps: ['gridstack'],
  70. },
  71. 'vendor/npm/virtual-scroll/src/indx.js': {
  72. format: 'cjs',
  73. exports: 'VirtualScroll',
  74. },
  75. 'vendor/angular/angular.js': {
  76. format: 'global',
  77. deps: ['jquery'],
  78. exports: 'angular',
  79. },
  80. 'vendor/npm/eventemitter3/index.js': {
  81. format: 'cjs',
  82. exports: 'EventEmitter'
  83. },
  84. 'vendor/npm/mousetrap/mousetrap.js': {
  85. format: 'global',
  86. exports: 'Mousetrap'
  87. },
  88. }
  89. });