From 568ee50354595f218331e94921b421ef4923a9d9 Mon Sep 17 00:00:00 2001 From: Kovacs Alex Date: Sat, 1 Aug 2020 13:03:15 +0300 Subject: [PATCH] feat: add the cron package --- package-lock.json | 26 ++++++++++++++++++++++++++ package.json | 2 ++ 2 files changed, 28 insertions(+) diff --git a/package-lock.json b/package-lock.json index ead16d00..9906c8ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,6 +21,16 @@ "mime-types": "^2.1.12" } }, + "@types/cron": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@types/cron/-/cron-1.7.2.tgz", + "integrity": "sha512-AEpNLRcsVSc5AdseJKNHpz0d4e8+ow+abTaC0fKDbAU86rF1evoFF0oC2fV9FdqtfVXkG2LKshpLTJCFOpyvTg==", + "dev": true, + "requires": { + "@types/node": "*", + "moment": ">=2.14.0" + } + }, "@types/fs-extra": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.1.tgz", @@ -105,6 +115,14 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, + "cron": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/cron/-/cron-1.8.2.tgz", + "integrity": "sha512-Gk2c4y6xKEO8FSAUTklqtfSr7oTq0CiPQeLBG5Fl0qoXpZyMcj1SG59YL+hqq04bu6/IuEA7lMkYDAplQNKkyg==", + "requires": { + "moment-timezone": "^0.5.x" + } + }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -280,6 +298,14 @@ "resolved": "https://registry.npmjs.org/moment/-/moment-2.27.0.tgz", "integrity": "sha512-al0MUK7cpIcglMv3YF13qSgdAIqxHTO7brRtaz3DlSULbqfazqkc5kEjNrLDOM7fsjshoFIihnU8snrP7zUvhQ==" }, + "moment-timezone": { + "version": "0.5.31", + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.31.tgz", + "integrity": "sha512-+GgHNg8xRhMXfEbv81iDtrVeTcWt0kWmTEY1XQK14dICTXnWJnT0dxdlPspwqF3keKMVPXwayEsk1DI0AA/jdA==", + "requires": { + "moment": ">= 2.9.0" + } + }, "neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", diff --git a/package.json b/package.json index 8983f4b1..d79c3b76 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "discord.js": "^12.2.0" }, "devDependencies": { + "@types/cron": "^1.7.2", "@types/fs-extra": "^9.0.1", "@types/klaw": "^3.0.1", "@types/node": "^14.0.27", @@ -47,6 +48,7 @@ "typescript": "^3.9.7" }, "dependencies": { + "cron": "^1.8.2", "fs-extra": "^9.0.1", "klaw": "^3.0.0", "moment": "^2.27.0"