@wegolook/task-definitions

3.1.8 • Public • Published

@wegolook/task-definitions

task-definitions is a Javascript library for storing task types, groupQueues, and statuses.

NPM Publication

To prepare for this project to be published to npm, the following should be done. Tagging in gitlab will publish to npm.

  1. Update the package.json version number to the desired number.
  2. Update packages and the package-lock version number.
    npm install
    
  3. Build the project.
    npm run-script build
    
  4. Commit all changes including the dist/ directory and create a MR.

Installation

Use the package manager npm to install task-definitions.

npm install --save @wegolook/task-definitions

Usage es6

import TaskDefinitions as default from '@wegolook/task-definitions'

TaskDefinitions.types // ['type1', 'type2']
TaskDefinitions.groupQueues // ['groupQueue1', 'groupQueue2']
TaskDefinitions.statuses // ['status1', 'status2']

Usage es5

const TaskDefinitions = require('@wegolook/task-definitions');

TaskDefinitions.types // ['type1', 'type2']
TaskDefinitions.groupQueues // ['groupQueue1', 'groupQueue2']
TaskDefinitions.statuses // ['status1', 'status2']

Readme

Keywords

none

Package Sidebar

Install

npm i @wegolook/task-definitions

Weekly Downloads

10

Version

3.1.8

License

ISC

Unpacked Size

244 kB

Total Files

9

Last publish

Collaborators

  • mmcnees-wgl
  • joe.hayden
  • dhanarayappan
  • madhurprimus
  • ipshu
  • wegolookdev
  • jfrench
  • trobeson
  • pat_rich
  • xsvc_integrations
  • devonlucey