1 | {
|
2 | "name": "agenda",
|
3 | "version": "4.4.0",
|
4 | "description": "Light weight job scheduler for Node.js",
|
5 | "main": "dist/cjs.js",
|
6 | "types": "dist/index.d.ts",
|
7 | "files": [
|
8 | "es.js",
|
9 | "dist"
|
10 | ],
|
11 | "engines": {
|
12 | "node": ">=12.9.0"
|
13 | },
|
14 | "scripts": {
|
15 | "prepublishOnly": "npm run build",
|
16 | "build": "tsc",
|
17 | "pretest": "npm run build",
|
18 | "test": "npm run mocha",
|
19 | "lint": "eslint --cache --fix lib/**",
|
20 | "mocha": "USE_MONGODB=true mocha --reporter spec --timeout 8000 --exit -b",
|
21 | "premocha-debug": "npm run build",
|
22 | "mocha-debug": "USE_MONGODB=true DEBUG=agenda:**,-agenda:internal:** mocha --reporter spec --timeout 8000 -b",
|
23 | "premocha-debug-internal": "npm run build",
|
24 | "mocha-debug-internal": "USE_MONGODB=true DEBUG=agenda:internal:** mocha --reporter spec --timeout 8000 -b",
|
25 | "premocha-debug-all": "npm run build",
|
26 | "mocha-debug-all": "USE_MONGODB=true DEBUG=agenda:** mocha --reporter spec --timeout 8000 -b",
|
27 | "postversion": "npm run docs",
|
28 | "predocs": "npm run build",
|
29 | "docs": "jsdoc --configure .jsdoc.json --verbose ./dist"
|
30 | },
|
31 | "config": {
|
32 | "blanket": {
|
33 | "pattern": "lib",
|
34 | "data-cover-never": "node_modules"
|
35 | }
|
36 | },
|
37 | "repository": {
|
38 | "type": "git",
|
39 | "url": "git://github.com/agenda/agenda"
|
40 | },
|
41 | "keywords": [
|
42 | "job",
|
43 | "jobs",
|
44 | "cron",
|
45 | "delayed",
|
46 | "scheduler",
|
47 | "runner"
|
48 | ],
|
49 | "author": "Ryan Schmukler <ryan@slingingcode.com> (http://slingingcode.com/)",
|
50 | "license": "MIT",
|
51 | "bugs": {
|
52 | "url": "https://github.com/agenda/agenda/issues"
|
53 | },
|
54 | "dependencies": {
|
55 | "cron-parser": "^3.0.0",
|
56 | "date.js": "~0.3.3",
|
57 | "debug": "~4.3.0",
|
58 | "human-interval": "~2.0.0",
|
59 | "moment-timezone": "~0.5.37",
|
60 | "mongodb": "^4.1.0"
|
61 | },
|
62 | "devDependencies": {
|
63 | "@types/debug": "4.1.5",
|
64 | "@types/human-interval": "1.0.0",
|
65 | "@typescript-eslint/eslint-plugin": "4.29.0",
|
66 | "@typescript-eslint/parser": "4.29.0",
|
67 | "blanket": "1.2.3",
|
68 | "coveralls": "3.1.1",
|
69 | "delay": "5.0.0",
|
70 | "eslint": "7.32.0",
|
71 | "eslint-config-prettier": "8.3.0",
|
72 | "esm": "3.2.25",
|
73 | "expect.js": "0.3.1",
|
74 | "husky": "5.2.0",
|
75 | "jsdoc": "3.6.7",
|
76 | "jsdoc-template": "https://github.com/braintree/jsdoc-template",
|
77 | "lint-staged": "10.5.4",
|
78 | "mocha": "8.4.0",
|
79 | "mocha-lcov-reporter": "1.3.0",
|
80 | "mongodb-memory-server": "7.3.4",
|
81 | "prettier": "2.3.2",
|
82 | "sinon": "11.1.2",
|
83 | "typescript": "4.3.5"
|
84 | },
|
85 | "eslintConfig": {
|
86 | "extends": [
|
87 | "plugin:@typescript-eslint/recommended",
|
88 | "prettier"
|
89 | ],
|
90 | "rules": {
|
91 | "@typescript-eslint/ban-ts-comment": "warn",
|
92 | "prefer-const": "warn",
|
93 | "@typescript-eslint/no-non-null-assertion": "off"
|
94 | }
|
95 | },
|
96 | "husky": {
|
97 | "hooks": {
|
98 | "pre-commit": "lint-staged"
|
99 | }
|
100 | },
|
101 | "lint-staged": {
|
102 | "*.ts": "eslint --cache --fix",
|
103 | "*.{ts,js,css,md}": "prettier --write"
|
104 | }
|
105 | }
|