framework/js/admin/Gulpfile.js

32 lines
747 B
JavaScript
Raw Normal View History

2015-06-08 13:27:23 +08:00
var gulp = require('flarum-gulp');
2015-04-25 20:58:39 +08:00
2015-07-29 19:28:22 +08:00
var bowerDir = '../bower_components';
2015-06-08 13:27:23 +08:00
gulp({
2016-03-18 07:01:01 +08:00
includeHelpers: true,
2015-06-08 13:27:23 +08:00
files: [
2015-07-29 19:28:22 +08:00
bowerDir + '/es6-micro-loader/dist/system-polyfill.js',
bowerDir + '/mithril/mithril.js',
bowerDir + '/m.attrs.bidi/bidi.js',
2015-07-29 19:28:22 +08:00
bowerDir + '/jquery/dist/jquery.js',
bowerDir + '/moment/moment.js',
bowerDir + '/bootstrap/js/affix.js',
bowerDir + '/bootstrap/js/dropdown.js',
bowerDir + '/bootstrap/js/modal.js',
bowerDir + '/bootstrap/js/tooltip.js',
bowerDir + '/bootstrap/js/transition.js',
bowerDir + '/spin.js/spin.js',
bowerDir + '/spin.js/jquery.spin.js'
2015-06-08 13:27:23 +08:00
],
2015-07-29 19:28:22 +08:00
modules: {
'flarum': [
'src/**/*.js',
'../lib/**/*.js'
]
},
2015-06-08 13:27:23 +08:00
outputFile: 'dist/app.js'
2015-04-25 20:58:39 +08:00
});