-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.45 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
{
"name": "redis-bucket",
"version": "2.0.0",
"description": "A Redis-backed leaky-bucket rate limiter",
"keywords": [
"redis",
"leaky-bucket",
"rate",
"limit",
"capacity"
],
"repository": {
"type": "git",
"url": "https://github.com/plsmphnx/redis-bucket.git"
},
"author": "Microsoft",
"license": "MIT",
"type": "module",
"main": "index.js",
"typings": "index.d.ts",
"files": [
"index.js",
"index.d.ts"
],
"devDependencies": {
"@princjef/tslint-config": "^2.0.2",
"@types/node": "^18.11.11",
"ava": "^5.1.0",
"c8": "^7.12.0",
"prettier": "^2.8.0",
"redis": "^4.5.1",
"terser": "^5.16.1",
"tslint": "^5.20.1",
"typescript": "^4.9.3"
},
"scripts": {
"lint": "tslint --project tsconfig.json --fix",
"lint:verify": "tslint --project tsconfig.json",
"format": "prettier --write *",
"format:verify": "prettier --check *",
"prebuild": "npm run lint && npm run format",
"prebuild:verify": "npm run lint:verify && npm run format:verify",
"build": "tsc && node embed",
"build:verify": "tsc && node embed minify && npm run minify",
"pretest": "npm run build",
"pretest:verify": "npm run build:verify",
"test": "c8 ava",
"test:verify": "c8 ava",
"minify": "terser index.js -o index.js --config-file terser.json",
"prepublishOnly": "npm run test:verify"
},
"c8": {
"100": true,
"exclude": [
"*.spec.*"
]
}
}