1.0.3 • Published 5 years ago

@axmit/express-core-gulp v1.0.3

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

Common information

This package provide gulp tasks for projects based on @axmit/express-core

Prerequisites

Before using this package you need to authorize yourself into npm registry using npm adduser

Installation

npm i @axmit/express-core-gulp or yarn add @axmit/express-core-gulp

Usage

You must specify gulpfile.js with following content

const { initGulpTasks } = require('@axmit/express-core-gulp');  
  
initGulpTasks();  

Gulp Tasks

This package provides gulp tasks for managing your application

Gulp Server

Use gulp server command to run your application entry point app/app.ts. It'll create gulp live server and will watch for all changes

Gulp Unit

Use gulp unit command to run all mocha test in your projects (only running files with *.spec.ts mask).
This command also supports --tags fileNames argument which will run only specified files

Just define your application class by following template and start it from ./app/app.js to initialize your express application