react-md-editor
Version:
React Markdown Editor
45 lines (38 loc) • 658 B
JavaScript
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.
*/
var taskConfig = {
component: {
name: 'MDEditor',
dependencies: [
'classnames',
'react',
'react-dom'
],
lib: 'lib',
less: {
entry: 'component.less',
path: 'less'
}
},
example: {
src: 'example/src',
dist: 'example/dist',
files: [
'index.html',
'.gitignore'
],
scripts: [
'example.js'
],
less: [
'example.less'
]
}
};
initGulpTasks(gulp, taskConfig);