-
Notifications
You must be signed in to change notification settings - Fork 5
/
gulpfile.ts
53 lines (42 loc) · 1.07 KB
/
gulpfile.ts
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
import { series, parallel } from 'gulp'
import { clean } from './utils/clean'
import { copy } from './utils/copy'
export default series(
// Cleaning 'src','svg','es','lib' before copying SVGs from 'EOS-Icons'
clean(['src', 'svg', 'es', 'lib']),
// Running all the tasks of copying SVGs from 'EOS-Icons' in parallel
parallel(
copy({
from: ['node_modules/eos-icons/svg/*.svg'],
toDir: 'svg/filled'
}),
copy({
from: ['node_modules/eos-icons/svg/material/*.svg'],
toDir: 'svg/filled'
}),
copy({
from: ['node_modules/eos-icons/animated-svg/*.svg'],
toDir: 'svg/animated'
}),
copy({
from: ['node_modules/eos-icons/svg-outlined/*.svg'],
toDir: 'svg/outlined'
}),
copy({
from: ['node_modules/eos-icons/svg-outlined/material/*.svg'],
toDir: 'svg/outlined'
}),
copy({
from: ['template/index.ts'],
toDir: 'src/'
}),
copy({
from: ['utils/helper.ts'],
toDir: 'src/'
}),
copy({
from: ['utils/flipFunction.ts'],
toDir: 'src/'
})
)
)