forked from pyecharts/assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
23 lines (21 loc) · 1.02 KB
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
var gulp = require('gulp')
var rename = require('gulp-rename');
const FILES =[
'!./node_modules/jupyter-echarts/echarts/main.js',
'!./node_modules/echarts-countries-js/echarts-countries-js/index.js',
'!./node_modules/echarts-china-provinces-js/echarts-china-provinces-js/index.js',
'!./node_modules/echarts-china-cities-js/echarts-china-cities-js/index.js',
'./node_modules/jupyter-echarts/echarts/*.js',
'./node_modules/echarts-themes-js/echarts-themes-js/*.js',
'./node_modules/echarts-countries-js/echarts-countries-js/*.js',
'./node_modules/echarts-china-provinces-js/echarts-china-provinces-js/*.js',
'./node_modules/echarts-china-cities-js/echarts-china-cities-js/*.js',
'./node_modules/echarts-china-counties-js/echarts-china-counties-js/*.js',
'./node_modules/echarts-china-misc-js/echarts-china-misc-js/*.js',
'./node_modules/echarts-united-kingdom-js/echarts-united-kingdom-js/*.js'
]
gulp.task('default', function(){
gulp.src(FILES)
.pipe(rename({dirname:''}))
.pipe(gulp.dest('js'));
});