-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 1.97 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
{
"name": "counter-sliding-window",
"version": "2.0.0",
"main": "index.js",
"keywords": [
"sliding-window",
"sliding-window-redis",
"sliding-window-counter",
"counter"
],
"author": "Assaf Kamil <assafkamil@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/Geekoosh/counter-sliding-window"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"./*": {
"types": "./dist/*/index.d.ts",
"require": "./dist/cjs/*.js",
"import": "./dist/esm/*.js"
}
},
"files": [
"/dist"
],
"types": "dist/index.d.ts",
"license": "MIT",
"scripts": {
"prepare": "husky install",
"lint": "npx eslint . --ext .ts",
"lint:fix": "npm run lint -- --fix",
"prettier": "npx prettier --config .prettierrc '**/*.ts' --check",
"prettier:fix": "npm run prettier -- --write",
"prebuild": "rimraf dist",
"build:types": "tsc -p tsconfig.types.json",
"build:cjs": "tsc -p tsconfig.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
"test": "jest --coverage",
"prepublishOnly": "npm run build",
"publish:np": "np"
},
"devDependencies": {
"@types/jest": "^27.5.1",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.0",
"jest": "^28.1.0",
"license": "^1.0.3",
"lint-staged": "^12.4.1",
"np": "^7.6.2",
"prettier": "^2.6.2",
"testcontainers": "^8.11.1",
"ts-jest": "^28.0.2",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
},
"lint-staged": {
"*.ts": [
"npm run lint:fix",
"bash -c tsc --noEmit",
"npm run test"
]
},
"dependencies": {
"ioredis": "^5.1.0",
"redis": "^4.1.1"
}
}