-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgulpfile.js
42 lines (36 loc) · 821 Bytes
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
var gulp = require('gulp');
var initGulpTasks = require('react-component-gulp-tasks');
/**
* Tasks are added by the react-component-gulp-tasks package
*
* See https://github.com/JedWatson/react-component-gulp-tasks
* for documentation.
*
* You can also add your own additional gulp tasks if you like.
*/
var taskConfig = {
component: {
name: 'ReactUpvote',
dependencies: [
'classnames',
'react',
'react/addons'
],
lib: 'lib'
},
example: {
src: 'example/src',
dist: 'example/dist',
files: [
'index.html',
'.gitignore'
],
scripts: [
'example.js'
],
less: [
'example.less'
]
}
};
initGulpTasks(gulp, taskConfig);