UNPKG

fastify-cron

Version:

Run cron jobs alongside your Fastify server

122 lines (121 loc) 2.44 kB
{ "name": "fastify-cron", "version": "1.4.0", "description": "Run cron jobs alongside your Fastify server", "main": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", "author": { "name": "François Best", "email": "contact@francoisbest.com", "url": "https://francoisbest.com" }, "repository": { "type": "git", "url": "https://github.com/47ng/fastify-cron" }, "keywords": [ "fastify", "fastify-plugin", "cron" ], "publishConfig": { "access": "public" }, "scripts": { "test": "jest --coverage", "test:watch": "jest --watch", "build:clean": "rm -rf ./dist", "build:ts": "tsc", "build": "run-s build:clean build:ts", "ci": "run-s test build", "prepare": "husky install" }, "dependencies": { "@types/cron": "^2.0.0", "cron": "^2.0.0", "fastify-plugin": "^3.0.0" }, "peerDependencies": { "fastify": "^4.1.0 || ^5.0.0" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.3", "@types/jest": "^27.0.3", "@types/node": "^18.0.0", "commitlint": "^15.0.0", "fastify": "^4.1.0", "husky": "8.x", "jest": "^27.4.3", "jest-extended": "^2.0.0", "npm-run-all": "^4.1.5", "ts-jest": "^27.1.0", "ts-node": "^10.4.0", "typescript": "^4.5.2" }, "jest": { "verbose": true, "preset": "ts-jest/presets/js-with-ts", "setupFilesAfterEnv": [ "jest-extended/all" ], "testEnvironment": "node" }, "prettier": { "arrowParens": "avoid", "semi": false, "singleQuote": true, "tabWidth": 2, "trailingComma": "none", "useTabs": false }, "nodemon": { "verbose": false, "execMap": { "ts": "ts-node" }, "ignore": [ "./dist" ] }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "rules": { "type-enum": [ 2, "always", [ "build", "chore", "ci", "clean", "doc", "feat", "fix", "perf", "ref", "revert", "style", "test" ] ], "subject-case": [ 0, "always", "sentence-case" ], "body-leading-blank": [ 2, "always", true ] } } }