@swiftworks/swift-queue-mysql
Version:
Queueing jobs in MySQL from Node.js
91 lines (90 loc) • 1.91 kB
JSON
{
"name": "@swiftworks/swift-queue-mysql",
"version": "1.0.3",
"description": "Queueing jobs in MySQL from Node.js",
"main": "./src/index.js",
"engines": {
"node": ">=16"
},
"dependencies": {
"commander": "^11.1.0",
"cron-parser": "^4.9.0",
"express": "^4.18.2",
"mysql2": "^3.6.5",
"serialize-error": "^8.1.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/node": "^20.17.57",
"luxon": "^3.6.1",
"mocha": "^10.8.2",
"nyc": "^17.1.0",
"standard": "^17.1.2"
},
"scripts": {
"test": "standard && mocha",
"cover": "nyc npm test",
"readme": "node ./test/readme.js",
"db:migrate": "node -e 'console.log(require(\"./src\").getMigrationPlans())'",
"db:construct": "node -e 'console.log(require(\"./src\").getConstructionPlans())'",
"start": "node examples/basic.js",
"start:advanced": "node examples/advanced.js",
"start:dashboard": "node monitoring/example.js",
"cli": "node bin/swift-queue-mysql.js"
},
"mocha": {
"timeout": 10000,
"slow": 10000,
"bail": true,
"parallel": true,
"require": "./test/hooks"
},
"nyc": {
"include": [
"src/**/*.js"
],
"sourceMap": false,
"instrument": true,
"reporter": [
"lcov",
"text-summary",
"text"
]
},
"standard": {
"globals": [
"describe",
"it",
"before",
"beforeEach",
"after",
"afterEach"
]
},
"keywords": [
"job",
"queue",
"worker",
"cron",
"mysql",
"background",
"async"
],
"author": "andrepiper",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/swiftworks/swift-queue-mysql.git"
},
"bin": {
"swift-queue-mysql": "./bin/swift-queue-mysql.js"
},
"files": [
"src/",
"bin/",
"monitoring/",
"examples/",
"README.md",
"LICENSE"
]
}