@palante/palante-gulp v1.0.24
Palante Gulp Files
A collection of Gulp files for Palante projects.
Installation
npm i @palante/palante-gulp --save-dev
Using Modules
We are using gulp with an ES6 babel preset.
First create a .babelrc
json file with the preset:
{
"presets": ["es2015"]
}
Second a file called gulpfile.babel.js
then import
and run the constructor function
.
import {gulpExpress} from '@palante/palante-gulp';
gulpExpress();
Workflow Modules
Modules used for a whole application. Usually a collection of tasks.
ExpressJS
import {gulpExpress} from '@palante/palante-gulp';
gulpExpress();
Task Modules
Task modules are modules that are broken down into smaller pieces are only part of a workflow.
Babel transpile and Watch
Transpile from ES6 to ES5 and watch transpile when a file has changed
import {gulpBabel} from '@palante/palante-gulp';
gulpBabel();
Mocha Testing
Transpile from ES6 to ES5 and watch transpile when a file has changed
import {gulpMocha} from '@palante/palante-gulp';
gulpMocha();
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago