Start segmenting dependencies/devDependencies.

This commit is contained in:
Dannon Baker
2017-10-11 14:28:31 -04:00
parent 9c0e52a53f
commit c55861151e
27 changed files with 368 additions and 211 deletions
+22 -20
View File
@@ -12,13 +12,31 @@
"license": "AFL-3.0",
"dependencies": {
"amdi18n-loader": "^0.6.1",
"backbone": "1.3",
"bib2json": "^0.0.1",
"d3": "3",
"jquery": "1.12",
"jquery-migrate": "~1.4",
"raven-js": "^3.17.0",
"requirejs": "2",
"underscore": "^1.8.3"
},
"scripts": {
"watch": "concurrently \"yarn run webpack-watch\" \"yarn run gulp watch\"",
"build": "yarn run gulp stage-libs && concurrently \"yarn run build-style\" \"yarn run webpack\" \"yarn run gulp clean && yarn run gulp\"",
"webpack": "webpack -p",
"webpack-watch": "webpack -p --watch",
"webpack-dev": "webpack -d",
"webpack-dev-watch": "webpack -d --watch",
"build-style": "grunt style",
"gulp": "gulp",
"jshint": "jshint --exclude='galaxy/scripts/libs/**' galaxy/scripts/**/*.js"
},
"devDependencies": {
"babel-core": "^6.24.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.3.2",
"backbone": "1.3",
"bib2json": "^0.0.1",
"concurrently": "^3.4.0",
"d3": "3",
"del": "^3.0.0",
"expose-loader": "^0.7.3",
"grunt": "^0.4.5",
@@ -37,23 +55,7 @@
"gulp-sourcemaps": "^2.5.1",
"gulp-uglify": "^3.0.0",
"gulp-watch": "^4.3.11",
"jquery": "1.12",
"jquery-migrate": "~1.4",
"jshint": "^2.9.4",
"raven-js": "^3.17.0",
"requirejs": "2",
"underscore": "^1.8.3",
"webpack": "^3.5.5"
},
"scripts": {
"watch": "concurrently \"yarn run webpack-watch\" \"yarn run gulp watch\"",
"build": "yarn run gulp stage-libs && concurrently \"yarn run build-style\" \"yarn run webpack\" \"yarn run gulp clean && yarn run gulp\"",
"webpack": "webpack -p",
"webpack-watch": "webpack -p --watch",
"webpack-dev": "webpack -d",
"webpack-dev-watch": "webpack -d --watch",
"build-style": "grunt style",
"gulp": "gulp",
"jshint": "jshint --exclude='galaxy/scripts/libs/**' galaxy/scripts/**/*.js"
"webpack": "^3.6.0"
}
}
+321 -166
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"version":3,"sources":["mvc/upload/upload-button.js"],"names":["define","View","Backbone","extend","initialize","options","Model","self","tooltip","icon","label","percentage","status","onunload","onclick","this","_template","set","$","setElement","model","render","$progress","window","listenTo","get","attributes","on","e","placement","$el","removeClass","title","addClass","css","width"],"mappings":"aACAA,UAAY,WA8CR,OAASC,KA/CbC,SAAAD,KAAAE,QACQC,WAAI,SAAWC,GACfJ,IAAOC,EAAAA,KACPE,KAAAA,MAAYC,GAAAA,EAAUA,OAAU,IAAAH,SAAAI,OACxBC,KAAJ,YACAC,QAAaH,8CACTI,MAAc,YACdD,WAAc,EACdE,OAAc,GACdC,SAJwD,aAKxDC,QALwD,eAMxDC,IAAAA,GACAC,KAAAA,WAAcC,KAAAC,aAP0CD,KAQzDE,UARHF,KAAAG,EAAA,iBASAH,KAAKI,SAALJ,KAAiBK,MAAKJ,SAAtBD,KAAAM,OAAAN,MACAA,KAAKO,SACLJ,EAAAK,QAAKC,GAAU,eAAY,WAC3B,OAAAjB,EAAAa,MAAAK,IAAA,iBAIHJ,OAnB2B,WAsBxB,IADIhB,EAAAU,KAAAK,MAAWM,WACfX,KAAIR,IAAAA,IAAO,SAAXoB,GAAA,QAAA,SAAAC,GAAAvB,EAAAS,QAAAc,KACIvB,SAAee,MAAMM,KAAAA,MAAzBD,IAAA,WAAAI,UAAA,WACAd,KAAKe,UAASC,cAA+CjB,SAAR,gBACjCkB,SAAYZ,6BACjBW,SACU,IADVA,EACAE,QAAU,gBACA5B,EAAAO,QA5BDsB,KAAAC,MAAA9B,EAAAM,WAAA,OAmCxBK,UAAQ,WAQX,MAAA","file":"../../../scripts/mvc/upload/upload-button.js","sourcesContent":["/** View for upload/progress bar button */\ndefine( [], function() {\n var View = Backbone.View.extend({\n initialize: function( options ) {\n var self = this;\n this.model = options && options.model || new Backbone.Model({\n icon : 'fa-upload',\n tooltip : 'Download from URL or upload files from disk',\n label : 'Load Data',\n percentage : 0,\n status : '',\n onunload : function(){},\n onclick : function(){}\n }).set( options );\n this.setElement( this._template() );\n this.$progress = this.$( '.progress-bar' );\n this.listenTo( this.model, 'change', this.render, this );\n this.render();\n $( window ).on( 'beforeunload', function() {\n return self.model.get( 'onunload' )();\n });\n },\n\n render: function() {\n var self = this;\n var options = this.model.attributes;\n this.$el.off( 'click' ).on( 'click', function( e ) { options.onclick( e ) } )\n .tooltip( { title: this.model.get('tooltip'), placement: 'bottom' } );\n this.$progress.removeClass()\n .addClass( 'progress-bar' )\n .addClass( 'progress-bar-notransition' )\n .addClass( options.status != '' && 'progress-bar-' + options.status )\n .css( { width : options.percentage + '%' } );\n },\n\n /** Template */\n _template: function() {\n return '<div class=\"upload-button\">' +\n '<div class=\"progress\">' +\n '<div class=\"progress-bar\"/>' +\n '<a class=\"panel-header-button\" href=\"javascript:void(0)\" id=\"tool-panel-upload-button\">' +\n '<span class=\"fa fa-upload\"/>' +\n '</a>' +\n '</div>' +\n '</div>';\n }\n });\n return { View : View };\n});\n"]}
{"version":3,"sources":["mvc/upload/upload-button.js"],"names":["define","View","Backbone","extend","initialize","options","Model","self","tooltip","icon","label","percentage","status","onunload","onclick","this","_template","set","$","setElement","model","render","$progress","window","listenTo","get","attributes","on","e","placement","$el","removeClass","title","addClass","css","width"],"mappings":"aACAA,UAAY,WA8CR,OAASC,KA/CbC,SAAAD,KAAAE,QACQC,WAAI,SAAWC,GACfJ,IAAOC,EAAAA,KACPE,KAAAA,MAAYC,GAAAA,EAAUA,OAAU,IAAAH,SAAAI,OACxBC,KAAJ,YACAC,QAAaH,8CACTI,MAAc,YACdD,WAAc,EACdE,OAAc,GACdC,SAJwD,aAKxDC,QALwD,eAMxDC,IAAAA,GACAC,KAAAA,WAAcC,KAAAC,aAP0CD,KAQzDE,UARHF,KAAAG,EAAA,iBASAH,KAAKI,SAALJ,KAAiBK,MAAKJ,SAAtBD,KAAAM,OAAAN,MACAA,KAAKO,SACLJ,EAAAK,QAAKC,GAAU,eAAY,WAC3B,OAAAjB,EAAAa,MAAAK,IAAA,WAAAlB,MAIHc,OAnB2B,WAsBxB,IADIhB,EAAAU,KAAAK,MAAWM,WACfX,KAAIR,IAAAA,IAAO,SAAXoB,GAAA,QAAA,SAAAC,GAAAvB,EAAAS,QAAAc,KACIvB,SAAee,MAAMM,KAAAA,MAAzBD,IAAA,WAAAI,UAAA,WACAd,KAAKe,UAASC,cAA+CjB,SAAR,gBACjCkB,SAAYZ,6BACjBW,SACU,IADVA,EACAE,QAAU,gBACA5B,EAAAO,QA5BDsB,KAAAC,MAAA9B,EAAAM,WAAA,OAmCxBK,UAAQ,WAQX,MAAA","file":"../../../scripts/mvc/upload/upload-button.js","sourcesContent":["/** View for upload/progress bar button */\ndefine( [], function() {\n var View = Backbone.View.extend({\n initialize: function( options ) {\n var self = this;\n this.model = options && options.model || new Backbone.Model({\n icon : 'fa-upload',\n tooltip : 'Download from URL or upload files from disk',\n label : 'Load Data',\n percentage : 0,\n status : '',\n onunload : function(){},\n onclick : function(){}\n }).set( options );\n this.setElement( this._template() );\n this.$progress = this.$( '.progress-bar' );\n this.listenTo( this.model, 'change', this.render, this );\n this.render();\n $( window ).on( 'beforeunload', function() {\n return self.model.get( 'onunload' )();\n });\n },\n\n render: function() {\n var self = this;\n var options = this.model.attributes;\n this.$el.off( 'click' ).on( 'click', function( e ) { options.onclick( e ) } )\n .tooltip( { title: this.model.get('tooltip'), placement: 'bottom' } );\n this.$progress.removeClass()\n .addClass( 'progress-bar' )\n .addClass( 'progress-bar-notransition' )\n .addClass( options.status != '' && 'progress-bar-' + options.status )\n .css( { width : options.percentage + '%' } );\n },\n\n /** Template */\n _template: function() {\n return '<div class=\"upload-button\">' +\n '<div class=\"progress\">' +\n '<div class=\"progress-bar\"/>' +\n '<a class=\"panel-header-button\" href=\"javascript:void(0)\" id=\"tool-panel-upload-button\">' +\n '<span class=\"fa fa-upload\"/>' +\n '</a>' +\n '</div>' +\n '</div>';\n }\n });\n return { View : View };\n});\n"]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long