forked from sourcefuse/loopback4-ratelimiter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.6 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
{
"name": "loopback4-ratelimiter",
"version": "2.2.0",
"description": "A rate limiting extension for loopback-next APIs",
"keywords": [
"loopback-extension",
"loopback"
],
"main": "index.js",
"engines": {
"node": ">=8.9"
},
"scripts": {
"build": "npm run clean && lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean dist *.tsbuildinfo",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write",
"eslint": "lb-eslint --report-unused-disable-directives .",
"eslint:fix": "npm run eslint -- --fix",
"pretest": "npm run clean && npm run build",
"test": "echo \"No test specified\"",
"posttest": "npm run lint",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest",
"prepublishOnly": "npm run test && npm run lint",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/sourcefuse/loopback4-ratelimiter"
},
"author": "",
"license": "MIT",
"files": [
"README.md",
"index.js",
"index.d.ts",
"dist",
"src",
"!*/__tests__"
],
"dependencies": {
"@loopback/boot": "^3.4.0",
"@loopback/context": "^3.16.0",
"@loopback/core": "^2.16.0",
"@loopback/repository": "^3.6.0",
"@loopback/rest": "^9.3.0",
"express-rate-limit": "^5.1.3",
"loopback-connector-kv-redis": "^4.0.0",
"memcached": "^2.2.2",
"rate-limit-memcached": "^0.6.0",
"rate-limit-mongo": "^2.3.1",
"rate-limit-redis": "^2.1.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@loopback/build": "^6.4.0",
"@loopback/eslint-config": "^10.2.0",
"@loopback/testlab": "^3.4.0",
"@types/express-rate-limit": "^5.0.0",
"@types/memcached": "^2.2.6",
"@types/node": "^10.17.60",
"@types/rate-limit-redis": "^1.7.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-plugin": "^3.0.2",
"eslint-plugin-mocha": "^8.1.0",
"husky": "^7.0.1",
"source-map-support": "^0.5.19",
"typescript": "~4.2.4"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
}
}