react-simple-currency
Version:
A react input wrapper to mask and handle currency values
44 lines (37 loc) • 690 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.
*
* You can also add your own additional gulp tasks if you like.
*/
var taskConfig = {
component: {
name: 'SimpleCurrencyInput',
dependencies: [
'classnames',
'react',
'prop-types',
'react-dom'
],
lib: 'lib'
},
example: {
src: 'example/src',
dist: 'example/dist',
files: [
'index.html',
'.gitignore'
],
scripts: [
'example.js'
],
less: [
'example.less'
]
}
}
initGulpTasks(gulp, taskConfig)