@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
TaskDefinitions.groupQueues
TaskDefinitions.statuses
Usage es5
const TaskDefinitions = require('@wegolook/task-definitions');
TaskDefinitions.types
TaskDefinitions.groupQueues
TaskDefinitions.statuses