mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 06:49:15 +01:00
44 lines
691 B
JavaScript
Vendored
44 lines
691 B
JavaScript
Vendored
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: 'react-chartjs-2',
|
|
dependencies: [
|
|
'react',
|
|
'react-dom',
|
|
'chart.js'
|
|
],
|
|
lib: 'lib',
|
|
file: 'index.js'
|
|
},
|
|
|
|
example: {
|
|
src: 'example/src',
|
|
dist: 'example/dist',
|
|
files: [
|
|
'index.html',
|
|
'.gitignore'
|
|
],
|
|
scripts: [
|
|
'example.js'
|
|
],
|
|
less: [
|
|
'example.less'
|
|
]
|
|
}
|
|
|
|
};
|
|
|
|
initGulpTasks(gulp, taskConfig);
|