@wegolook/task-definitions
v3.2.0
Published
task-definitions is a Javascript library for storing task types, groupQueues, and statuses.
Downloads
86
Maintainers
Keywords
Readme
@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.
- Update the package.json version number to the desired number.
- Update packages and the package-lock version number.
npm install
- Build the project.
npm run-script build
- 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']