forked from taskforcesh/bullmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
210 lines (210 loc) · 6.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "bullmq",
"version": "4.6.3",
"description": "Queue for messages and jobs based on Redis",
"homepage": "https://bullmq.io/",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"source": "./src/index.ts",
"author": "Taskforce.sh Inc.",
"license": "MIT",
"keywords": [
"bull",
"bullmq",
"queues",
"jobs",
"redis"
],
"files": [
"dist"
],
"scripts": {
"build": "npm-run-all pretest tsc:all copy:main:type clean:temp:files copy:lua copy:includes:lua",
"circular:references": "madge --circular --extensions ts ./src",
"clean:scripts": "rimraf rawScripts src/scripts",
"clean:temp:files": "rimraf dist/cjs/bullmq.d.ts dist/esm/bullmq.d.ts dist/tsdoc-metadata.json",
"copy:includes:lua": "copyfiles -f ./src/commands/includes/*.lua ./dist/cjs/commands/includes && copyfiles -f ./src/commands/includes/*.lua ./dist/esm/commands/includes",
"copy:lua": "copyfiles -f ./src/commands/*.lua ./dist/cjs/commands && copyfiles -f ./src/commands/*.lua ./dist/esm/commands",
"copy:lua:python": "copyfiles -f ./rawScripts/*.lua ./python/bullmq/commands",
"copy:main:type": "copyfiles -f ./dist/esm/classes/main.d.ts ./dist/esm/classes/main-worker.d.ts ./dist/cjs/classes",
"coverage": "nyc --reporter=text --reporter=lcovonly yarn test",
"cm": "git cz",
"docs": "typedoc --excludeExternals --excludeProtected --excludePrivate --readme none src/index.ts",
"dc:up": "docker-compose -f docker-compose.yml up -d",
"dc:down": "docker-compose -f docker-compose.yml down",
"dry-run": "npm publish --dry-run",
"eslint:fix": "./node_modules/.bin/eslint . --ignore-path ./.eslintignore --fix",
"generate:raw:scripts": "ts-node --project tsconfig-cjs.json generateRawScripts.ts",
"lint": "./node_modules/.bin/eslint . --ignore-path ./.eslintignore",
"lint:staged": "lint-staged",
"prepublishOnly": "yarn build",
"prepare": "husky install",
"pretest": "npm-run-all clean:scripts generate:raw:scripts transform:commands",
"prettier": "prettier --config package.json src/**/*.ts",
"pretty:quick": "pretty-quick --ignore-path ./.eslintignore --staged",
"semantic-release": "semantic-release",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"test": "ts-mocha -p tsconfig-cjs.json --config ./.mocharc.js",
"test:watch": "ts-mocha -p tsconfig-cjs.json --paths 'tests/test_*.ts' -w --watch-extensions ts",
"transform:commands": "node ./commandTransform.js ./rawScripts ./src/scripts",
"tsc": "tsc",
"tsc:all": "tsc && tsc -p tsconfig-cjs.json"
},
"dependencies": {
"cron-parser": "^4.6.0",
"glob": "^8.0.3",
"ioredis": "^5.3.2",
"lodash": "^4.17.21",
"msgpackr": "^1.6.2",
"semver": "^7.5.4",
"tslib": "^2.0.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.5",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/glob": "^7.2.0",
"@types/lodash.defaults": "^4.2.7",
"@types/lodash.isarguments": "^3.1.7",
"@types/mocha": "^5.2.7",
"@types/msgpack": "^0.0.31",
"@types/node": "^12.20.25",
"@types/semver": "^7.3.9",
"@types/sinon": "^7.5.2",
"@types/uuid": "^3.4.10",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^5.33.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"commitizen": "^4.2.5",
"copyfiles": "^2.4.1",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-tsdoc": "^0.2.16",
"husky": "^8.0.1",
"istanbul": "^0.4.5",
"lint-staged": "13.0.3",
"madge": "^5.0.1",
"mocha": "^10.0.0",
"mocha-lcov-reporter": "^1.3.0",
"moment": "^2.29.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rrule": "^2.6.9",
"semantic-release": "^19.0.3",
"sinon": "^15.1.0",
"test-console": "^2.0.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.7.0",
"typedoc": "^0.24.0",
"typescript": "^4.7.4"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"check-coverage": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"bullmq-tests/test_*.ts"
],
"lines": 80,
"functions": 80,
"branches": 70,
"statements": 80,
"watermarks": {
"lines": [
80,
95
],
"functions": [
80,
95
],
"branches": [
80,
95
],
"statements": [
80,
95
]
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts}": "yarn eslint:fix"
},
"repository": {
"type": "git",
"url": "https://github.com/taskforcesh/bullmq.git"
},
"release": {
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"scope": "python*",
"release": false
}
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "docs/gitbook/changelog.md"
}
],
[
"@semantic-release/npm",
{
"npmPublish": true
}
],
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"yarn.lock",
"docs/gitbook/changelog.md",
"docs/gitbook/api/**"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}