0.2.1 • Published 7 years ago

@cfware/gulp-serve v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

@cfware/gulp-serve

NPM Version NPM Downloads MIT

Basic HTTP connect gulp task.

Install @cfware/gulp-serve

npm i --save-dev @cfware/gulp-serve

Usage

'use strict';

const gulp = require('gulp');
const gulpServe = require('@cfware/gulp-serve');

gulp.task('serve', () => gulpServe({
	ports: [8081, 0],
	statics: {'/': 'test'},
	redirects: {'/': '/my-app'},
}));

Running tests

The only test currently provided is eslint.

npm install
npm test