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